Skip to content

Commit 7fc0f26

Browse files
Update UFS to Sept 9 version (#1073)
Updates the UFS version. This captures the conversion of UFS module from TCL to lua. A couple of the CICE namelist variables are no longer valid in this version, so they are removed. Due to memory limitations on Hera and the increased memory requirements of GOCART, the number of threads is increased there when running the forecast with aerosols. Also added a temporary block to delete any existing gocart output files. The ability to clobber files was deactivated a while ago and I got fed up with forecast jobs failing on retry.
1 parent fd771cb commit 7fc0f26

12 files changed

+29
-16
lines changed

Externals.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# External sub-modules of global-workflow
22

33
[UFS]
4-
tag = Prototype-P8
4+
tag = 3c3548d
55
local_path = sorc/ufs_model.fd
66
repo_url = https://github.com/ufs-community/ufs-weather-model.git
77
protocol = git

modulefiles/module_base.hera.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ load(pathJoin("hpc", "1.1.0"))
88
load(pathJoin("hpc-intel", "18.0.5.274"))
99
load(pathJoin("hpc-impi", "2018.0.4"))
1010

11+
load(pathJoin("cmake", "3.20.1"))
12+
1113
load(pathJoin("hpss", "hpss"))
1214
load(pathJoin("nco", "4.9.1"))
1315
load(pathJoin("gempak", "7.4.2"))
@@ -25,8 +27,8 @@ load(pathJoin("png", "1.6.35"))
2527

2628
load(pathJoin("hdf5", "1.10.6"))
2729
load(pathJoin("netcdf", "4.7.4"))
28-
load(pathJoin("pio", "2.5.2"))
29-
load(pathJoin("esmf", "8.2.1b04"))
30+
load(pathJoin("pio", "2.5.7"))
31+
load(pathJoin("esmf", "8.3.0b09"))
3032
load(pathJoin("fms", "2021.03"))
3133

3234
load(pathJoin("bacio", "2.4.1"))

modulefiles/module_base.orion.lua

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ load(pathJoin("hpc", "1.1.0"))
88
load(pathJoin("hpc-intel", "2018.4"))
99
load(pathJoin("hpc-impi", "2018.4"))
1010

11+
load(pathJoin("cmake", "3.22.1"))
12+
1113
load(pathJoin("nco", "4.8.1"))
1214
load(pathJoin("gempak", "7.5.1"))
1315
load(pathJoin("ncl", "6.6.2"))
@@ -24,8 +26,8 @@ load(pathJoin("png", "1.6.35"))
2426

2527
load(pathJoin("hdf5", "1.10.6"))
2628
load(pathJoin("netcdf", "4.7.4"))
27-
load(pathJoin("pio", "2.5.2"))
28-
load(pathJoin("esmf", "8.2.1b04"))
29+
load(pathJoin("pio", "2.5.7"))
30+
load(pathJoin("esmf", "8.3.0b09"))
2931
load(pathJoin("fms", "2021.03"))
3032

3133
load(pathJoin("bacio", "2.4.1"))

modulefiles/modulefile.ww3.hera.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ load(pathJoin("g2", "3.4.5"))
2020
load(pathJoin("hdf5", "1.10.6"))
2121
load(pathJoin("netcdf", "4.7.4"))
2222

23-
load(pathJoin("w3nco", "2.4.1"))
23+
load(pathJoin("w3emc", "2.9.2"))

modulefiles/modulefile.ww3.orion.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ load(pathJoin("g2", "3.4.5"))
2222
load(pathJoin("hdf5", "1.10.6"))
2323
load(pathJoin("netcdf", "4.7.4"))
2424

25-
load(pathJoin("w3nco", "2.4.1"))
25+
load(pathJoin("w3emc", "2.9.2"))

modulefiles/modulefile.ww3.s4.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ load(pathJoin("g2", "3.4.1"))
1818
load(pathJoin("hdf5", "1.10.6"))
1919
load(pathJoin("netcdf", "4.7.4"))
2020

21-
load(pathJoin("w3nco", "2.4.1"))
21+
load(pathJoin("w3emc", "2.9.2"))

modulefiles/modulefile.ww3.wcoss2.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ load(pathJoin("g2", "3.4.5"))
1919
load(pathJoin("hdf5", "1.10.6"))
2020
load(pathJoin("netcdf", "4.7.4"))
2121

22-
load(pathJoin("w3nco", "2.4.1"))
22+
load(pathJoin("w3emc", "2.9.2"))

parm/config/config.resources

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,11 @@ elif [ ${step} = "fcst" ]; then
311311
# Aerosol model only uses the atm model PETS
312312
export CHMPETS=${ATMPETS}
313313
# Aerosol model runs on same PETs as ATM, so don't add to $NTASKS_TOT
314+
315+
if [[ ${machine} == "HERA" ]]; then
316+
# Need more memory on Hera for aerosols, so increase threads to spread it out
317+
nth_fv3_gfs=${nth_fv3_gfs:-4}
318+
fi
314319
fi
315320

316321
# If using in-line post, add the write tasks to the ATMPETS

sorc/build_ufs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ CLEAN_AFTER=NO
3333

3434
./tests/compile.sh $MACHINE_ID "$MAKE_OPT" $COMPILE_NR $CLEAN_BEFORE $CLEAN_AFTER
3535
mv ./tests/fv3_${COMPILE_NR}.exe ./tests/ufs_model.x
36-
mv ./tests/modules.fv3_${COMPILE_NR} ./tests/modules.ufs_model
36+
mv ./tests/modules.fv3_${COMPILE_NR}.lua ./tests/modules.ufs_model.lua
3737

3838
exit 0

sorc/checkout.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ checkout_gsi="NO"
107107
checkout_gdas="NO"
108108
checkout_gtg="NO"
109109
checkout_wafs="NO"
110-
ufs_model_hash="Prototype-P8"
111110

112111
# Parse command line arguments
113112
while getopts ":chgum:o" option; do
@@ -153,9 +152,9 @@ mkdir -p "${logdir}"
153152
# The checkout version should always be a speciifc commit (hash or tag), not a branch
154153
errs=0
155154
checkout "gfs_utils.fd" "https://github.com/NOAA-EMC/gfs-utils" "7bf599f" ; errs=$((errs + $?))
156-
checkout "ufs_model.fd" "https://github.com/ufs-community/ufs-weather-model" "${ufs_model_hash}"; errs=$((errs + $?))
157-
checkout "ufs_utils.fd" "https://github.com/ufs-community/UFS_UTILS.git" "8b990c0" ; errs=$((errs + $?))
158-
checkout "verif-global.fd" "https://github.com/NOAA-EMC/EMC_verif-global.git" "c267780" ; errs=$((errs + $?))
155+
checkout "ufs_model.fd" "https://github.com/ufs-community/ufs-weather-model" "${ufs_model_hash:-3c3548d}" ; errs=$((errs + $?))
156+
checkout "ufs_utils.fd" "https://github.com/ufs-community/UFS_UTILS.git" "8b990c0" ; errs=$((errs + $?))
157+
checkout "verif-global.fd" "https://github.com/NOAA-EMC/EMC_verif-global.git" "c267780" ; errs=$((errs + $?))
159158

160159
if [[ ${checkout_gsi} == "YES" ]]; then
161160
checkout "gsi_enkf.fd" "https://github.com/NOAA-EMC/GSI.git" "67f5ab4"; errs=$((errs + $?))

0 commit comments

Comments
 (0)