Skip to content
Snippets Groups Projects
user avatar
Sam Yates authored
* Add WITH_MPI CMake option to enable MPI code in application
* Use find_package(MPI) and set up flags, etc. for MPI
* Extra defines to disable the inclusion of C++ MPI headers for
  MPICH and OpenMPI.
* Fix signed/unsigned compare warning in algorithms.hpp
c3ad1c68

cell_algorithms

# clone repo
git clone git@github.com:eth-cscs/cell_algorithms.git
cd cell_algorithms/

# setup sub modules
git submodule init
git submodule update

# setup environment
module load gcc 
module load cmake
export CC=`which gcc`
export CXX=`which g++`

# build main project (out-of-tree)
mkdir build
cd build
cmake ..
make -j

# test
cd tests
./test.exe