From 1b01c644198637e4274638d35537f4d2294a6e00 Mon Sep 17 00:00:00 2001 From: Natalie Perlin <68030316+natalie-perlin@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:14:15 -0400 Subject: [PATCH] Modulefile changes for NOAA Cloud Rocky 8 platforms (#1129) Updated modulefiles to use NOAA Cloud Rocky8 platforms Files changed: * modulefiles/build_noaacloud_intel.lua (loading spack-stack procedure change) * modulefiles/wflow_noaacloud.lua Co-authored-by: Natalie Perlin --- modulefiles/build_noaacloud_intel.lua | 5 +++-- modulefiles/wflow_noaacloud.lua | 7 ------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/modulefiles/build_noaacloud_intel.lua b/modulefiles/build_noaacloud_intel.lua index dd774e8ed..b1a6adbbf 100644 --- a/modulefiles/build_noaacloud_intel.lua +++ b/modulefiles/build_noaacloud_intel.lua @@ -5,11 +5,12 @@ the NOAA cloud using Intel-oneapi whatis([===[Loads libraries needed for building the UFS SRW App on NOAA cloud ]===]) -prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core") +prepend_path("MODULEPATH", "/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/ue-intel/install/modulefiles/Core") prepend_path("MODULEPATH", "/apps/modules/modulefiles") -prepend_path("PATH", "/contrib/EPIC/bin") +load("gnu") load("stack-intel") load("stack-intel-oneapi-mpi") +unload("gnu") load("cmake/3.23.1") load("srw_common") diff --git a/modulefiles/wflow_noaacloud.lua b/modulefiles/wflow_noaacloud.lua index 5e0c0ca50..27fb8296c 100644 --- a/modulefiles/wflow_noaacloud.lua +++ b/modulefiles/wflow_noaacloud.lua @@ -10,13 +10,6 @@ load("rocoto") load("conda") -prepend_path("PATH","/contrib/EPIC/bin") - --- Add missing libstdc binary for Azure -if os.getenv("PW_CSP") == "azure" then - setenv("LD_PRELOAD","/opt/nvidia/nsight-systems/2023.1.2/host-linux-x64/libstdc++.so.6") -end - if mode() == "load" then LmodMsgRaw([===[Please do the following to activate conda: > conda activate srw_app