mirror of
https://github.com/samsapti/bachelor-project.git
synced 2024-11-22 04:47:53 +00:00
Fix scripts
This commit is contained in:
parent
91241dc526
commit
82757b8172
|
@ -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) $@
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue