First, ensure that all necessary dependencies are installed in your environment. Specifically, follow the instructions to build the pailliercryptolib library and place the generated files in the ./ipcl/lib/ipcl directory of the project.
Please refer to the official documentation of pailliercryptolib for building and ensure placing the generated files in the correct location:
./ipcl/lib/ipcl
Create and navigate into a new build directory from the root of the project:
mkdir build
cd buildUse CMake to configure the project:
cmake ..Execute the compilation command to build the project:
makeSwitch to the directory containing the build outputs:
cd ./build/Linux-GCC-Release/decentralized_recSet the number of threads for OpenMP (e.g., 8 threads):
export OMP_NUM_THREADS=8nohup ./decentralized_rec/protocolBenchmark > benchmark.log &nohup ./protocolRun natural > natural.log &nohup ./protocolRun bipartile > bipartile.log &