mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
20 lines
282 B
Bash
Executable File
20 lines
282 B
Bash
Executable File
#!/bin/bash
|
|
|
|
port=$[RANDOM+1024]
|
|
|
|
for i in 0 1 2; do
|
|
IFS=""
|
|
log="replicated-$*-$i"
|
|
IFS=" "
|
|
$prefix ./replicated-bin-party.x -p $i -pn $port $* 2>&1 |
|
|
{
|
|
if test $i = 0; then
|
|
tee -a logs/$log
|
|
else
|
|
cat >> logs/$log
|
|
fi
|
|
} & true
|
|
done
|
|
|
|
wait || exit 1
|