Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update intel compile to Intel2022 #571

Merged
merged 71 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from 67 commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
9efbe3b
Merge pull request #1 from NOAA-EMC/master
DavidHuber-NOAA Sep 10, 2020
556e3e3
Merge branch 'NOAA-EMC:master' into master
DavidHuber-NOAA Sep 21, 2021
437b189
Merge branch 'NOAA-EMC:develop' into master
DavidHuber-NOAA Jan 27, 2023
da439e1
fix several bugs found when uses 2022.01 intel compiler.
hu5970 May 5, 2023
9e88613
Merge remote-tracking branch 'upstream/develop' into HEAD
hu5970 May 9, 2023
1359145
Update Hera Intel compiler to intel 2022.01.
hu5970 May 9, 2023
362c767
Update intel compile for Jet and Orion for using intel 2022.1
hu5970 May 10, 2023
437d6fb
Update S4 module, remove TODO. #447
DavidHuber-NOAA May 10, 2023
3fcb166
Merge pull request #6 from DavidHuber-NOAA/intel2022_dh
hu5970 May 10, 2023
caf22c0
Merge branch 'NOAA-EMC:develop' into master
DavidHuber-NOAA May 11, 2023
f5d200d
Fix out of bounds ref and cleanup. #447
DavidHuber-NOAA May 17, 2023
8c2ead4
Fixed out of bounds and vector assignment bugs #471
DavidHuber-NOAA May 19, 2023
619ecd8
Merge pull request #7 from DavidHuber-NOAA/intel2022_dh
hu5970 May 19, 2023
6dca839
Decrease radar memory footprint. #471
DavidHuber-NOAA May 19, 2023
aa42971
Removed duplicate call to read_hdraob #471
DavidHuber-NOAA May 19, 2023
d8f09b5
Merge remote-tracking branch 'ming/intel2022' into intel2022_dh
May 25, 2023
b6d8af0
Merge remote-tracking branch 'emc/develop' into intel2022_dh
May 26, 2023
6383ae7
Fix out of bounds error, trim system calls, optimize do loop #447
May 26, 2023
59b9e26
Revert to Fortran-created directories. Move metadata screening to ncd…
DavidHuber-NOAA May 26, 2023
f5b0b23
Let one PE create directories #447
Jun 2, 2023
facd50f
Merge remote-tracking branch 'emc/develop' into intel2022_dh
Jun 2, 2023
d134822
Add ncdiag v1.1.0, update Cheyenne Intel location. #447
Jun 5, 2023
5d4cf66
Merge pull request #8 from DavidHuber-NOAA/intel2022_dh
hu5970 Jun 5, 2023
bac7531
Updated ncdiag version in ci/spack.yaml #447
Jun 5, 2023
4fb0a04
Merge remote-tracking branch 'emc/develop' into intel2022_dh
Jun 6, 2023
b601e59
Stop if allocations fail. #571
Jun 6, 2023
9434673
Merge pull request #9 from DavidHuber-NOAA/intel2022_dh
hu5970 Jun 9, 2023
f01cca6
Gaea modulefile update, fix files location update on Jet,Hera,Orion,G…
Jun 14, 2023
aace46e
Gaea modulefile update
Jun 14, 2023
f842350
Merge remote-tracking branch 'upstream/develop' into intel2022_dh
Jun 21, 2023
db70960
Merge remote-tracking branch 'ming/intel2022' into intel2022_dh
Jun 21, 2023
56a22ca
Fixed directory creation. #571
Jun 22, 2023
ea336c6
Reverted regression_var.sh.
Jun 22, 2023
e5d89c3
Update Gaea and Cheyenne modulefiles.
Jun 22, 2023
06772e5
Merge pull request #10 from DavidHuber-NOAA/intel2022_dh
hu5970 Jun 22, 2023
3bf5e01
Modulefile for Gaea and regression tests configuration
Jun 23, 2023
1fe104e
Merge branch 'intel2022_gaea' into gaea_intel2022
natalie-perlin Jun 23, 2023
ff26a62
Merge pull request #1 from natalie-perlin/gaea_intel2022
natalie-perlin Jun 23, 2023
fe42c85
Intel 2022 for Gaea,update tests scripts for Gaea, Cheyenne, Orion, Jet
Jun 26, 2023
a7a6a2e
Merge branch 'intel2022_gaea' of github.com:natalie-perlin/GSI into i…
Jun 26, 2023
3baf6c7
update Cheyenne modulefile
Jun 26, 2023
d3fe9a2
updatesto scripts to address comments
Jun 26, 2023
7bd5f95
update regression/regression_driver.sh
Jun 26, 2023
e50cf96
update regression/regression_driver.sh
Jun 26, 2023
a0e48e2
update ush/build.sh
Jun 26, 2023
4864e07
Merge remote-tracking branch 'ming/intel2022' into intel2022_gaea
Jun 27, 2023
1d8beed
fixed typ inmodulefile for gaea
Jun 27, 2023
e2398c7
ncdiag/1.1.1 for spack build
Jun 28, 2023
164126b
update ncdiag/1.1.1
Jun 28, 2023
8d6009b
gaea modulefile update
Jun 28, 2023
29a1bb6
updated test scripts for gaea
Jun 28, 2023
c077a1c
Merge pull request #11 from natalie-perlin/intel2022_gaea
hu5970 Jun 29, 2023
44feb8a
update hera.gnu modulefile to use epic hpc-stack, load ncdiag from ma…
RussTreadon-NOAA Jul 1, 2023
ffba673
Merge branch 'NOAA-EMC:develop' into intel2022
RussTreadon-NOAA Jul 1, 2023
3d47231
remove w3nco from gsi_common.lua and gsi_cheyenne.gnu.lua
RussTreadon-NOAA Jul 10, 2023
06ad860
Merge pull request #12 from RussTreadon-NOAA/intel2022
hu5970 Jul 10, 2023
d0fdffc
update gsi_wcoss2.lua to ncdiag/1.1.1 and nemsio/2.5.4, update gnu co…
RussTreadon-NOAA Jul 10, 2023
fb580f1
Remove labels to fix RT on Orion and Jet #447 (#14)
DavidHuber-NOAA Aug 1, 2023
1e819ea
Update Orion stack location for the new role-epic account (#15)
natalie-perlin Aug 1, 2023
1ccf38d
Merge branch 'NOAA-EMC:develop' into intel2022
RussTreadon-NOAA Aug 7, 2023
e9b24d6
Added a new chadmin template to detect_machine.sh #595 (#16)
DavidHuber-NOAA Aug 7, 2023
04a4336
Merge branch 'develop' into intel2022
RussTreadon-NOAA Aug 10, 2023
e4fc198
use sub-communicator for parallel netcdf io in gsi_rfv3io_mod.f90 (#447)
RussTreadon-NOAA Aug 18, 2023
91ca898
modifications for acorn (wcoss2 test system) build using intel19 spac…
RussTreadon-NOAA Aug 21, 2023
06ed4d7
add version numbers to module loads in gsi_common_wcoss2.lua (#447)
RussTreadon-NOAA Aug 21, 2023
f4524b9
Merge branch 'develop' into intel2022
RussTreadon-NOAA Sep 11, 2023
1485b20
revert gsi_wcoss2.lua to develop (#447)
RussTreadon-NOAA Sep 11, 2023
5edbe26
Merge branch 'NOAA-EMC:develop' into intel2022
RussTreadon-NOAA Sep 12, 2023
7cb76d8
update nemsio version in spack.yaml, clean up sub_wcoss2 (#447)
RussTreadon-NOAA Sep 12, 2023
047001b
remove gsi_common_wcoss2.lua since no longer used (#447)
RussTreadon-NOAA Sep 12, 2023
dc96296
generalize machine specific sub scripts to allow different modulefile…
RussTreadon-NOAA Sep 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/spack.yaml
RussTreadon-NOAA marked this conversation as resolved.
Show resolved Hide resolved
RussTreadon-NOAA marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spack:
- [email protected]
- [email protected]
- [email protected]
- gsi-ncdiag@1.0.0
- gsi-ncdiag@1.1.1
view: true
concretizer:
unify: true
20 changes: 9 additions & 11 deletions modulefiles/gsi_cheyenne.gnu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,24 @@ help([[
load("cmake/3.22.0")
load("python/3.7.9")
load("ncarenv/1.3")
load("gnu/10.1.0")
load("mpt/2.22")
load("gnu/11.2.0")
load("mpt/2.25")
load("ncarcompilers/0.5.0")
unload("intel")
unload("netcdf")

prepend_path("MODULEPATH", "/glade/work/epicufsrt/GMTB/tools/gnu/10.1.0/hpc-stack-v1.2.0/modulefiles/stack")
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/hpc-stack/gnu11.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("hpc-gnu/11.2.0")
load("hpc-mpt/2.25")

load("gsi_common")

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

pushenv("MKLROOT", "/glade/u/apps/opt/intel/2022.1/mkl/latest")
pushenv("GSI_BINARY_SOURCE_DIR", "/glade/work/epicufsrt/contrib/GSI_fix/fix")

pushenv("CC", "mpicc")
pushenv("FC", "mpif90")
Expand Down
6 changes: 3 additions & 3 deletions modulefiles/gsi_cheyenne.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ load("intel/2022.1")
load("mpt/2.25")
load("ncarcompilers/0.5.0")

prepend_path("MODULEPATH", "/glade/work/epicufsrt/GMTB/tools/intel/2022.1/hpc-stack-v1.2.0_6eb6/modulefiles/stack")
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/hpc-stack/intel2022.1/modulefiles/stack")

load("hpc/1.2.0")
load("hpc-intel/2022.1")
Expand All @@ -17,8 +17,8 @@ load("mkl/2022.1")

load("gsi_common")

local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"
load(pathJoin("prod_util", prod_util_ver))
load(pathJoin("prod_util", os.getenv("prod_util_ver") or "1.2.2"))
pushenv("GSI_BINARY_SOURCE_DIR", "/glade/work/epicufsrt/contrib/GSI_data/fix/20230601")

pushenv("CFLAGS", "-xHOST")
pushenv("FFLAGS", "-xHOST")
Expand Down
7 changes: 3 additions & 4 deletions modulefiles/gsi_common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ local netcdf_ver=os.getenv("netcdf_ver") or "4.7.4"

local bufr_ver=os.getenv("bufr_ver") or "11.7.0"
local bacio_ver=os.getenv("bacio_ver") or "2.4.1"
local w3emc_ver=os.getenv("w3emc_ver") or "2.9.1"
local w3emc_ver=os.getenv("w3emc_ver") or "2.9.2"
local sp_ver=os.getenv("sp_ver") or "2.3.3"
local ip_ver=os.getenv("ip_ver") or "3.3.3"
local sigio_ver=os.getenv("sigio_ver") or "2.3.2"
local sfcio_ver=os.getenv("sfcio_ver") or "1.4.1"
local nemsio_ver=os.getenv("nemsio_ver") or "2.5.2"
local nemsio_ver=os.getenv("nemsio_ver") or "2.5.4"
local wrf_io_ver=os.getenv("wrf_io_ver") or "1.2.0"
local ncio_ver=os.getenv("ncio_ver") or "1.1.2"
local crtm_ver=os.getenv("crtm_ver") or "2.4.0"
local ncdiag_ver=os.getenv("ncdiag_ver") or "1.0.0"
local ncdiag_ver=os.getenv("ncdiag_ver") or "1.1.1"

load(pathJoin("netcdf", netcdf_ver))

Expand All @@ -31,4 +31,3 @@ load(pathJoin("wrf_io", wrf_io_ver))
load(pathJoin("ncio", ncio_ver))
load(pathJoin("crtm", crtm_ver))
load(pathJoin("ncdiag",ncdiag_ver))

37 changes: 37 additions & 0 deletions modulefiles/gsi_common_wcoss2.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
help([[
Load common modules to build GSI on all machines
]])

local netcdf_c_ver=os.getenv("netcdf_c_ver") or "4.9.2"
local netcdf_fortran_ver=os.getenv("netcdf_fortran_ver") or "4.6.0"

local bufr_ver=os.getenv("bufr_ver") or "11.7.0"
local bacio_ver=os.getenv("bacio_ver") or "2.4.1"
local w3emc_ver=os.getenv("w3emc_ver") or "2.9.2"
local sp_ver=os.getenv("sp_ver") or "2.3.3"
local ip_ver=os.getenv("ip_ver") or "3.3.3"
local sigio_ver=os.getenv("sigio_ver") or "2.3.2"
local sfcio_ver=os.getenv("sfcio_ver") or "1.4.1"
local nemsio_ver=os.getenv("nemsio_ver") or "2.5.2"
local wrf_io_ver=os.getenv("wrf_io_ver") or "1.2.0"
local ncio_ver=os.getenv("ncio_ver") or "1.1.2"
local crtm_ver=os.getenv("crtm_ver") or "2.4.0"
local ncdiag_ver=os.getenv("ncdiag_ver") or "1.1.1"

load(pathJoin("netcdf-c", netcdf_c_ver))
load(pathJoin("netcdf-fortran", netcdf_fortran_ver))


load(pathJoin("bufr", bufr_ver))
load(pathJoin("bacio", bacio_ver))
load(pathJoin("w3emc", w3emc_ver))
load(pathJoin("sp", sp_ver))
load(pathJoin("ip", ip_ver))
load(pathJoin("sigio", sigio_ver))
load(pathJoin("sfcio", sfcio_ver))
load(pathJoin("nemsio", nemsio_ver))
load(pathJoin("wrf_io", wrf_io_ver))
load(pathJoin("ncio", ncio_ver))
load(pathJoin("crtm", crtm_ver))
load(pathJoin("gsi-ncdiag",ncdiag_ver))

62 changes: 0 additions & 62 deletions modulefiles/gsi_gaea

This file was deleted.

34 changes: 34 additions & 0 deletions modulefiles/gsi_gaea.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
help([[
]])

load("cmake/3.20.1")

prepend_path("MODULEPATH","/lustre/f2/dev/role.epic/contrib/hpc-stack/intel-classic-2022.0.2/modulefiles/stack")
load(pathJoin("hpc", os.getenv("hpc_ver") or "1.2.0"))

load(pathJoin("intel-classic", os.getenv("intel_classic_ver") or "2022.0.2"))
load(pathJoin("cray-mpich", os.getenv("cray_mpich_ver") or "7.7.20"))
load(pathJoin("hpc-intel-classic", os.getenv("hpc_intel_classic_ver") or "2022.0.2"))
load(pathJoin("hpc-cray-mpich", os.getenv("hpc_cray_mpich_ver") or "7.7.20"))

load("gsi_common")

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

-- Needed at runtime:
load("alps")

local MKLROOT="/opt/intel/oneapi/mkl/2022.0.2/"
prepend_path("LD_LIBRARY_PATH",pathJoin(MKLROOT,"lib/intel64"))
pushenv("MKLROOT", MKLROOT)

pushenv("GSI_BINARY_SOURCE_DIR", "/lustre/f2/dev/role.epic/contrib/GSI_data/fix/20230601")

setenv("CC","cc")
setenv("FC","ftn")
setenv("CXX","CC")
pushenv("CRAYPE_LINK_TYPE","dynamic")

whatis("Description: GSI environment on Gaea with Intel Compilers")

12 changes: 7 additions & 5 deletions modulefiles/gsi_hera.gnu.lua
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
help([[
]])

prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack")
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/hpc-stack/libs/gnu-9.2/modulefiles/stack")

local hpc_ver=os.getenv("hpc_ver") or "1.1.0"
local hpc_gnu_ver=os.getenv("hpc_gnu_ver") or "9.2.0"
local hpc_ver=os.getenv("hpc_ver") or "1.2.0"
local gnu_ver=os.getenv("gnu_ver") or "9.2.0"
local hpc_gnu_ver=os.getenv("hpc_gnu_ver") or "9.2"
local hpc_mpich_ver=os.getenv("hpc_mpich_ver") or "3.3.2"
local cmake_ver=os.getenv("cmake_ver") or "3.20.1"
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"
local openblas_ver=os.getenv("openblas_ver") or "0.3.23"

load(pathJoin("hpc", hpc_ver))
load(pathJoin("gnu", gnu_ver))
load(pathJoin("hpc-gnu", hpc_gnu_ver))
load(pathJoin("hpc-mpich", hpc_mpich_ver))
load(pathJoin("cmake", cmake_ver))

load("gsi_common")

load(pathJoin("prod_util", prod_util_ver))

pushenv("MKLROOT", "/apps/oneapi/mkl/2022.0.2")
load(pathJoin("openblas", openblas_ver))

pushenv("GSI_BINARY_SOURCE_DIR", "/scratch1/NCEPDEV/global/glopara/fix/gsi/20230601")

Expand Down
17 changes: 8 additions & 9 deletions modulefiles/gsi_hera.intel.lua
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
help([[
]])

prepend_path("MODULEPATH", "/scratch2/NCEPDEV/nwprod/hpc-stack/libs/hpc-stack/modulefiles/stack")
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/miniconda3/modulefiles")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this prepend_path point at the official installation all UFS and EMC apps should use?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Others should also confirm but the MODULEPATHs I see in this PR jive with the ones that ufs-weather-model moved to (ufs-community/ufs-weather-model#1465) and which global-workflow and other components are also moving to. The ufs-weather-model issue I refer to has a nice listing at the top of the various machine installs.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The updated prepend_path and module versions all come from ufs-weather-model develop for Hera, Jet, and Orion.
I did not change setup for other machines because I cannot access them. But the ufs-weather-model develop still use intel 19 for wcoss2, which should be updated for both model and GSI.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's work with g-w and others to update as many modulefiles as possible. Tagging @KateFriedman-NOAA , natalie-perlin, and @GeorgeVandenberghe-NOAA , and [email protected]. Should anyone be removed from this list? Should anyone be added?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like all of the (fully) supported R&D platforms are covered in this PR (Hera, Orion, Jet). @DavidHuber-NOAA is providing updates for S4 (low support). WCOSS2 is not considered in this PR since it's only intel 2019 still and not EPIC-maintained hpc-stacks. Will update WCOSS2 to intel 2022 at a later date (likely when we move to spack-stack but not 100% on that). Updates in this PR should not break WCOSS2 functionality.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. GSI develop must use officially approved and maintained modules. It would be good to get confirmation from EMC g-w and library staff that this PR brings in the correct modules and versions.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Paths look correct. A couple versions are ahead of where workflow is (and not in UFS), but we can update to match.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this resolved, then?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If GSI paths are ahead of g-w, will gsi.x and enkf.x run correctly in g-w?

Copy link
Collaborator

@DavidHuber-NOAA DavidHuber-NOAA Sep 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to be resolved in the g-w. I linked this discussion into the relevant issue NOAA-EMC/global-workflow#812. I believe this conversation can be resolved.

miniconda3_ver=os.getenv("miniconda3_ver") or "4.12.0"
load(pathJoin("miniconda3", miniconda3_ver))

local hpc_ver=os.getenv("hpc_ver") or "1.1.0"
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.5.274"
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "2018.0.4"
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/hpc-stack/libs/intel-2022.1.2/modulefiles/stack")
RussTreadon-NOAA marked this conversation as resolved.
Show resolved Hide resolved

local hpc_ver=os.getenv("hpc_ver") or "1.2.0"
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "2022.1.2"
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "2022.1.2"
local cmake_ver=os.getenv("cmake_ver") or "3.20.1"
local anaconda_ver=os.getenv("anaconda_ver") or "2.3.0"
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"

load(pathJoin("hpc", hpc_ver))
load(pathJoin("hpc-intel", hpc_intel_ver))
load(pathJoin("hpc-impi", hpc_impi_ver))
load(pathJoin("cmake", cmake_ver))

prepend_path("MODULEPATH", "/contrib/anaconda/modulefiles")

load(pathJoin("anaconda", anaconda_ver))

load("gsi_common")

load(pathJoin("prod_util", prod_util_ver))
Expand Down
15 changes: 7 additions & 8 deletions modulefiles/gsi_jet.lua
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
help([[
]])

prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/hpc-stack/libs/intel-18.0.5.274/modulefiles/stack")
prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/miniconda3/modulefiles")
RussTreadon-NOAA marked this conversation as resolved.
Show resolved Hide resolved
miniconda3_ver=os.getenv("miniconda3_ver") or "4.12.0"
load(pathJoin("miniconda3", miniconda3_ver))

prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/hpc-stack/libs/intel-2022.1.2/modulefiles/stack")
RussTreadon-NOAA marked this conversation as resolved.
Show resolved Hide resolved

local hpc_ver=os.getenv("hpc_ver") or "1.2.0"
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.5.274"
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "2018.4.274"
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "2022.1.2"
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "2022.1.2"
local cmake_ver=os.getenv("cmake_ver") or "3.20.1"
local anaconda_ver=os.getenv("anaconda_ver") or "5.3.1"
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"

load(pathJoin("hpc", hpc_ver))
load(pathJoin("hpc-intel", hpc_intel_ver))
load(pathJoin("hpc-impi", hpc_impi_ver))
load(pathJoin("cmake", cmake_ver))

prepend_path("MODULEPATH", "/contrib/anaconda/modulefiles")

load(pathJoin("anaconda", anaconda_ver))

load("gsi_common")

load(pathJoin("prod_util", prod_util_ver))
Expand Down
14 changes: 8 additions & 6 deletions modulefiles/gsi_orion.lua
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
help([[
]])

prepend_path("MODULEPATH", "/apps/contrib/NCEP/libs/hpc-stack/modulefiles/stack")
prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/contrib/orion/miniconda3/modulefiles")
miniconda3_ver=os.getenv("miniconda3_ver") or "4.12.0"
load(pathJoin("miniconda3", miniconda3_ver))

local hpc_ver=os.getenv("hpc_ver") or "1.1.0"
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "2018.4"
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "2018.4"
prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/contrib/orion/hpc-stack/intel-2022.1.2/modulefiles/stack")

local hpc_ver=os.getenv("hpc_ver") or "1.2.0"
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "2022.1.2"
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "2022.1.2"
local cmake_ver=os.getenv("cmake_ver") or "3.22.1"
local python_ver=os.getenv("python_ver") or "3.7.5"
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"

load(pathJoin("hpc", hpc_ver))
load(pathJoin("hpc-intel", hpc_intel_ver))
load(pathJoin("hpc-impi", hpc_impi_ver))
load(pathJoin("cmake", cmake_ver))
load(pathJoin("python", python_ver))

load("gsi_common")

Expand Down
6 changes: 3 additions & 3 deletions modulefiles/gsi_s4.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
help([[
]])

local hpc_ver=os.getenv("hpc_ver") or "1.1.0"
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "18.0.4"
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "18.0.4"
local hpc_ver=os.getenv("hpc_ver") or "1.2.0"
local hpc_intel_ver=os.getenv("hpc_intel_ver") or "2022.1"
local hpc_impi_ver=os.getenv("hpc_impi_ver") or "2022.1"
local miniconda_ver=os.getenv("miniconda_ver") or "3.8-s4"
local prod_util_ver=os.getenv("prod_util_ver") or "1.2.2"

Expand Down
2 changes: 2 additions & 0 deletions regression/regression_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,11 @@ for jn in `seq ${RSTART} ${REND}`; do
if [ $jn -le 2 ]; then
export scripts=${scripts_updat:-$scripts}
export fixgsi=${fixgsi_updat:-$fixgsi}
export modulefiles=${modulefiles_updat:-$modulefiles}
else
export scripts=${scripts_contrl:-$scripts}
export fixgsi=${fixgsi_contrl:-$fixgsi}
export modulefiles=${modulefiles_contrl:-$modulefiles}
fi
rm -f ${job[$jn]}.out

Expand Down
Loading