In the directory now containing your alock repo, download our internal RDMA library, remus, which can be found at https://github.com/sss-lehigh/remus.git.
Create a cloudlab experiment, or add your own cluster information to the $user, $machines and $domain variables in setup.sh.
cd remus/tools sh install.sh
cd alock
bash setup.sh
Edit parameters in "alock/exp.conf".
Create build directory.
mkdir build
cd build
Generate build system.
cmake -DCMAKE_PREFIX_PATH=/opt/remus/lib/cmake -DCMAKE_MODULE_PATH=/opt/remus/lib/cmake ..
Build.
make -j
Use below flags to update log level.
cmake -DLOG_LEVEL=INFO ..
Recommended levels in increasing information order: -DLOG_LEVEL=INFO -DLOG_LEVEL=DEBUG -DLOG_LEVEL=TRACE
-DCMAKE_BUILD_TYPE=Release (-o3)
-DCMAKE_BUILD_TYPE=Debug (-g) -DCMAKE_BUILD_TYPE=RelWithDebInfo (-o3 and -g)
Update exp.conf to desired experiment parameters.
bash run.sh
bash exp_run.sh