Skip to content

Building on Rostam

Zach Byerly edited this page Feb 4, 2016 · 3 revisions

HPX Build Script

build_hpx_release_hardy.sh

LGD Build Script

build_lgd_release_hardy.sh

Build dgswem-hpx

Clone dgswem-hpx:

git clone -b dgswem-hpx git@github.com:foci/dgswem.git dgswem-hpx

cd dgswem-hpx

Create build directory:

mkdir build_release_hardy

cd build_release_hardy

Purge loaded modules:

module purge

module load GCC/4.9.3-2.25

module load CMake/3.4.1-GCCcore-4.9.3

cmake -DCMAKE_PREFIX_PATH=$HOME/local_install_hardy -DCMAKE_CXX_COMPILER=/opt/eb/software/GCCcore/4.9.3/bin/c++ -DCMAKE_Fortran_COMPILER=/opt/eb/software/GCCcore/4.9.3/bin/gfortran -DCMAKE_C_COMPILER=/opt/eb/software/GCCcore/4.9.3/bin/gcc -DCMAKE_BUILD_TYPE=Release ..

make dgswem_hpx

Run dgswem_hpx

/PATH/TO/dgswem-hpx/build/src/dgswem_hpx --hpx:print-counter=/threads{locality#0}/count/cumulative --hpx:ini=hpx.stacks.small_size=0x20000 --n_timesteps 1000 --hpx:threads 4

Clone this wiki locally