mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-11-25 22:37:55 +00:00
Add -k to run.sh
This commit is contained in:
parent
cbdf6e9e17
commit
5245ca05f4
|
@ -2,6 +2,11 @@
|
|||
|
||||
cd MP-SPDZ
|
||||
|
||||
if [[ $1 == "-k" ]]; then
|
||||
killall semi-party.x
|
||||
exit $?
|
||||
fi
|
||||
|
||||
for i in $(seq 0 2); do
|
||||
eval ".//semi-party.x -N 3 -p $i gale_shapley > ../out-p$i.txt 2>&1 &"
|
||||
./semi-party.x -N 3 -p "$i" gale_shapley > "../out-p$i.txt" 2>&1 &
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue