Skip to content

Commit

Permalink
Modulefile changes for NOAA Cloud Rocky 8 platforms (ufs-community#1129)
Browse files Browse the repository at this point in the history
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 <Natalie.Perlin@noaa.gov>
  • Loading branch information
natalie-perlin and Natalie Perlin authored Sep 25, 2024
1 parent 4212296 commit 1b01c64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 3 additions & 2 deletions modulefiles/build_noaacloud_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
7 changes: 0 additions & 7 deletions modulefiles/wflow_noaacloud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b01c64

Please sign in to comment.