Skip to content
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.

Compiling dumpi-cortex

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

Continue the tutorial...

Clone this wiki locally