-
Notifications
You must be signed in to change notification settings - Fork 2
Building on Rostam
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
module purge
module load CMake/3.4.1-GCCcore-4.9.3
module load GCC/4.9.3-2.25
module load ifort/2016.1.150-GCC-4.9.3-2.25
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/ifort/2016.1.150-GCC-4.9.3-2.25/bin/ifort -DCMAKE_C_COMPILER=/opt/eb/software/GCCcore/4.9.3/bin/gcc -DCMAKE_BUILD_TYPE=Release ..
make dgswem_hpx
module load GCC/4.9.3-2.25
/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
module load GCC/4.9.3-2.25
module load ifort/2016.1.150-GCC-4.9.3-2.25