Skip to content

Building On Stampede 1.5

Cameron Smith edited this page Aug 30, 2016 · 1 revision

Documentation

https://portal.tacc.utexas.edu/user-guides/stampede-knl-quickstart

https://portal.tacc.utexas.edu/user-guides/stampede-knl-quickstart/knl-docs

Setup

module load cmake git

Configure

#!/bin/bash -ex
src=/work/02422/cwsmith/phastaShared/
opt="-g -O3 -xMIC-AVX512 -static-intel"
cmake \
-DCMAKE_C_COMPILER=mpicc \
-DCMAKE_CXX_COMPILER=mpicxx \
-DCMAKE_Fortran_COMPILER=mpif90 \
\
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_C_FLAGS="$opt" \
-DCMAKE_CXX_FLAGS="$opt" \
-DCMAKE_Fortran_FLAGS="$opt" \
-DCMAKE_EXE_LINKER_FLAGS="$opt" \
\
-DPHASTA_SRC_DIR=$src/phastaChef/phasta \
-DPHASTA_INCOMPRESSIBLE=OFF \
-DPHASTA_COMPRESSIBLE=ON \
-DPHASTA_USE_SVLS=OFF \
-DPHASTA_USE_PETSC=OFF \
-DPHASTA_TESTING=ON \
-DCASES=$src/phastaChef/phastaChefTests \
\
-DCORE_SRC_DIR=$src/phastaChef/core \
-DPCU_COMPRESS=ON \
-DENABLE_ZOLTAN=OFF \
-DIS_TESTING=True \
-DMESHES=$src/phastaChef/meshes \
\
$src/phastaChef