Clone wiki

GHOST / Dependencies

Zoltan

'CFLAGS="-fPIC" CXXFLAGS="-fPIC" LDFLAGS="-fPIC" CPPFLAGS="-fPIC" ../configure --prefix=<PREFIX> --with-id-type=ullong

hwloc

Cross-compile hwloc for Intel MIC:

./configure --prefix=$HOME/local/mic/ CC=icc CXX=icpc CFLAGS="-mmic" CXXFLAGS="-mmic" --host=x86_64-unknown-linux-gnu

SCOTCH

Proceed as follows (set INTSIZE to match to GHOST global index size) in order to install SCOTCH on the RRZE systems:

export INTSIZE=64
module load intel64
wget https://gforge.inria.fr/frs/download.php/31831/scotch_6.0.3.tar.gz
tar -xzf scotch_6.0.3.tar.gz
cd scotch_6.0.3/src/
wget https://bitbucket.org/essex/ghost/wiki/hdgraph_gather-no-global-gatherv.patch
patch libscotch/hdgraph_gather.c < hdgraph_gather-no-global-gatherv.patch
cp Make.inc/Makefile.inc.x86-64_pc_linux2.icc Make.inc/Makefile.inc.x86-64_pc_linux2_rrze.icc
sed -i '/^CCD/ s#$#'" -I${MPIINCDIR}"'#' Make.inc/Makefile.inc.x86-64_pc_linux2_rrze.icc
sed -i '/^CFLAGS/ s#$#'" -DINTSIZE${INTSIZE} -DNO_GLOBAL_GATHERV -fPIC"'#' Make.inc/Makefile.inc.x86-64_pc_linux2_rrze.icc
sed -i "s/IDXSIZE../IDXSIZE${INTSIZE}/g" Make.inc/Makefile.inc.x86-64_pc_linux2_rrze.icc
ln -s Make.inc/Makefile.inc.x86-64_pc_linux2_rrze.icc Makefile.inc
make scotch ptscotch
mkdir $HOME/local/scotch-${INTSIZE}/
make prefix=$HOME/local/scotch-${INTSIZE}/ install

Updated