Skip to content

Commit

Permalink
Merge pull request #384 from christopherwharrop-noaa/feature/update-c…
Browse files Browse the repository at this point in the history
…heyenne-hpc-stack

GitHub Issue #383 Update hpc-stack in Cheyenne modulefiles for GNU and Intel compilers.
  • Loading branch information
MichaelLueken committed May 19, 2022
2 parents ddee392 + 2370aaf commit 0021cc0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
7 changes: 5 additions & 2 deletions modulefiles/gsi_cheyenne.gnu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@ load("mpt/2.22")
load("ncarcompilers/0.5.0")
unload("netcdf")

prepend_path("MODULEPATH", "/glade/p/ral/jntp/GMTB/tools/hpc-stack-v1.2.0/modulefiles/stack")
prepend_path("MODULEPATH", "/glade/work/epicufsrt/GMTB/tools/gnu/10.1.0/hpc-stack-v1.2.0/modulefiles/stack")

load("hpc/1.2.0")
load("hpc-gnu/10.1.0")
load("hpc-mpt/2.22")

-- Preload w3nco to work around nemsio "find_dependency(w3nco)" hpc-stack bug
load("w3nco/2.4.1")

load("gsi_common")

local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"
load(pathJoin("prod_util", prod_util_ver))

pushenv("MKLROOT", "/glade/u/apps/opt/intel/2021.2/mkl/latest")
pushenv("MKLROOT", "/glade/u/apps/opt/intel/2022.1/mkl/latest")

pushenv("CC", "mpicc")
pushenv("FC", "mpif90")
Expand Down
12 changes: 6 additions & 6 deletions modulefiles/gsi_cheyenne.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ help([[
load("cmake/3.22.0")
load("python/3.7.9")
load("ncarenv/1.3")
load("intel/2021.2")
load("mpt/2.22")
load("intel/2022.1")
load("mpt/2.25")
load("ncarcompilers/0.5.0")

prepend_path("MODULEPATH", "/glade/p/ral/jntp/GMTB/tools/hpc-stack-v1.2.0/modulefiles/stack")
prepend_path("MODULEPATH", "/glade/work/epicufsrt/GMTB/tools/intel/2022.1/hpc-stack-v1.2.0_6eb6/modulefiles/stack")

load("hpc/1.2.0")
load("hpc-intel/2021.2")
load("hpc-mpt/2.22")
load("mkl/2021.2")
load("hpc-intel/2022.1")
load("hpc-mpt/2.25")
load("mkl/2022.1")

load("gsi_common")

Expand Down

0 comments on commit 0021cc0

Please sign in to comment.