1
0
Fork 0
mirror of https://github.com/samsapti/bachelor-project.git synced 2024-11-21 20:37:55 +00:00

Add missing step to README

This commit is contained in:
Sam A. 2023-05-15 00:16:40 +02:00
parent 17377b483b
commit 62b412016f
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -23,10 +23,11 @@ system. Make sure to have GNU Make installed.
as a submodule. as a submodule.
2. Navigate to `src/`. 2. Navigate to `src/`.
3. Run `make -j$(nproc)` to install dependencies and compile MP-SPDZ. 3. Run `make -j$(nproc)` to install dependencies and compile MP-SPDZ.
4. Run `./gen_data.sh 50` to randomly generate data for the computation. 4. Run `make gale_shapley.mpc` to compile the program.
5. Run `./run.sh` to run the computation with three MPC parties locally in the 5. Run `./gen_data.sh 50` to randomly generate data for the computation.
6. Run `./run.sh` to run the computation with three MPC parties locally in the
background. The computation will print output to `src/out-p${n}.txt` (`n = background. The computation will print output to `src/out-p${n}.txt` (`n =
party`, `./run.sh -k` to kill computation). #party`, `./run.sh -k` to kill computation).
### Summary ### Summary
@ -34,6 +35,7 @@ system. Make sure to have GNU Make installed.
git submodule update --init git submodule update --init
cd src/ cd src/
make -j$(nproc) make -j$(nproc)
make gale_shapley.mpc
./gen_data.sh 50 ./gen_data.sh 50
./run.sh ./run.sh
``` ```