-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'azamat/machines/sunspot20240816' (PR #6553)
Update ALCF Sunspot and Aurora machine configs. [BFB]
- Loading branch information
Showing
12 changed files
with
103 additions
and
63 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
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 |
---|---|---|
@@ -1,14 +1,5 @@ | ||
|
||
set(CPPDEFS "${CPPDEFS} -DMPAS_OPENMP_OFFLOAD") | ||
list(APPEND MPAS_ADD_ACC_FLAGS | ||
${CMAKE_BINARY_DIR}/core_seaice/shared/mpas_seaice_mesh_pool.f90 | ||
${CMAKE_BINARY_DIR}/core_seaice/shared/mpas_seaice_velocity_solver_variational.f90 | ||
${CMAKE_BINARY_DIR}/core_seaice/shared/mpas_seaice_velocity_solver.f90 | ||
) | ||
|
||
foreach(ITEM IN LISTS MPAS_ADD_ACC_FLAGS) | ||
e3sm_add_flags("${ITEM}" "-fiopenmp -fopenmp-targets=spir64") | ||
endforeach() | ||
|
||
# compile mpas_seaice_core_interface.f90 with ifort, not ifx | ||
e3sm_add_flags("${CMAKE_BINARY_DIR}/core_seaice/model_forward/mpas_seaice_core_interface.f90" "-fc=ifort") | ||
if (NOT MPILIB STREQUAL "openmpi") | ||
e3sm_add_flags("${CMAKE_BINARY_DIR}/core_seaice/model_forward/mpas_seaice_core_interface.f90" "-fc=ifort") | ||
endif() |
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
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
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
7 changes: 7 additions & 0 deletions
7
cime_config/machines/cmake_macros/oneapi-ifxgpu_sunspot.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,7 @@ | ||
|
||
string(APPEND CMAKE_EXE_LINKER_FLAGS " -lmkl_intel_lp64 -lmkl_sequential -lmkl_core") | ||
if (compile_threaded) | ||
string(APPEND CMAKE_EXE_LINKER_FLAGS " -fiopenmp -fopenmp-targets=spir64") | ||
endif() | ||
string(APPEND SYCL_FLAGS " -\-intel -fsycl -fsycl-targets=spir64_gen -mlong-double-64 -Xsycl-target-backend \"-device 12.60.7\"") | ||
string(APPEND CMAKE_CXX_FLAGS " -Xclang -fsycl-allow-virtual-functions") |
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
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
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,14 @@ | ||
include(${CMAKE_CURRENT_LIST_DIR}/common.cmake) | ||
common_setup() | ||
|
||
include (${EKAT_MACH_FILES_PATH}/kokkos/serial.cmake) | ||
include (${EKAT_MACH_FILES_PATH}/mpi/other.cmake) | ||
|
||
set(EKAT_MPIRUN_EXE "mpiexec" CACHE STRING "" FORCE) | ||
set(EKAT_MPI_NP_FLAG "-np" CACHE STRING "" FORCE) | ||
set(EKAT_MPI_EXTRA_ARGS "--label --cpu-bind depth -envall" CACHE STRING "") | ||
set(EKAT_MPI_THREAD_FLAG "-d" CACHE STRING "") | ||
|
||
set(NETCDF_C_PATH "$ENV{NETCDF_C_PATH}") | ||
set(NETCDF_FORTRAN_PATH "$ENV{NETCDF_FORTRAN_PATH}") | ||
set(PNETCDF_PATH "$ENV{PNETCDF_PATH}") |
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 @@ | ||
include(${CMAKE_CURRENT_LIST_DIR}/common.cmake) | ||
common_setup() | ||
|
||
include (${EKAT_MACH_FILES_PATH}/kokkos/serial.cmake) | ||
include (${EKAT_MACH_FILES_PATH}/mpi/other.cmake) | ||
|
||
set(EKAT_MPIRUN_EXE "mpiexec" CACHE STRING "" FORCE) | ||
set(EKAT_MPI_NP_FLAG "-np" CACHE STRING "" FORCE) | ||
set(EKAT_MPI_EXTRA_ARGS "--label --cpu-bind depth -envall" CACHE STRING "") | ||
set(EKAT_MPI_THREAD_FLAG "-d" CACHE STRING "") |
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
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