Skip to content

Commit

Permalink
Make UPP works with Rocky 8 on CSPs (#1034)
Browse files Browse the repository at this point in the history
* Make UPP works with Rocky 8 on CSPs

* Remove unneeded path

* simplify modulefile
  • Loading branch information
weihuang-jedi authored Oct 2, 2024
1 parent 6f5dd62 commit 66a422d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions modulefiles/noaacloud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@ help([[
Load environment to build UPP 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/spack-stack-1.6.0/envs/upp-addon-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))
prepend_path("MODULEPATH", "/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/upp-addon-env/install/modulefiles/Core")
prepend_path("MODULEPATH", "/apps/modules/modulefiles")
load("gnu")
load("stack-intel")
load("stack-intel-oneapi-mpi")
unload("gnu")

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))
Expand Down

0 comments on commit 66a422d

Please sign in to comment.