From 561e42c8f1ff748e970b3c152a82c14aa1df2f76 Mon Sep 17 00:00:00 2001 From: Christopher Harrop Date: Thu, 19 May 2022 09:23:33 -0600 Subject: [PATCH] GitHub Issue NOAA-EMC/GSI#383 Update hpc-stack in Cheyenne modulefiles for GNU and Intel compilers. A small workaround was necessary for the GNU modulefile to avoid a dependency issue with the GNU version of hpc-stack. --- modulefiles/gsi_cheyenne.gnu.lua | 7 +++++-- modulefiles/gsi_cheyenne.intel.lua | 12 ++++++------ 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/modulefiles/gsi_cheyenne.gnu.lua b/modulefiles/gsi_cheyenne.gnu.lua index 9cd0337520..494ec6fb18 100644 --- a/modulefiles/gsi_cheyenne.gnu.lua +++ b/modulefiles/gsi_cheyenne.gnu.lua @@ -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") diff --git a/modulefiles/gsi_cheyenne.intel.lua b/modulefiles/gsi_cheyenne.intel.lua index 9a0c4f721b..72bf458516 100644 --- a/modulefiles/gsi_cheyenne.intel.lua +++ b/modulefiles/gsi_cheyenne.intel.lua @@ -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")