diff --git a/cime_config/machines/cmake_macros/crayclang-scream_frontier-scream-gpu.cmake b/cime_config/machines/cmake_macros/crayclang-scream_frontier-scream-gpu.cmake index afcca8f479e..cc90b369244 100644 --- a/cime_config/machines/cmake_macros/crayclang-scream_frontier-scream-gpu.cmake +++ b/cime_config/machines/cmake_macros/crayclang-scream_frontier-scream-gpu.cmake @@ -19,7 +19,7 @@ endif() string(APPEND CMAKE_Fortran_FLAGS " -hipa0 -hzero -f free") -string(APPEND CMAKE_EXE_LINKER_FLAGS " -L$ENV{ROCM_PATH}/lib -lamdhip64") +string(APPEND CMAKE_EXE_LINKER_FLAGS " -L$ENV{ROCM_PATH}/lib -lamdhip64 -L/opt/gcc/12.2.0/snos/lib64") string(APPEND CMAKE_CXX_FLAGS " -I$ENV{ROCM_PATH}/include") # Crusher: this resolves a crash in mct in docn init diff --git a/cime_config/machines/config_machines.xml b/cime_config/machines/config_machines.xml index 5c6caed992c..e5faf4a6d27 100644 --- a/cime_config/machines/config_machines.xml +++ b/cime_config/machines/config_machines.xml @@ -1444,6 +1444,8 @@ PrgEnv-cray craype-accel-amd-gfx90a rocm/5.4.0 + ums/default + ums002/default libunwind/1.6.2 diff --git a/components/eamxx/src/share/io/scream_scorpio_types.hpp b/components/eamxx/src/share/io/scream_scorpio_types.hpp index 645b1b26937..3b16cebc06c 100644 --- a/components/eamxx/src/share/io/scream_scorpio_types.hpp +++ b/components/eamxx/src/share/io/scream_scorpio_types.hpp @@ -5,6 +5,7 @@ #include #include #include +#include namespace scream { namespace scorpio {