Skip to content

Commit

Permalink
Support UFS_UTILS on CSPs under Rocky 8 (ufs-community#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
weihuang-jedi authored Oct 9, 2024
1 parent 2e05b4d commit 2323761
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
17 changes: 7 additions & 10 deletions modulefiles/build.noaacloud.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ help([[
Load environment to compile UFS_UTILS on NOAA CSPs using Intel
]])

prepend_path("MODULEPATH", "/contrib/spack-stack/spack-stack-1.6.0/envs/unified-env/install/modulefiles/Core")

stack_intel_ver=os.getenv("stack_intel_ver") or "2021.3.0"
load(pathJoin("stack-intel", stack_intel_ver))

stack_impi_ver=os.getenv("stack_impi_ver") or "2021.3.0"
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))
prepend_path("MODULEPATH", "/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/ue-intel/install/modulefiles/Core")
prepend_path("MODULEPATH", "/apps/modules/modulefiles")
load("gnu")
load("stack-intel")
load("stack-intel-oneapi-mpi")
unload("gnu")
load("cmake/3.23.1")

load("common4noaacloud")

Expand Down
10 changes: 0 additions & 10 deletions modulefiles/common4noaacloud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ help([[
Load environment to compile UFS_UTILS on NOAA CSPs using Intel
]])

cmake_ver=os.getenv("cmake_ver") or "3.16.1"
load(pathJoin("cmake", cmake_ver))

hpc_intel_ver=os.getenv("hpc_intel_ver") or "2021.3.0"
load(pathJoin("intel", hpc_intel_ver))

impi_ver=os.getenv("impi_ver") or "2021.3.0"
load(pathJoin("impi", impi_ver))

bacio_ver=os.getenv("bacio_ver") or "2.4.1"
load(pathJoin("bacio", bacio_ver))

Expand Down Expand Up @@ -38,7 +29,6 @@ load(pathJoin("sigio", sigio_ver))

zlib_ver=os.getenv("zlib_ver") or "1.2.13"
load(pathJoin("zlib", zlib_ver))

png_ver=os.getenv("png_ver") or "1.6.37"
load(pathJoin("libpng", png_ver))

Expand Down

0 comments on commit 2323761

Please sign in to comment.