High Performance Optimal Path module
HiPOP is the C++ graph library used by MnMS.
You must have CMake and make installed on your computer.
If you are using MacOS ARM64, install the openmp library using Homebrew:
brew install libompInside your conda environment go to the cpp folder, and install the code using cmake:
cd cpp
mkdir build
cd build
cmake .. -DCMAKE_PREFIX_PATH=<PREFIX>\
-DCMAKE_INSTALL_PREFIX=<PREFIX>\
-DCMAKE_BUILD_TYPE=Release\
-DBUILD_TESTS=ON
cmake --build . --target install --config ReleaseWhere <PREFIX> is the path to your prefix.
If you used conda to install the dependencies, replace it by $CONDA_PREFIX.
If you used venv to install the dependencies, replace it by the path to your venv.
You can then lauch the tests in the build directory:
ctest --output-on-failureTo install C++ code use the script install_cpp.py:
python python/install_cpp.py Then install the python lib:
python -m pip install python/