Skip to content

Building on the RPI DRP

Cameron Smith edited this page Nov 28, 2016 · 8 revisions

environment file

create the file env-drp.sh with the following contents

module load \
  gcc/6.2.0_1 \
  mvapich2/2.0.1_1 \
  parmetis/4.0.3 \
  zoltan/3.8 \
  simmetrix/simModSuite \
  cmake

Source the file

source env-drp.sh

configure

create the file config-drp.sh with the following contents

cmake .. \
  -DCMAKE_C_COMPILER="mpicc" \
  -DCMAKE_CXX_COMPILER="mpicxx" \
  -DSIM_MPI="mvapich2" \
  -DENABLE_ZOLTAN=ON \
  -DCMAKE_INSTALL_PREFIX=$PWD/install/ \
  -DENABLE_SIMMETRIX=True \
  -DSIM_PARASOLID=True \
  -DPCU_COMPRESS=True \
  ..

make a build directory and go into it and run the configure script

mkdir build
cd build
source ../config-drp.sh

make

make -j8