forked from E3SM-Project/scream
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request E3SM-Project#3003 from E3SM-Project/bartgol/eamxx/…
…test-all-ghci-snl-machines
- Loading branch information
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Common settings for our ghci images | ||
include(${CMAKE_CURRENT_LIST_DIR}/ghci.cmake) | ||
|
||
# Set SCREAM_MACHINE | ||
set(SCREAM_MACHINE ghci-openmp CACHE STRING "") | ||
|
||
# Set OpenMP backend | ||
set(EKAT_MACH_FILES_PATH ${CMAKE_CURRENT_LIST_DIR}/../../../../externals/ekat/cmake/machine-files) | ||
include (${EKAT_MACH_FILES_PATH}/kokkos/openmp.cmake) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Set Fortran flags | ||
set(CMAKE_Fortran_FLAGS "-fallow-argument-mismatch" CACHE STRING "Fortran compiler flags" FORCE) | ||
|
||
# Set the path to SCREAM input data | ||
set(SCREAM_INPUT_ROOT /projects/e3sm/inputdata CACHE PATH "Path to SCREAM input data" FORCE) | ||
|
||
# Set the path to BLAS/LAPACK libraries | ||
set(BLAS_LIBRARIES "/spack-installs/netlib-lapack/3.11.0/gcc/12.3.0/base/65x6uge/lib64/libblas.so" CACHE STRING "Path to BLAS library" FORCE) | ||
set(LAPACK_LIBRARIES "/spack-installs/netlib-lapack/3.11.0/gcc/12.3.0/base/65x6uge/lib64/liblapack.so" CACHE STRING "Path to LAPACK library" FORCE) | ||
|
||
# Let's catch usage of code deprecated in Kokkos 4 | ||
option (Kokkos_ENABLE_DEPRECATED_CODE_4 "" OFF) | ||
|
||
# We need to manage resources to spread across available cores/gpus | ||
option (EKAT_TEST_LAUNCHER_MANAGE_RESOURCES "" ON) |
This file contains 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