Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
32f40af
rename & update derecho intel modulefile
gspetro-NOAA Apr 1, 2026
7a02dfc
update derecho gnu modulefile
gspetro-NOAA Apr 1, 2026
36472bc
update gaeac6 llvm modulefile
gspetro-NOAA Apr 1, 2026
da57f5e
update orion llvm modulefile
gspetro-NOAA Apr 1, 2026
7de8513
update hercules modulesfiles for ss2.x
gspetro-NOAA Apr 1, 2026
6720dab
update ursa modulefiles for ss2.x
gspetro-NOAA Apr 1, 2026
9bb7905
rm deprecated intel classic modulefiles
gspetro-NOAA Apr 1, 2026
a57b27d
update ufs_common.lua
gspetro-NOAA Apr 1, 2026
5c24bf1
update acorn modulefile info
gspetro-NOAA Apr 2, 2026
a58f290
update cmake version; rm zlib
gspetro-NOAA Apr 2, 2026
d95a5ab
rename acorn modulefile; preliminary updates
gspetro-NOAA Apr 2, 2026
8bf221b
update CMAKE_Platform
gspetro-NOAA Apr 2, 2026
a9ed6c9
fix fms version
gspetro-NOAA Apr 2, 2026
c7b8c98
update .gitmodules & UFSATM hash
gspetro-NOAA Apr 2, 2026
6470dcd
update ccpp sfcsub
gspetro-NOAA Apr 2, 2026
c2eb0be
Merge branch 'ufs-community:develop' into feature/ss2.x
gspetro-NOAA Apr 3, 2026
047c9cf
fix modulefiles
gspetro-NOAA Apr 3, 2026
344e688
Merge branch 'feature/ss2.x' of github.com:gspetro-NOAA/ufs-weather-m…
gspetro-NOAA Apr 3, 2026
c25f203
rm purge
gspetro-NOAA Apr 4, 2026
d413695
switch from sp to ip requirement
gspetro-NOAA Apr 4, 2026
0a4e090
update to ip 5 required
gspetro-NOAA Apr 6, 2026
1299c25
update UFSATM hash
gspetro-NOAA Apr 6, 2026
9101f4c
Merge branch 'feature/ss2.x' of github.com:gspetro-NOAA/ufs-weather-m…
gspetro-NOAA Apr 6, 2026
9bcc294
update UFSATM hash
gspetro-NOAA Apr 16, 2026
c7d6b92
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
gspetro-NOAA Apr 16, 2026
22df97c
add back intel/ifort modulefiles
gspetro-NOAA Apr 16, 2026
d770da0
rm blank line at EOF
gspetro-NOAA Apr 16, 2026
0e74863
revert derecho intel modulefile
gspetro-NOAA Apr 16, 2026
3dada52
update ufsatm hash w/ccpp physic syntax fix
gspetro-NOAA Apr 17, 2026
76faf43
fix nccmp ver in ursa modulefiles
gspetro-NOAA Apr 17, 2026
bfdeffa
Merge branch 'feature/ss2.x' of github.com:gspetro-NOAA/ufs-weather-m…
gspetro-NOAA Apr 17, 2026
00cb800
rm old cheyenne cmake files
gspetro-NOAA Apr 17, 2026
25d015b
rm -no-ip flag
gspetro-NOAA Apr 17, 2026
ffa7633
propagate ccpp & fv3 changes upwards
gspetro-NOAA Apr 17, 2026
660f426
rm -no-ip CMake flag
gspetro-NOAA Apr 17, 2026
42df89f
mv pm_ideal_doubly_periodic beside other intel tests in rt.conf
gspetro-NOAA Apr 17, 2026
e7f8f53
change intelllvm to oneapi
gspetro-NOAA Apr 17, 2026
4609bda
change intelllvm to oneapi
gspetro-NOAA Apr 17, 2026
5a1c2ed
sync UFSATM
gspetro-NOAA Apr 17, 2026
87828a9
Merge branch 'develop' of https://github.com/ufs-community/ufs-weathe…
gspetro-NOAA Apr 17, 2026
752275f
add rt_oneapi.conf for testing
gspetro-NOAA Apr 20, 2026
d504298
sync w/develop
gspetro-NOAA Apr 25, 2026
c8c6c95
switch intel compile jobs to oneapi
gspetro-NOAA Apr 27, 2026
50cc1a8
Merge branch 'feature/ss2.x' of github.com:gspetro-NOAA/ufs-weather-m…
gspetro-NOAA Apr 27, 2026
bc27700
merge intel & intelllvm tests into oneapi
gspetro-NOAA Apr 27, 2026
25352df
update setenv statements in modulefiles
gspetro-NOAA Apr 27, 2026
702234b
comment out duplicate compile
gspetro-NOAA Apr 27, 2026
d09389b
comment out duplicate compile
gspetro-NOAA Apr 27, 2026
5d90f69
ursa log to run through CI
gspetro-NOAA Apr 28, 2026
ad24bb5
hercules log to run through CI
gspetro-NOAA Apr 28, 2026
f0653ef
increase throttle to 25 for Derecho/Rocoto
gspetro-NOAA Apr 28, 2026
87b9d2d
update gaea C6 oneapi modulefile
gspetro-NOAA Apr 28, 2026
f51a987
orion log for ci testing
gspetro-NOAA Apr 29, 2026
4705ac5
update ufsatm hash
gspetro-NOAA Apr 29, 2026
a9c1539
FB hash update
gspetro-NOAA Apr 29, 2026
577fe53
modify derecho modulefile
gspetro-NOAA Apr 30, 2026
256f711
Merge branch 'feature/ss2.x' of https://github.com/gspetro-NOAA/ufs-w…
gspetro-NOAA Apr 30, 2026
8b5763c
update derecho modulefile
gspetro-NOAA Apr 30, 2026
0da54ea
update UFSATM hash
gspetro-NOAA May 1, 2026
5a4caee
Merge branch 'feature/ss2.x' of https://github.com/gspetro-NOAA/ufs-w…
gspetro-NOAA May 1, 2026
ff92e0a
update FB hash
gspetro-NOAA May 1, 2026
f2dbe40
sync w/develop
gspetro-NOAA May 1, 2026
60095d1
sync w/develop
gspetro-NOAA May 7, 2026
0b15094
add LM4-driver PR
gspetro-NOAA May 7, 2026
87cf4ae
fix derecho compiler names
gspetro-NOAA May 7, 2026
ca63aed
update UFSATM hash
gspetro-NOAA May 7, 2026
8d49ddd
rm python load from derecho gnu
gspetro-NOAA May 8, 2026
6a6f4e6
sync w/develop
gspetro-NOAA May 14, 2026
19bccc4
sync w/develop
gspetro-NOAA May 28, 2026
4a9619f
fix linter error
gspetro-NOAA May 28, 2026
990944b
update lm4 intel test to oneapi
gspetro-NOAA May 28, 2026
3443a3c
update UFSATM hash & sync w/develop
gspetro-NOAA Jun 3, 2026
fa54d03
hercules rt log
gspetro-NOAA Jun 5, 2026
8b1beca
update UFSATM hash
gspetro-NOAA Jun 8, 2026
a85da45
Merge branch 'feature/ss2.x' of github.com:gspetro-NOAA/ufs-weather-m…
gspetro-NOAA Jun 8, 2026
ded3623
sync w/develop
gspetro-NOAA Jun 8, 2026
98b897f
gaea rt log results
gspetro-NOAA Jun 9, 2026
b08f71e
ursa testing results
gspetro-NOAA Jun 10, 2026
2899b72
Merge branch 'feature/ss2.x' of https://github.com/gspetro-NOAA/ufs-w…
gspetro-NOAA Jun 10, 2026
708b91d
update UFSATM hash; sync w/develop
gspetro-NOAA Jun 11, 2026
9a0bc0f
Merge branch 'feature/ss2.x' of github.com:gspetro-NOAA/ufs-weather-m…
gspetro-NOAA Jun 11, 2026
8d68d1b
orion ss testing results
gspetro-NOAA Jun 11, 2026
7c3eb09
F90 -> FC; rm comment
gspetro-NOAA Jun 11, 2026
50ae6f1
Merge branch 'feature/ss2.x' of github.com:gspetro-NOAA/ufs-weather-m…
gspetro-NOAA Jun 11, 2026
b284c39
sync w/develop
gspetro-NOAA Jun 15, 2026
9639109
resolve issue #3213
gspetro-NOAA Jun 15, 2026
4d03f53
Merge branch 'feature/ss2.x' of https://github.com/gspetro-NOAA/ufs-w…
gspetro-NOAA Jun 15, 2026
4f85fe2
sync w/develop
gspetro-NOAA Jun 17, 2026
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
12 changes: 8 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[submodule "UFSATM"]
path = UFSATM
url = https://github.com/NOAA-EMC/ufsatm
branch = develop
#url = https://github.com/NOAA-EMC/ufsatm
#branch = develop
url = https://github.com/gspetro-NOAA/ufsatm
branch = feature/ss2.x
[submodule "WW3"]
path = WW3
url = https://github.com/NOAA-EMC/WW3
Expand Down Expand Up @@ -44,8 +46,10 @@
branch = develop
[submodule "LM4-driver"]
path = LM4-driver
url = https://github.com/NOAA-GFDL/LM4-NUOPC-driver
branch = develop
#url = https://github.com/NOAA-GFDL/LM4-NUOPC-driver
#branch = develop
url = https://github.com/JustinPerket/LM4-NUOPC-driver.git
branch = tmp/LM42025.03
[submodule "fire_behavior"]
path = fire_behavior
url = https://github.com/NOAA-EMC/fire_behavior
Expand Down
2 changes: 1 addition & 1 deletion CDEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -traceback")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -assume realloc_lhs")
if(FASTER)
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz -no-ip")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz")
else()
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fp-model precise")
endif()
Expand Down
2 changes: 1 addition & 1 deletion CICE-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -traceback")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -FR -convert big_endian -assume byterecl -ftz -align array64byte")
if(FASTER)
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz -no-ip")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz")
else()
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fp-model precise")
endif()
Expand Down
2 changes: 1 addition & 1 deletion CMEPS-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -g -traceback")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -assume realloc_lhs")
if(FASTER)
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz -no-ip")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz")
else()
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -fp-model precise")
endif()
Expand Down
28 changes: 27 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ if(CMEPS OR CDEPS)
endif()

find_package(bacio 2.4.0 REQUIRED)
find_package(sp 2.3.3 REQUIRED)
find_package(ip 5 REQUIRED)
find_package(w3emc 2.9.2 REQUIRED)

if(MPAS)
Expand Down Expand Up @@ -235,6 +235,32 @@ endif()
###############################################################################
if(UFS_GOCART)
add_subdirectory(GOCART)
# This ugly hack is necessary to avoid the error from buggy fpp in Intel compiler version 2025.2.1
#
# If:
# 1) we are on Gaea C6 AND
# 2) the Fortran compiler is IntelLLVM version 2025.2.1 AND
# 3) an fpp from an earlier compiler version exists THEN
# explicitly set the name of the fpp preprocessor executable for all targets in GOCART
#
# Once newer Intel compiler (with fixed fpp) is installed on Gaea C6 this should be removed
#
if(CMAKE_Platform STREQUAL "gaeac6.oneapi" AND
CMAKE_Fortran_COMPILER_ID STREQUAL "IntelLLVM" AND CMAKE_Fortran_COMPILER_VERSION VERSION_EQUAL 2025.2.1 AND
EXISTS "/opt/intel/oneapi/compiler/2025.0/bin/fpp")

target_compile_options(Process_Library PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(Chem_Shared2G PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(GA_Environment PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(CA2G_GridComp PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(DU2G_GridComp PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(NI2G_GridComp PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(SS2G_GridComp PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(SU2G_GridComp PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(GOCART2G_GridComp PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(Aerosol_GridComp PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
target_compile_options(UFS_Aerosols PRIVATE -fpp-name=/opt/intel/oneapi/compiler/2025.0/bin/fpp -Qoption,fpp,-P)
endif()
endif()

###############################################################################
Expand Down
2 changes: 1 addition & 1 deletion MOM6-interface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "^(Intel)$")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -i4 -r8")
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fno-alias -auto -safe-cray-ptr -ftz -assume byterecl -sox")
if(FASTER)
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz -no-ip")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz")
else()
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -debug minimal -fp-model source")
endif()
Expand Down
2 changes: 1 addition & 1 deletion UFSATM
2 changes: 1 addition & 1 deletion cmake/Intel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if(DEBUG)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -ftrapuv")
else()
if(FASTER)
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz -no-ip")
set(CMAKE_Fortran_FLAGS_RELEASE "-O3 -fp-model precise -assume buffered_stdout -fno-alias -align all -debug minimal -qoverride-limits -ftz")
set(CMAKE_C_FLAGS_RELEASE "-O3 -fp-model precise -debug minimal -qoverride-limits -ftz")
else()
set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -debug minimal -qoverride-limits")
Expand Down
4 changes: 4 additions & 0 deletions cmake/IntelLLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ if(CMAKE_Platform STREQUAL "derecho.intel")
set(CMAKE_Fortran_LINK_FLAGS "-Wl,--copy-dt-needed-entries")
endif()

if(CMAKE_Platform STREQUAL "derecho.oneapi")
set(CMAKE_Fortran_LINK_FLAGS "-Wl,--copy-dt-needed-entries")
endif()

if(NOT 32BIT)
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -real-size 64")
endif()
Expand Down
Empty file removed cmake/configure_cheyenne.gnu.cmake
Empty file.
1 change: 1 addition & 0 deletions cmake/configure_orion.oneapi.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
1 change: 1 addition & 0 deletions cmake/configure_ursa.oneapi.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set(PARALLEL_NETCDF ON CACHE BOOL "Enable parallel NetCDF" FORCE)
2 changes: 1 addition & 1 deletion fire_behavior
Submodule fire_behavior updated 1 files
+1 −1 CMakeLists.txt
25 changes: 25 additions & 0 deletions modulefiles/ufs_acorn.oneapi.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
help([[
Load environment to build UFS on Acorn with Intel compiler
]])

prepend_path("MODULEPATH", "/lfs/h1/emc/nceplibs/noscrub/spack-stack/spack-stack-2.1.0/envs/ue-oneapi-2024.2.1/modules/Core")

load("stack-intel-oneapi-compilers/2024.2.1") -- or load("stack-intel-oneapi-compilers") ?
load("stack-cray-mpich/8.1.29") -- or load("stack-cray-mpich") ?

--Avoid production installations; use spack-stack only:
remove_path("MODULEPATH", "/apps/ops/prod/libs/modulefiles/compiler/intel/19.1.3.304")
remove_path("MODULEPATH", "/apps/ops/prod/libs/modulefiles/mpi/intel/19.1.3.304/cray-mpich/8.1.4")
remove_path("MODULEPATH", "/apps/ops/prod/libs/modulefiles/mpi/intel/19.1.3.304/cray-mpich/8.1.7")
remove_path("MODULEPATH", "/apps/prod/lmodules/intel/19.1.3.304")
remove_path("MODULEPATH", "/apps/prod/lmodules/INTEL_cray_mpich/19.1.3.304/cray-mpich/8.1.4")

load("cmake") -- or load("cmake/3.31.8") ?
load("ufs_common")

setenv("CC", "cc")
setenv("CXX", "CC")
setenv("FC", "ftn")
setenv("CMAKE_Platform", "acorn")

whatis("Description: UFS build environment")
21 changes: 10 additions & 11 deletions modulefiles/ufs_common.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@ whatis("Description: UFS build environment common libraries")
help([[Load UFS Model common libraries]])

local ufs_modules = {
{["jasper"] = "2.0.32"},
{["jasper"] = "4.2.4"},
{["libpng"] = "1.6.37"},
{["hdf5"] = "1.14.3"},
{["hdf5"] = "1.14.5"},
{["netcdf-c"] = "4.9.2"},
{["netcdf-fortran"] = "4.6.1"},
{["parallelio"] = "2.6.2"},
{["esmf"] = "8.8.0"},
{["fms"] = "2024.02"},
{["bacio"] = "2.4.1"},
{["crtm"] = "2.4.0.1"},
{["fms"] = "2025.03-gfs-constants"},
{["bacio"] = "2.6.0"},
{["crtm"] = "3.1.3"},
{["g2"] = "3.5.1"},
{["g2tmpl"] = "1.13.0"},
{["ip"] = "5.1.0"},
{["sp"] = "2.5.0"},
{["w3emc"] = "2.10.0"},
{["gftl-shared"] = "1.9.0"},
{["g2tmpl"] = "1.17.0"},
{["ip"] = "5.4.0"},
{["w3emc"] = "2.13.0"},
{["gftl-shared"] = "1.11.0"},
{["mapl"] = "2.53.4-esmf-8.8.0"},
{["scotch"] = "7.0.4"},
{["scotch"] = "7.0.10"},
}

for i = 1, #ufs_modules do
Expand Down
20 changes: 12 additions & 8 deletions modulefiles/ufs_derecho.gnu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,24 @@ loads UFS Model prerequisites for Derecho/GNU
]])

setenv("LMOD_TMOD_FIND_FIRST","yes")
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/spack-stack/derecho/spack-stack-1.9.2/envs/ue-gcc-12.4-zlib-1.2.13/install/modulefiles/Core")

unload("ncarcompilers")
stack_gnu_ver=os.getenv("stack_gnu_ver") or "12.4.0"
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/spack-stack/derecho/spack-stack-2.1.0/envs/ue-gcc-13.3.1/modules/Core")
prepend_path("MODULEPATH", "/opt/cray/pe/modulefiles")

-- unload("ncarcompilers")

load("crayenv/25.03")

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

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

cmake_ver=os.getenv("cmake_ver") or "3.27.9"
load(pathJoin("cmake", cmake_ver))
unload("cray-libsci")

stack_python_ver=os.getenv("stack_python_ver") or "3.11.7"
load(pathJoin("stack-python", stack_python_ver))
cmake_ver=os.getenv("cmake_ver") or "3.31.8"
load(pathJoin("cmake", cmake_ver))

load("ufs_common")

Expand Down
40 changes: 40 additions & 0 deletions modulefiles/ufs_derecho.oneapi.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
help([[
loads UFS Model prerequisites for NOAA Parallelworks/Intel
]])

purge()

setenv("LMOD_TMOD_FIND_FIRST","yes")

prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/spack-stack/derecho/spack-stack-2.1.0/envs/ue-oneapi-2025.3.1/modules/Core")
prepend_path("MODULEPATH", "/glade/work/epicufsrt/contrib/spack-stack/derecho/installs/oneapi-2025.3.1/modulefiles")
prepend_path("MODULEPATH", "/opt/cray/pe/modulefiles")

load("crayenv/25.03")
-- unload("ncarcompilers")

stack_intel_ver=os.getenv("stack_intel_ver") or "2025.3.1"
load(pathJoin("stack-intel-oneapi-compilers", stack_intel_ver))

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

unload("cray-libsci")

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

load("ufs_common")

nccmp_ver=os.getenv("nccmp_ver") or "1.9.0.1"
load(pathJoin("nccmp", nccmp_ver))

setenv("CC", "cc")
setenv("CXX", "CC")
setenv("FC", "ftn")
setenv("I_MPI_CC", "icx")
setenv("I_MPI_CXX", "icpx")
setenv("I_MPI_FC", "ifx")

setenv("CMAKE_Platform", "derecho.oneapi")
whatis("Description: UFS build environment")
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,30 @@ help([[

whatis([===[Loads libraries needed for building the UFS Weather Model on Gaea C6]===])

prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-1.9.2/envs/ue-intel-2023.2.0/install/modulefiles/Core")
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/modulefiles")
prepend_path("MODULEPATH", "/ncrc/proj/epic/spack-stack/c6/spack-stack-2.1.0/envs/ue-oneapi-2025.2.1/modules/Core")

stack_intel_ver=os.getenv("stack_intel_ver") or "2023.2.0"
load(pathJoin("stack-intel", stack_intel_ver))
stack_intel_ver=os.getenv("stack_intel_ver") or "2025.2.1"
load(pathJoin("stack-intel-oneapi-compilers", stack_intel_ver))

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

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

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

load("ufs_common")
load("zlib/1.2.13")

nccmp_ver=os.getenv("nccmp_ver") or "1.9.0.1"
load(pathJoin("nccmp", nccmp_ver))

unload("darshan-runtime")
unload("cray-libsci")

unload("intel-classic/2023.2.0")
load("intel-oneapi/2023.2.0")

setenv("I_MPI_CC", "icx")
setenv("I_MPI_CXX", "icpx")
setenv("I_MPI_F90", "ifx")

setenv("I_MPI_FC", "ifx")
setenv("CC","cc")
setenv("CXX","CC")
setenv("FC","ftn")
setenv("CMAKE_Platform","gaeac6.intelllvm")

setenv("CMAKE_Platform","gaeac6.oneapi")
10 changes: 4 additions & 6 deletions modulefiles/ufs_hercules.gnu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,18 @@ help([[
loads UFS Model prerequisites for Hercules/GNU
]])

prepend_path("MODULEPATH", "/apps/contrib/spack-stack/spack-stack-1.9.2/envs/ue-gcc-13.3.0/install/modulefiles/Core")
prepend_path("MODULEPATH", "/apps/contrib/spack-stack/modulefiles")
prepend_path("MODULEPATH", "/apps/contrib/spack-stack/spack-stack-2.1.0/envs/ue-gcc-12.2.0/modules/Core")

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

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

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

load("ufs_common")
load("zlib/1.2.13")

nccmp_ver=os.getenv("nccmp_ver") or "1.9.0.1"
load(pathJoin("nccmp", nccmp_ver))
Expand Down
32 changes: 0 additions & 32 deletions modulefiles/ufs_hercules.intelllvm.lua

This file was deleted.

Loading
Loading