Last active
December 31, 2015 17:38
-
-
Save johntfoster/c79a5cefb3d9aefa34e8 to your computer and use it in GitHub Desktop.
Cmake build script for Stampede
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| export JOHN="/home1/01809/jtfoster" | |
| rm -f CMakeCache.txt | |
| cmake \ | |
| -D CMAKE_INSTALL_PREFIX:PATH=$HOME/projects/Peridigm \ | |
| -D CMAKE_BUILD_TYPE:STRING=Release \ | |
| -D CMAKE_CXX_COMPILER:STRING="mpicxx" \ | |
| -D CMAKE_C_COMPILER:STRING="mpicc" \ | |
| -D CMAKE_CXX_FLAGS:STRING="-std=c++11 -O2 -Wall -ansi -Wno-long-long -fp-model precise -fp-model source -ip -xHost -I$JOHN/projects/netcdf/include" \ | |
| -D CMAKE_C_FLAGS:STRING="-O2 -Wall -ansi -Wno-long-long -fp-model precise -fp-model source -ip -xHost -I$JOHN/projects/netcdf/include" \ | |
| -D TRILINOS_DIR:PATH=$JOHN/projects/trilinos \ | |
| -D BOOST_ROOT:STRING=$JOHN/projects/boost \ | |
| .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment