Skip to content

Commit

Permalink
toolchain for Cheyenne intel (#6)
Browse files Browse the repository at this point in the history
* toolchain for Cheyenne intel

* Orion toolchain

* reviewer comments
  • Loading branch information
Mark Miesch authored Oct 14, 2020
1 parent 57a1b12 commit 2d96899
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cmake/Toolchains/jcsda-Cheyenne-Intel.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
####################################################################
# Compiler flags
####################################################################

set( CMAKE_CXX_FLAGS "-gxx-name=/glade/u/apps/ch/opt/gnu/9.1.0/bin/g++" CACHE STRING "gnu headers for c++14" FORCE )
set( CMAKE_EXE_LINKER_FLAGS "-gxx-name=/glade/u/apps/ch/opt/gnu/9.1.0/bin/g++ -Wl,-rpath,/glade/u/apps/ch/opt/gnu/9.1.0/lib64" CACHE STRING "gnu headers for c++14" FORCE )
set( CMAKE_SHARED_LINKER_FLAGS "-gxx-name=/glade/u/apps/ch/opt/gnu/9.1.0/bin/g++ -Wl,-rpath,/glade/u/apps/ch/opt/gnu/9.1.0/lib64" CACHE STRING "gnu headers for c++14" FORCE )

####################################################################
# Options
####################################################################

set( ENABLE_AEC OFF CACHE STRING "Disable AEC" FORCE )
12 changes: 12 additions & 0 deletions cmake/Toolchains/jcsda-Orion-Intel.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
####################################################################
# MPI
####################################################################

set( MPIEXEC_EXECUTABLE "/opt/slurm/bin/srun" CACHE STRING "srun executable for Orion" FORCE )
set( MPIEXEC_NUMPROC_FLAG "-n" CACHE STRING "NUMPROC Flag for srun" FORCE )

####################################################################
# Options
####################################################################

set( ENABLE_AEC OFF CACHE STRING "Disable AEC" FORCE )

0 comments on commit 2d96899

Please sign in to comment.