You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matthieu Dorier edited this page Oct 12, 2016
·
10 revisions
Tutorial
Installing
Required dependencies
dumpi-cortex requires DUMPI (which can be found here) and CMake (version 2.8 or greater).
If you want to enable Python support, you will need to install Python (version 2.x, not 3) from source, or use your package manager to install python-dev. You will also need to install boost_python.
Compile it (make sure your CC environment variable points to an MPI compiler):
cd dumpi-cortex
mkdir build
cd build
cmake .. -G "Unix Makefiles" -DDUMPI_ROOT:PATH=/path/to/dumpi -DCMAKE_INSTALL_PREFIX:PATH=/where/you/want/to/install
make
make install
To enable Python, add the following flags to your cmake command:
Cmake should detect the location of the Python and boost Python libraries and enable Python support. When compiling, you should obtain a libcortex-python.a file in addition to the normal libcortex.a and libcortex-mpich.a.