1
0
Fork 0
mirror of https://github.com/samsapti/bachelor-project.git synced 2024-12-27 21:07:53 +00:00

Fix scripts

This commit is contained in:
Sam A. 2023-05-14 21:50:45 +02:00
parent 91241dc526
commit 82757b8172
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ ssl:
cd $(MP_SPDZ_PATH) && Scripts/setup-ssl.sh 3
%.mpc: _phony
python3 $(MP_SPDZ_PATH)/compile.py -R 64 -O $@
cd $(MP_SPDZ_PATH) && python3 compile.py -R 64 -O ../$@
%:
$(MAKE) -C $(MP_SPDZ_PATH) $@

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
cd MP-SPDZ
cd "$(dirname "$0")/MP-SPDZ" || exit 1
if [[ $1 == "-k" ]]; then
killall semi2k-party.x
@ -8,5 +8,5 @@ if [[ $1 == "-k" ]]; then
fi
for i in $(seq 0 2); do
./semi2k-party.x -N 3 -p "$i" -e gale_shapley > "../out-p$i.txt" 2>&1 &
./semi2k-party.x -v -N 3 -p "$i" -e gale_shapley > "../out-p$i.txt" 2>&1 &
done