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 to spack-stack-1.5.0 (update to gocart hash f7b34e) #1920

Merged
merged 60 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
204a3f8
Update .gitmodules and submodule pointer for GOCART
DomHeinzeller Aug 30, 2023
6ab3601
Update modulefiles/ufs_common.lua modulefiles/ufs_hera.gnu.lua module…
DomHeinzeller Aug 30, 2023
ebf9ef1
Update submodule pointer for GOCART
DomHeinzeller Sep 7, 2023
5edf88f
Replace [email protected] with [email protected] in ufs_com…
DomHeinzeller Sep 7, 2023
cc42093
Update ufs_common.lua ufs_hera.gnu.lua ufs_hera.intel.lua
DomHeinzeller Sep 13, 2023
437aaac
Update test/logs/RegressionTests_hera.log
DomHeinzeller Sep 13, 2023
15832f8
Remove unnecessary miniconda paths for hera in rt.sh
DomHeinzeller Sep 13, 2023
d0a40b5
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Sep 25, 2023
356050a
Update module files for spack-stack-1.5.0, add missing modulefiles/uf…
climbfuji Sep 25, 2023
7f793e9
Update .gitmodules and submodule pointer for GOCART
climbfuji Sep 26, 2023
0a0d5e5
Remove miniconda from tests/rt.sh for spack-stack systems
climbfuji Sep 26, 2023
fc4f4f6
Update ip in modulefiles/ufs_common.lua
climbfuji Sep 26, 2023
f5ffd12
Add additional inputs in GOCART control file for FENGSHA
bbakernoaa Sep 25, 2023
982bdff
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Sep 27, 2023
7f14a68
Update .gitmodules and submodule pointer for GOCART
climbfuji Sep 27, 2023
1c12310
Merge branch 'feature/spack_stack_150' of https://github.com/climbfuj…
DomHeinzeller Sep 27, 2023
d333d33
Fix wrong modulepath for Orion/Intel
climbfuji Oct 3, 2023
692db34
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Oct 3, 2023
a14c88e
Update Python versions for spack-stack-1.5.0 modules to 3.10.8, but c…
climbfuji Oct 5, 2023
b80099b
Update hera module path and add temporary fix for jet's ecflow module…
climbfuji Oct 7, 2023
8721534
Use load("ufs_common") for Hercules
climbfuji Oct 10, 2023
e30f10c
Remove temporary workaround for jet's ecflow pythonpath, since the mo…
climbfuji Oct 11, 2023
a64f588
Remove commented out Python loads and unused modulepaths for python f…
climbfuji Oct 12, 2023
23b6e8d
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Oct 12, 2023
2bb16d5
Add ecflow module loads back for hercules, s4, cheyenne
climbfuji Oct 13, 2023
4d7ba87
Add ecflow module loads back for hercules, s4, cheyenne, gaea, orion
climbfuji Oct 13, 2023
42aad27
Merge branch 'feature/spack_stack_150' of https://github.com/climbfuj…
climbfuji Oct 13, 2023
6b83237
Bug fix in tests/rt.sh for Orion (load correct modules)
climbfuji Oct 14, 2023
ecb8336
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Oct 18, 2023
5185993
Update ufs_acorn.intel.lua for spack-stack 1.5.0
AlexanderRichert-NOAA Oct 18, 2023
6c0330d
Merge pull request #15 from AlexanderRichert-NOAA/acorn_update_150
climbfuji Oct 18, 2023
1929837
Update bl_date.conf
zach1221 Oct 18, 2023
f081471
add orion RT logs: passed
zach1221 Oct 19, 2023
6018dd8
Bug fixes for hera.gnu and hercules.gnu: add missing modulepath for o…
climbfuji Oct 19, 2023
065926a
WCOSS2 RT Log
BrianCurtis-NOAA Oct 19, 2023
1042486
Acorn RT Log
BrianCurtis-NOAA Oct 19, 2023
613fbb2
TEST: update modulefiles/ufs_hercules.gnu.lua
climbfuji Oct 22, 2023
d6bfc19
Switch to mvapich2 on Hercules with GNU
climbfuji Oct 24, 2023
af3646a
Add gfortran-10 argument mismatch compatibility flags in CICE-interfa…
climbfuji Oct 24, 2023
0c5221d
Add gfortran-10 argument mismatch compatibility flags in CICE-interfa…
climbfuji Oct 24, 2023
281ed6a
Fix bug in CICE-interface/CMakeLists.txt, change parallel launcher fo…
climbfuji Oct 24, 2023
26a1b42
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Oct 25, 2023
20e3ca6
update WW3 module with bugfix
JessicaMeixner-NOAA Oct 25, 2023
6c3e0bd
fix typo in ww3
JessicaMeixner-NOAA Oct 25, 2023
94f835d
more typo fixes in ww3
JessicaMeixner-NOAA Oct 25, 2023
1ab9540
Merge remote-tracking branch 'DH/feature/spack_stack_150' into featur…
Oct 26, 2023
a5f4167
Merge pull request #16 from JessicaMeixner-NOAA/feature/spack_stack_150
climbfuji Oct 26, 2023
2f63c65
Add export MV2_SHMEM_COLL_NUM_COMM=128 to hercules gnu job card
climbfuji Oct 26, 2023
86cafe9
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
climbfuji Oct 27, 2023
82363db
add jet RT log: passed
jkbk2004 Oct 29, 2023
b42960d
add hera RT log: passed
jkbk2004 Oct 29, 2023
15510c6
add hera RT log: passed
jkbk2004 Oct 30, 2023
05902c3
add orion RT log: passed
jkbk2004 Oct 30, 2023
ba467f6
WCOSS2 RT Log
BrianCurtis-NOAA Oct 30, 2023
c485213
add gaea RT logs: passed
zach1221 Oct 30, 2023
97afa4f
control_ras does not compare, need to look into more
BrianCurtis-NOAA Oct 30, 2023
fe5113c
WCOSS2 RT Log
BrianCurtis-NOAA Oct 30, 2023
bc14104
add hercules RT logs: passed
zach1221 Oct 30, 2023
0e89d44
Revert .gitmodules and update submodule pointer for WW3
climbfuji Oct 30, 2023
d188e26
Merge branch 'feature/spack_stack_150' of https://github.com/climbfuj…
climbfuji Oct 30, 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
3 changes: 3 additions & 0 deletions CICE-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
set(CMAKE_Fortran_FLAGS "-g -fbacktrace")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fconvert=big-endian -ffree-line-length-none ")
if(${CMAKE_Fortran_COMPILER_VERSION} VERSION_GREATER_EQUAL 10)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fallow-argument-mismatch -fallow-invalid-boz")
endif()
set(CMAKE_Fortran_FLAGS_RELEASE "-O2")
set(CMAKE_Fortran_FLAGS_DEBUG "-O0 -Wall -Wextra -fcheck=bounds -ffpe-trap=invalid,zero,overflow,underflow" )
set(CMAKE_Fortran_LINK_FLAGS "" )
Expand Down
2 changes: 1 addition & 1 deletion GOCART
Submodule GOCART updated 2 files
+1 −0 CHANGELOG.md
+6 −0 CMakeLists.txt
2 changes: 1 addition & 1 deletion WW3
Submodule WW3 updated 1 files
+8 −1 model/src/w3wavemd.F90
3 changes: 1 addition & 2 deletions modulefiles/ufs_acorn.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ help([[
Load environment to build UFS on Acorn with Intel compiler
]])

prepend_path("MODULEPATH", "/lfs/h1/emc/nceplibs/noscrub/spack-stack/spack-stack-1.4.1/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/lfs/h1/emc/nceplibs/noscrub/spack-stack/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core")

load("stack-intel")
load("stack-cray-mpich")
load("stack-python")

--Avoid production installations; use spack-stack only:
remove_path("MODULEPATH", "/apps/ops/prod/libs/modulefiles/compiler/intel/19.1.3.304")
Expand Down
6 changes: 3 additions & 3 deletions modulefiles/ufs_common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ local ufs_modules = {
{["crtm"] = "2.4.0"},
{["g2"] = "3.4.5"},
{["g2tmpl"] = "1.10.2"},
{["ip"] = "3.3.3"},
{["ip"] = "4.3.0"},
{["sp"] = "2.3.3"},
{["w3emc"] = "2.9.2"},
{["w3emc"] = "2.10.0"},
{["gftl-shared"] = "1.5.0"},
{["mapl"] = "2.35.2-esmf-8.4.2"},
{["scotch"] = "7.0.3"},
{["scotch"] = "7.0.4"},
}

for i = 1, #ufs_modules do
Expand Down
6 changes: 1 addition & 5 deletions modulefiles/ufs_gaea.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@ unload("cray-mpich")
unload("cray-python")
unload("darshan")

prepend_path("MODULEPATH", "/lustre/f2/dev/wpo/role.epic/contrib/spack-stack/spack-stack-1.4.1-c4/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/lustre/f2/pdata/esrl/gsd/spack-stack/modulefiles")
prepend_path("MODULEPATH", "/lustre/f2/dev/wpo/role.epic/contrib/spack-stack/c4/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core")
climbfuji marked this conversation as resolved.
Show resolved Hide resolved

stack_intel_ver=os.getenv("stack_intel_ver") or "2022.0.2"
load(pathJoin("stack-intel", stack_intel_ver))

stack_cray_mpich_ver=os.getenv("stack_cray_mpich_ver") or "7.7.20"
load(pathJoin("stack-cray-mpich", stack_cray_mpich_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.9.12"
load(pathJoin("stack-python", stack_python_ver))

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))

Expand Down
6 changes: 2 additions & 4 deletions modulefiles/ufs_hera.gnu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ help([[
loads UFS Model prerequisites for Hera/GNU
]])

prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.4.1/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.5.0/envs/unified-env-noavx512/install/modulefiles/Core")
-- for openmpi, need
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/jcsda/jedipara/spack-stack/modulefiles")

stack_gnu_ver=os.getenv("stack_gnu_ver") or "9.2.0"
Expand All @@ -11,9 +12,6 @@ load(pathJoin("stack-gcc", stack_gnu_ver))
stack_openmpi_ver=os.getenv("stack_openmpi_ver") or "4.1.5"
load(pathJoin("stack-openmpi", stack_openmpi_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.9.12"
load(pathJoin("stack-python", stack_python_ver))

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))

Expand Down
6 changes: 1 addition & 5 deletions modulefiles/ufs_hera.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ help([[
loads UFS Model prerequisites for Hera/Intel
]])

prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.4.1/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/jcsda/jedipara/spack-stack/modulefiles")
prepend_path("MODULEPATH", "/scratch1/NCEPDEV/nems/role.epic/spack-stack/spack-stack-1.5.0/envs/unified-env-noavx512/install/modulefiles/Core")

stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0"
load(pathJoin("stack-intel", stack_intel_ver))

stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.1"
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.9.12"
load(pathJoin("stack-python", stack_python_ver))

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))

Expand Down
39 changes: 5 additions & 34 deletions modulefiles/ufs_hercules.gnu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,20 @@ help([[
loads UFS Model prerequisites for Hercules/GNU
]])

prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-dev-20230825/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.5.0/envs/unified-env-mvap2/install/modulefiles/Core")
-- for mvapich2, need:
prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/modulefiles")

stack_gnu_ver=os.getenv("stack_gnu_ver") or "11.3.1"
load(pathJoin("stack-gcc", stack_gnu_ver))

stack_openmpi_ver=os.getenv("stack_openmpi_ver") or "4.1.5"
load(pathJoin("stack-openmpi", stack_openmpi_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.9.14"
load(pathJoin("stack-python", stack_python_ver))
stack_mvapich2_ver=os.getenv("stack_mvapich2_ver") or "2.3.7"
load(pathJoin("stack-mvapich2", stack_mvapich2_ver))

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))

local ufs_modules = {
{["jasper"] = "2.0.32"},
{["zlib"] = "1.2.13"},
{["libpng"] = "1.6.37"},
{["hdf5"] = "1.14.0"},
{["netcdf-c"] = "4.9.2"},
{["netcdf-fortran"] = "4.6.0"},
{["parallelio"] = "2.5.10"},
{["esmf"] = "8.4.2"},
{["fms"] = "2023.01"},
{["bacio"] = "2.4.1"},
{["crtm"] = "2.4.0"},
{["g2"] = "3.4.5"},
{["g2tmpl"] = "1.10.2"},
{["ip"] = "3.3.3"},
{["sp"] = "2.3.3"},
{["w3emc"] = "2.9.2"},
{["gftl-shared"] = "1.5.0"},
{["mapl"] = "2.35.2-esmf-8.4.2"},
{["scotch"] = "7.0.4"},
}

for i = 1, #ufs_modules do
for name, default_version in pairs(ufs_modules[i]) do
local env_version_name = string.gsub(name, "-", "_") .. "_ver"
load(pathJoin(name, os.getenv(env_version_name) or default_version))
end
end
load("ufs_common")

setenv("CC", "mpicc")
setenv("CXX", "mpic++")
Expand Down
35 changes: 2 additions & 33 deletions modulefiles/ufs_hercules.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,18 @@ help([[
loads UFS Model prerequisites for Hercules/Intel
]])

prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-dev-20230825/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/modulefiles")
prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/hercules/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core")

stack_intel_ver=os.getenv("stack_intel_ver") or "2021.9.0"
load(pathJoin("stack-intel", stack_intel_ver))

stack_impi_ver=os.getenv("stack_impi_ver") or "2021.9.0"
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.9.14"
load(pathJoin("stack-python", stack_python_ver))

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))

local ufs_modules = {
{["jasper"] = "2.0.32"},
{["zlib"] = "1.2.13"},
{["libpng"] = "1.6.37"},
{["hdf5"] = "1.14.0"},
{["netcdf-c"] = "4.9.2"},
{["netcdf-fortran"] = "4.6.0"},
{["parallelio"] = "2.5.10"},
{["esmf"] = "8.4.2"},
{["fms"] = "2023.01"},
{["bacio"] = "2.4.1"},
{["crtm"] = "2.4.0"},
{["g2"] = "3.4.5"},
{["g2tmpl"] = "1.10.2"},
{["ip"] = "3.3.3"},
{["sp"] = "2.3.3"},
{["w3emc"] = "2.9.2"},
{["gftl-shared"] = "1.5.0"},
{["mapl"] = "2.35.2-esmf-8.4.2"},
{["scotch"] = "7.0.4"},
}

for i = 1, #ufs_modules do
for name, default_version in pairs(ufs_modules[i]) do
local env_version_name = string.gsub(name, "-", "_") .. "_ver"
load(pathJoin(name, os.getenv(env_version_name) or default_version))
end
end
load("ufs_common")

setenv("CC", "mpiicc")
setenv("CXX", "mpiicpc")
Expand Down
6 changes: 1 addition & 5 deletions modulefiles/ufs_jet.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ help([[
loads UFS Model prerequisites for Jet/Intel
]])

prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.4.1/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/lfs4/HFIP/hfv3gfs/spack-stack/modulefiles")
prepend_path("MODULEPATH", "/mnt/lfs4/HFIP/hfv3gfs/role.epic/spack-stack/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core")

stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0"
load(pathJoin("stack-intel", stack_intel_ver))

stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.1"
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.9.12"
load(pathJoin("stack-python", stack_python_ver))

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))

Expand Down
37 changes: 37 additions & 0 deletions modulefiles/ufs_linux.intel
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/bin/bash
climbfuji marked this conversation as resolved.
Show resolved Hide resolved

#%Module######################################################################
##
## UFS prerequisites: Linux (tested: Ubuntu) with gcc/gfortran compilers

echo "Setting environment variables for UFS Model on Linux with gcc/gfortran"

##
## load programming environment: compiler, flags, paths
##
export CC=${CC:-mpicc}
export CXX=${CXX:-mpicxx}
export F77=${F77:-mpif77}
export F90=${F90:-mpif90}
export FC=${FC:-mpif90}

##
## set up variables for ../cmake/configure_linux.intel.cmake
##
export CMAKE_Platform=linux.intel

##
## use own NetCDF library
##
export NETCDF=${NETCDF:-/home/builder/opt}

##
## use pre-compiled EMSF library for above compiler / MPI combination
##
export ESMFMKFILE=${ESMFMKFILE:-/home/builder/opt/lib/esmf.mk}

##
## NCEP libraries (need to download and build manually, see doc/README_{UBUNTU,CENTOS,...}.txt and https://github.com/NCAR/NCEPlibs)
##
export NCEPLIBS_DIR=${NCEPLIBS_DIR:-/home/builder/opt}
export CMAKE_PREFIX_PATH=${NCEPLIBS_DIR}
6 changes: 1 addition & 5 deletions modulefiles/ufs_noaacloud.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ loads UFS Model prerequisites for NOAA Parallelworks/Intel
]])


prepend_path("MODULEPATH", "/contrib/EPIC/spack-stack/spack-stack-1.4.1/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/contrib/spack-stack/modulefiles/core")
prepend_path("MODULEPATH", "/contrib/EPIC/spack-stack/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core")

stack_intel_ver=os.getenv("stack_intel_ver") or "2021.3.0"
load(pathJoin("stack-intel", stack_intel_ver))
Expand All @@ -15,9 +14,6 @@ load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))
cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.9.12"
load(pathJoin("stack-python", stack_python_ver))

load("ufs_common")

setenv("CC", "mpiicc")
Expand Down
6 changes: 1 addition & 5 deletions modulefiles/ufs_orion.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ help([[
loads UFS Model prerequisites for Orion/Intel
]])

prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/spack-stack-1.4.1/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/work/noaa/da/role-da/spack-stack/modulefiles")
prepend_path("MODULEPATH", "/work/noaa/epic/role-epic/spack-stack/orion/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core")

stack_intel_ver=os.getenv("stack_intel_ver") or "2022.0.2"
load(pathJoin("stack-intel", stack_intel_ver))

stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.1"
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.9.7"
load(pathJoin("stack-python", stack_python_ver))

cmake_ver=os.getenv("cmake_ver") or "3.23.1"
load(pathJoin("cmake", cmake_ver))

Expand Down
6 changes: 1 addition & 5 deletions modulefiles/ufs_s4.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@ help([[
loads UFS Model prerequisites for S4/Intel
]])

prepend_path("MODULEPATH", "/data/prod/jedi/spack-stack/spack-stack-1.4.1/envs/ufs-pio-2.5.10/install/modulefiles/Core")
prepend_path("MODULEPATH", "/data/prod/jedi/spack-stack/modulefiles")
prepend_path("MODULEPATH", "/data/prod/jedi/spack-stack/spack-stack-1.5.0/envs/unified-env/install/modulefiles/Core")

stack_intel_ver=os.getenv("stack_intel_ver") or "2021.5.0"
load(pathJoin("stack-intel", stack_intel_ver))

stack_impi_ver=os.getenv("stack_impi_ver") or "2021.5.0"
load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver))

stack_python_ver=os.getenv("stack_python_ver") or "3.9.12"
load(pathJoin("stack-python", stack_python_ver))

load("ufs_common")

setenv("CC", "mpiicc")
Expand Down
11 changes: 6 additions & 5 deletions tests/fv3_conf/fv3_slurm.IN_hercules
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@ export OMP_NUM_THREADS=@[THRD]
export ESMF_RUNTIME_PROFILE=ON
export ESMF_RUNTIME_PROFILE_OUTPUT="SUMMARY"

# For mvapich2
if [[ @[RT_COMPILER] == gnu ]]; then
export MV2_SHMEM_COLL_NUM_COMM=128
fi

# Avoid job errors because of filesystem synchronization delays
sync && sleep 1

if [[ @[RT_COMPILER] == intel ]]; then
srun --label -n @[TASKS] ./fv3.exe
elif [[ @[RT_COMPILER] == gnu ]]; then
mpirun -n @[TASKS] -N @[TPN] ./fv3.exe
fi
srun --label -n @[TASKS] ./fv3.exe

echo "Model ended: " `date`
echo -n " $( date +%s )," >> job_timestamp.txt
Loading