From d4b7f47bb6386213c0603ecb6a39b22ff2db1d24 Mon Sep 17 00:00:00 2001 From: Youngsung Kim Date: Tue, 12 Nov 2024 16:06:07 -0500 Subject: [PATCH] Update machine and compiler files for Frontier - Recover ADIOS support - Load libfabric/1.15.2.0 module - Fix typos in configuration files --- .../machines/cmake_macros/amdclanggpu_frontier.cmake | 2 -- .../machines/cmake_macros/crayclanggpu_frontier.cmake | 2 -- .../machines/cmake_macros/gnugpu_frontier.cmake | 1 - cime_config/machines/config_machines.xml | 11 ++++------- 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/cime_config/machines/cmake_macros/amdclanggpu_frontier.cmake b/cime_config/machines/cmake_macros/amdclanggpu_frontier.cmake index 4412ea0de7b3..1deebdac85dc 100644 --- a/cime_config/machines/cmake_macros/amdclanggpu_frontier.cmake +++ b/cime_config/machines/cmake_macros/amdclanggpu_frontier.cmake @@ -13,8 +13,6 @@ string(APPEND CMAKE_C_FLAGS_RELEASE " -O2") string(APPEND CMAKE_CXX_FLAGS_RELEASE " -O2") string(APPEND CMAKE_Fortran_FLAGS_RELEASE " -O2") -string(APPEND SPIO_CMAKE_OPTS " -DPIO_ENABLE_TOOLS:BOOL=OFF") - string(APPEND CMAKE_CXX_FLAGS " --offload-arch=gfx90a") string(APPEND CMAKE_EXE_LINKER_FLAGS " -L$ENV{CRAY_MPICH_ROOTDIR}/gtl/lib -lmpi_gtl_hsa") string(APPEND CMAKE_EXE_LINKER_FLAGS " -L/opt/cray/pe/gcc/12.2.0/snos/lib64 -lgfortran -lstdc++") diff --git a/cime_config/machines/cmake_macros/crayclanggpu_frontier.cmake b/cime_config/machines/cmake_macros/crayclanggpu_frontier.cmake index a37ccde439e5..92567416c56c 100644 --- a/cime_config/machines/cmake_macros/crayclanggpu_frontier.cmake +++ b/cime_config/machines/cmake_macros/crayclanggpu_frontier.cmake @@ -52,8 +52,6 @@ endif() # https://github.com/E3SM-Project/E3SM/pull/5208 string(APPEND CMAKE_Fortran_FLAGS " -hipa0 -hzero -em -ef -hnoacc") -string(APPEND SPIO_CMAKE_OPTS " -DPIO_ENABLE_TOOLS:BOOL=OFF") - string(APPEND CMAKE_CXX_FLAGS " --offload-arch=gfx90a") string(APPEND CMAKE_EXE_LINKER_FLAGS " -L$ENV{CRAY_MPICH_ROOTDIR}/gtl/lib -lmpi_gtl_hsa") string(APPEND CMAKE_EXE_LINKER_FLAGS " -L$ENV{ROCM_PATH}/lib -lamdhip64") diff --git a/cime_config/machines/cmake_macros/gnugpu_frontier.cmake b/cime_config/machines/cmake_macros/gnugpu_frontier.cmake index 6ca4b83d9c2f..7a29a5ca1546 100644 --- a/cime_config/machines/cmake_macros/gnugpu_frontier.cmake +++ b/cime_config/machines/cmake_macros/gnugpu_frontier.cmake @@ -14,7 +14,6 @@ string(APPEND CMAKE_Fortran_FLAGS " -Wno-implicit-interface") string(APPEND CMAKE_C_FLAGS_RELEASE " -O2") string(APPEND CMAKE_CXX_FLAGS_RELEASE " -O2") string(APPEND CMAKE_Fortran_FLAGS_RELEASE " -O2") -string(APPEND SPIO_CMAKE_OPTS " -DPIO_ENABLE_TOOLS:BOOL=OFF") string(APPEND CMAKE_CXX_FLAGS " --offload-arch=gfx90a") string(APPEND CMAKE_EXE_LINKER_FLAGS " -L$ENV{CRAY_MPICH_ROOTDIR}/gtl/lib -lmpi_gtl_hsa") diff --git a/cime_config/machines/config_machines.xml b/cime_config/machines/config_machines.xml index fa1d767fbb5d..8d210436c436 100644 --- a/cime_config/machines/config_machines.xml +++ b/cime_config/machines/config_machines.xml @@ -1069,7 +1069,7 @@ /usr/share/lmod/lmod/libexec/lmod python - Core/24.07 + Core Core/24.07 PrgEnv-cray PrgEnv-cray/8.3.3 cce cce/15.0.1 @@ -1082,7 +1082,7 @@ - Core/24.07 + Core Core/24.07 PrgEnv-cray PrgEnv-amd/8.3.3 amd amd/5.4.0 @@ -1091,7 +1091,7 @@ - Core/24.07 + Core Core/24.07 PrgEnv-cray PrgEnv-gnu/8.3.3 gcc gcc/12.2.0 @@ -1106,6 +1106,7 @@ subversion git zlib + libfabric/1.15.2.0 cray-hdf5-parallel/1.12.2.1 cray-netcdf-hdf5parallel/4.9.0.1 cray-parallel-netcdf/1.12.3.1 @@ -1139,9 +1140,6 @@ spread threads -