mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-12-27 04:47:53 +00:00
Edit run.sh
This commit is contained in:
parent
55b8b5c622
commit
17377b483b
14
src/run.sh
14
src/run.sh
|
@ -1,12 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
PROG="semi2k-party.x"
|
||||
|
||||
if [[ $1 == "-k" ]]; then
|
||||
killall "$PROG"
|
||||
exit "$?"
|
||||
fi
|
||||
|
||||
cd "$(dirname "$0")/MP-SPDZ" || exit 1
|
||||
|
||||
if [[ $1 == "-k" ]]; then
|
||||
killall semi2k-party.x
|
||||
exit $?
|
||||
fi
|
||||
|
||||
for i in $(seq 0 2); do
|
||||
./semi2k-party.x -v -N 3 -p "$i" -e gale_shapley > "../out-p$i.txt" 2>&1 &
|
||||
"./$PROG" -v -N 3 -p "$i" -e gale_shapley > "../out-p$i.txt" 2>&1 &
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue