High Performance Optimal Path module
HiPOP is the C++ graph library used by MnMS.
You must have CMake
and make
installed on your computer.
Inside 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 Release
Where <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-failure
To install C++ code use the script install_cpp.py
:
python python/install_cpp.py
Then install the python lib:
python -m pip install python/