Skip to content

licit-lab/HiPOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HiPOP

High Performance Optimal Path module

Install Hipop

HiPOP is the C++ graph library used by MnMS. You must have CMake and make installed on your computer.

C++ only

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

Python

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/