Skip to content

Commit

Permalink
Upgrade spack stack from 1.4.1 to 1.5.0 on Gaea C4.
Browse files Browse the repository at this point in the history
  • Loading branch information
RatkoVasic-NOAA committed Nov 10, 2023
1 parent 70ac453 commit 302bb26
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
18 changes: 11 additions & 7 deletions modulefiles/build_gaea_intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ whatis([===[Loads libraries needed for building the UFS SRW App on Gaea ]===])
unload("intel")
unload("cray-mpich")
unload("cray-python")
unload("darshan")

prepend_path("MODULEPATH", "/lustre/f2/dev/wpo/role.epic/contrib/spack-stack/spack-stack-1.4.1-c4/envs/unified-env/install/modulefiles/Core")
prepend_path("MODULEPATH", "/lustre/f2/dev/wpo/role.epic/contrib/spack-stack/c4/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core")
prepend_path("MODULEPATH", "/lustre/f2/pdata/esrl/gsd/spack-stack/modulefiles")
stack_intel_ver=os.getenv("stack_intel_ver") or "2022.0.2"
load(pathJoin("stack-intel", stack_intel_ver))

load("stack-intel/2022.0.2")
load("stack-cray-mpich/7.7.20")
load("stack-python/3.9.12")
load("cmake/3.23.1")
stack_mpich_ver=os.getenv("stack_mpich_ver") or "7.7.20"
load(pathJoin("stack-cray-mpich", stack_mpich_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.10.8"
load(pathJoin("stack-python", stack_python_ver))

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

load("srw_common")
load("ufs-pyenv")
-- Need at runtime
load("alps")

Expand Down
1 change: 1 addition & 0 deletions modulefiles/tasks/gaea/plot_allvars.local.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
unload("python")
prepend_path("MODULEPATH","/lustre/f2/dev/role.epic/contrib/miniconda3/modulefiles")
load(pathJoin("miniconda3", os.getenv("miniconda3_ver") or "4.12.0"))

Expand Down
1 change: 1 addition & 0 deletions modulefiles/tasks/gaea/python_srw.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
unload("python")
prepend_path("MODULEPATH","/lustre/f2/dev/role.epic/contrib/miniconda3/modulefiles")
load(pathJoin("miniconda3", os.getenv("miniconda3_ver") or "4.12.0"))

Expand Down
6 changes: 3 additions & 3 deletions modulefiles/tasks/gaea/run_vx.local.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
--[[
Compiler-specific modules are used for met and metplus libraries
--]]
local met_ver = (os.getenv("met_ver") or "10.1.1")
local metplus_ver = (os.getenv("metplus_ver") or "4.1.1")
local met_ver = (os.getenv("met_ver") or "11.1.0")
local metplus_ver = (os.getenv("metplus_ver") or "5.1.0")
if (mode() == "load") then
load(pathJoin("met", met_ver))
load(pathJoin("metplus",metplus_ver))
Expand All @@ -22,4 +22,4 @@ if (mode() == "unload") then
unload(pathJoin("met", met_ver))
unload(pathJoin("metplus",metplus_ver))
end
load("python_srw")
load("ufs-pyenv")

0 comments on commit 302bb26

Please sign in to comment.