1
0
Fork 0
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:
Sam A. 2023-05-03 18:17:23 +02:00
parent cbdf6e9e17
commit 5245ca05f4
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -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