Skip to content

Commit 0d8f608

Browse files
authored
Merge pull request #382 from E3SM-Project/jgfouca/add_more_machines
Add some more machine files
2 parents 5624615 + 092d6e1 commit 0d8f608

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Load epyc arch and openmp backend for kokkos
2+
include (${CMAKE_CURRENT_LIST_DIR}/kokkos/amd-zen2.cmake)
3+
include (${CMAKE_CURRENT_LIST_DIR}/kokkos/openmp.cmake)
4+
5+
include (${CMAKE_CURRENT_LIST_DIR}/mpi/srun.cmake)

cmake/machine-files/compy.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Load epyc arch and openmp backend for kokkos
2+
include (${CMAKE_CURRENT_LIST_DIR}/kokkos/intel-skx.cmake)
3+
include (${CMAKE_CURRENT_LIST_DIR}/kokkos/openmp.cmake)
4+
5+
set(EKAT_MPI_NP_FLAG "-p short --mpi=pmi2 -n" CACHE STRING "" FORCE)

cmake/machine-files/pm-cpu.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Load Broadwell flags and openmp backend for kokkos
22
include (${CMAKE_CURRENT_LIST_DIR}/kokkos/amd-zen3.cmake)
3+
include (${CMAKE_CURRENT_LIST_DIR}/kokkos/openmp.cmake)
34
include (${CMAKE_CURRENT_LIST_DIR}/mpi/srun.cmake)

cmake/machine-files/pm-gpu.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include (${CMAKE_CURRENT_LIST_DIR}/kokkos/nvidia-a100.cmake)
2+
include (${CMAKE_CURRENT_LIST_DIR}/kokkos/cuda.cmake)
3+
include (${CMAKE_CURRENT_LIST_DIR}/mpi/srun.cmake)

0 commit comments

Comments
 (0)