Skip to content

GarminQ/PADER

Repository files navigation

PADER

Environment Preparation

Install Dependency Libraries

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.

Build paillillercryptolib

Please refer to the official documentation of pailliercryptolib for building and ensure placing the generated files in the correct location:

./ipcl/lib/ipcl

Building the Project

Create Build Directory

Create and navigate into a new build directory from the root of the project:

mkdir build
cd build

Configure the Project

Use CMake to configure the project:

cmake ..

Build the Project

Execute the compilation command to build the project:

make

Running Examples

Switch to the directory containing the build outputs:

cd ./build/Linux-GCC-Release/decentralized_rec

Set Thread Count

Set the number of threads for OpenMP (e.g., 8 threads):

export OMP_NUM_THREADS=8

Run Benchmark Tests

nohup ./decentralized_rec/protocolBenchmark > benchmark.log &

Run Real Dataset Tests

Run PADER

nohup ./protocolRun natural > natural.log &

Run Bipartile

nohup ./protocolRun bipartile > bipartile.log &

About

Implementation of PADER

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published