From 7c911e85b1633ca7bbd9d2f126061e5b35ce3373 Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Thu, 17 Oct 2024 16:11:07 +0000 Subject: [PATCH] version added --- modulefiles/gfsutils_noaacloud.intel.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modulefiles/gfsutils_noaacloud.intel.lua b/modulefiles/gfsutils_noaacloud.intel.lua index 8a584ea0..028ca7b8 100644 --- a/modulefiles/gfsutils_noaacloud.intel.lua +++ b/modulefiles/gfsutils_noaacloud.intel.lua @@ -4,9 +4,12 @@ Build environment for GFS utilities on NOAA Cloud prepend_path("MODULEPATH", "/contrib/spack-stack-rocky8/spack-stack-1.6.0/envs/gsi-addon-env/install/modulefiles/Core") prepend_path("MODULEPATH", "/apps/modules/modulefiles") + load("gnu") -load("stack-intel") -load("stack-intel-oneapi-mpi") +stack_intel_ver=os.getenv("stack_intel_ver") or "2021.10.0" +load(pathJoin("stack-intel", stack_intel_ver)) +stack_impi_ver=os.getenv("stack_impi_ver") or "2021.10.0" +load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) unload("gnu") local cmake_ver=os.getenv("cmake_ver") or "3.23.1"