-
Notifications
You must be signed in to change notification settings - Fork 0
home
Matthieu Dorier edited this page Oct 12, 2016
·
10 revisions
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.
Download the source code:
git clone [email protected]:mdorier/dumpi-cortex.git
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:
-DPYTHON_ROOT=/path/to/where/python/is/installed -DBOOST_ROOT=/path/to/where/boost/is/installed
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.