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 remote-tracking branch 'upstream/bartgol/eamxx/snl-gh-container…
…s' into bartgol/add-ghci-mach
- Loading branch information
Showing
5 changed files
with
56 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,10 @@ | ||
# 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/cuda.cmake) | ||
include (${EKAT_MACH_FILES_PATH}/kokkos/nvidia-v100.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,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,9 @@ | ||
# Common settings for our ghci images | ||
include(${CMAKE_CURRENT_LIST_DIR}/ghci.cmake) | ||
|
||
# Set SCREAM_MACHINE | ||
set(SCREAM_MACHINE ghci-serial 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/serial.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,12 @@ | ||
# 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) |
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