Skip to content

Commit

Permalink
Upgraded S4 to spack-stack/1.5.1. NOAA-EMC#589
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Nov 9, 2023
1 parent 5e4a738 commit 46c7beb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions modulefiles/gsi_s4.lua
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
help([[
]])

prepend_path("MODULEPATH", "/data/prod/jedi/spack-stack/spack-stack-1.4.1/envs/unified-env/install/modulefiles/Core")
prepend_path("MODULEPATH", "/data/prod/jedi/spack-stack/modulefiles")
prepend_path("MODULEPATH", "/data/prod/jedi/spack-stack/spack-stack-1.5.1/envs/gsi-addon/install/modulefiles/Core")

local stack_python_ver=os.getenv("stack_python_ver") or "3.9.12"
local python_ver=os.getenv("python_ver") or "3.10.8"
local stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0"
local stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.0"
local cmake_ver=os.getenv("cmake_ver") or "3.23.1"
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"

load(pathJoin("stack-intel", stack_intel_ver))
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))
load(pathJoin("stack-python", stack_python_ver))
load(pathJoin("python", python_ver))
load(pathJoin("cmake", cmake_ver))

load("gsi_common")
load(pathJoin("prod-util", prod_util_ver))
load(pathJoin("prod_util", prod_util_ver))

pushenv("CFLAGS", "-march=ivybridge")
pushenv("FFLAGS", "-march=ivybridge")
Expand Down

0 comments on commit 46c7beb

Please sign in to comment.