Skip to content

Commit faa116c

Browse files
Revert "Re-enable and upgrade verif-global to use spack-stack 2.0.0, metplus …"
This reverts commit c8b344a.
1 parent 5351a53 commit faa116c

19 files changed

+138
-59
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ body:
4646
- Gaea-C6
4747
- Orion
4848
- Hercules
49+
- Jet
4950
- Cloud
5051
validations:
5152
required: true

dev/jobs/JGFS_ATMOS_VERIFICATION

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,18 @@ for grid in '1p00'; do
3737
declare -rx "${prod_dir}"="${ROTDIR}/${RUN}.${PDY}/${cyc}/products/atmos/grib2/${grid}"
3838
done
3939

40+
# TODO: If none of these are on, why are we running this job?
4041
if [[ "${RUN_GRID2GRID_STEP1}" == "YES" || "${RUN_GRID2OBS_STEP1}" == "YES" || "${RUN_PRECIP_STEP1}" == "YES" ]]; then
4142
# Override the -e in VERIF_GLOBALSH's shebang and un-export SHELLOPTS
4243
# TODO: clean up the verif-global script so it does not raise false-positive errors
4344
source "${USHglobal}/unset_strict.sh"
4445
export -n SHELLOPTS
45-
"${VERIF_GLOBALSH}"
46+
bash -x "${VERIF_GLOBALSH}"
4647
err=$?
4748
source "${USHglobal}/set_strict.sh"
4849
if [[ ${err} -ne 0 ]]; then
4950
exit "${err}"
5051
fi
51-
else
52-
export err=1
53-
err_exit "FATAL ERROR: No verification steps are enabled. Please check your configuration."
5452
fi
5553

5654
if [[ ${KEEPDATA:-"NO"} == "NO" ]]; then

dev/parm/config/gcafs/config.resources

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,43 @@ case ${machine} in
6363
max_tasks_per_node=80
6464
mem_node_max="500GB"
6565
;;
66+
"JET")
67+
case ${PARTITION_BATCH} in
68+
"xjet")
69+
max_tasks_per_node=24
70+
mem_node_max="61GB"
71+
;;
72+
"vjet")
73+
max_tasks_per_node=16
74+
mem_node_max="61GB"
75+
;;
76+
"sjet")
77+
max_tasks_per_node=16
78+
mem_node_max="29GB"
79+
;;
80+
"kjet")
81+
max_tasks_per_node=40
82+
mem_node_max="88GB"
83+
;;
84+
*)
85+
echo "FATAL ERROR: Unknown partition ${PARTITION_BATCH} specified for ${machine}"
86+
exit 3
87+
esac
88+
;;
89+
"S4")
90+
case ${PARTITION_BATCH} in
91+
"s4") max_tasks_per_node=32
92+
mem_node_max="168GB"
93+
;;
94+
"ivy")
95+
max_tasks_per_node=20
96+
mem_node_max="128GB"
97+
;;
98+
*)
99+
echo "FATAL ERROR: Unknown partition ${PARTITION_BATCH} specified for ${machine}"
100+
exit 3
101+
esac
102+
;;
66103
"AWSPW")
67104
export PARTITION_BATCH="compute"
68105
npe_node_max=48

dev/parm/config/gfs/config.base.j2

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -488,12 +488,6 @@ export DO_CA="YES"
488488
export DO_METP="{{ DO_METP }}" # Run METPLUS jobs - set METPLUS settings in config.metp
489489
export DO_FIT2OBS="YES" # Run fit to observations package
490490

491-
# METplus verification is not enabled on Hera or Orion
492-
if [[ "${machine}" == "hera" || "${machine}" == "orion" ]] && [[ ${DO_METP} == "YES" ]]; then
493-
echo "WARNING: METplus verification not supported on ${machine}. Setting DO_METP=NO"
494-
export DO_METP="NO"
495-
fi
496-
497491
#--online archive of netcdf files for fit2obs verification
498492
export FHMAX_FITS=132
499493
if [[ "${FHMAX_FITS}" -gt "${FHMAX_GFS}" ]]; then
@@ -525,6 +519,12 @@ else
525519
fi
526520
fi
527521

522+
# TODO: Enable METplus on Ursa when verif-global has been upgraded to spack-stack 1.9.x+
523+
# TODO: Clean this up by allowing DO_METP to be system-specific and/or allow overriding that parameter
524+
if [[ "${machine}" == "URSA" || "${machine}" == "GAEAC6" || "${machine}" == "ORION" || "${machine}" == "HERCULES" ]]; then
525+
export DO_METP=NO
526+
fi
527+
528528
if [[ "${DOENKFONLY_ATM:-NO}" == "YES" ]] ; then
529529
export RECENTER_ENKF="NO" # Turn off recentering ensemble analysis
530530
export DO_VERFOZN="NO" # Ozone data assimilation monitoring

dev/parm/config/gfs/config.metp

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export VERIF_GLOBALSH=${HOMEverif_global}/ush/run_verif_global_in_global_workflo
2424
## INPUT DATA SETTINGS
2525
export model=${PSLOT}
2626
export model_file_format="pgbf{lead?fmt=%2H}.${RUN}.{init?fmt=%Y%m%d%H}.grib2"
27-
export model_hpss_dir=${ATARDIR}
28-
export model_dir=${ARCDIR}
27+
export model_hpss_dir=${ATARDIR}/..
28+
export model_dir=${ARCDIR}/..
2929
export get_data_from_hpss="NO"
3030
export hpss_walltime="10"
3131
## OUTPUT SETTINGS
@@ -45,40 +45,46 @@ export g2g1_anom_truth_file_format="pgbanl.${RUN}.{valid?fmt=%Y%m%d%H}.grib2"
4545
export g2g1_anom_fhr_min=${FHMIN_GFS}
4646
export g2g1_anom_fhr_max=${FHMAX_GFS}
4747
export g2g1_anom_grid="G002"
48-
export g2g1_anom_gather_by="VALID"
48+
export g2g1_anom_gather_by="VSDB"
4949
export g2g1_pres_truth_name="self_anl"
5050
export g2g1_pres_truth_file_format="pgbanl.${RUN}.{valid?fmt=%Y%m%d%H}.grib2"
5151
export g2g1_pres_fhr_min=${FHMIN_GFS}
5252
export g2g1_pres_fhr_max=${FHMAX_GFS}
5353
export g2g1_pres_grid="G002"
54-
export g2g1_pres_gather_by="VALID"
54+
export g2g1_pres_gather_by="VSDB"
5555
export g2g1_sfc_truth_name="self_f00"
5656
export g2g1_sfc_truth_file_format="pgbf00.${RUN}.{valid?fmt=%Y%m%d%H}.grib2"
5757
export g2g1_sfc_fhr_min=${FHMIN_GFS}
5858
export g2g1_sfc_fhr_max=${FHMAX_GFS}
5959
export g2g1_sfc_grid="G002"
60-
export g2g1_sfc_gather_by="VALID"
60+
export g2g1_sfc_gather_by="VSDB"
61+
export g2g1_mv_database_name="mv_${PSLOT}_grid2grid_metplus"
62+
export g2g1_mv_database_group="NOAA NCEP"
63+
export g2g1_mv_database_desc="Grid-to-grid METplus data for global workflow experiment ${PSLOT}"
6164
# GRID-TO-OBS STEP 1: gfsmetpg2o1
6265
export g2o1_type_list="upper_air conus_sfc"
6366
export g2o1_upper_air_msg_type_list="ADPUPA"
6467
export g2o1_upper_air_vhr_list="00 06 12 18"
6568
export g2o1_upper_air_fhr_min=${FHMIN_GFS}
6669
export g2o1_upper_air_fhr_max="240"
6770
export g2o1_upper_air_grid="G003"
68-
export g2o1_upper_air_gather_by="VALID"
71+
export g2o1_upper_air_gather_by="VSDB"
6972
export g2o1_conus_sfc_msg_type_list="ONLYSF ADPUPA"
7073
export g2o1_conus_sfc_vhr_list="00 03 06 09 12 15 18 21"
7174
export g2o1_conus_sfc_fhr_min=${FHMIN_GFS}
7275
export g2o1_conus_sfc_fhr_max="240"
7376
export g2o1_conus_sfc_grid="G104"
74-
export g2o1_conus_sfc_gather_by="VALID"
77+
export g2o1_conus_sfc_gather_by="VSDB"
7578
export g2o1_polar_sfc_msg_type_list="IABP"
7679
export g2o1_polar_sfc_vhr_list="00 03 06 09 12 15 18 21"
7780
export g2o1_polar_sfc_fhr_min=${FHMIN_GFS}
7881
export g2o1_polar_sfc_fhr_max="240"
7982
export g2o1_polar_sfc_grid="G219"
80-
export g2o1_polar_sfc_gather_by="VALID"
83+
export g2o1_polar_sfc_gather_by="VSDB"
8184
export g2o1_prepbufr_data_run_hpss="NO"
85+
export g2o1_mv_database_name="mv_${PSLOT}_grid2obs_metplus"
86+
export g2o1_mv_database_group="NOAA NCEP"
87+
export g2o1_mv_database_desc="Grid-to-obs METplus data for global workflow experiment ${PSLOT}"
8288
# PRECIP STEP 1: gfsmetppcp1
8389
export precip1_type_list="ccpa_accum24hr"
8490
export precip1_ccpa_accum24hr_model_bucket="06"
@@ -87,7 +93,10 @@ export precip1_ccpa_accum24hr_model_file_format="pgbf{lead?fmt=%2H}.${RUN}.{init
8793
export precip1_ccpa_accum24hr_fhr_min=${FHMIN_GFS}
8894
export precip1_ccpa_accum24hr_fhr_max="180"
8995
export precip1_ccpa_accum24hr_grid="G211"
90-
export precip1_ccpa_accum24hr_gather_by="VALID"
96+
export precip1_ccpa_accum24hr_gather_by="VSDB"
9197
export precip1_obs_data_run_hpss="NO"
98+
export precip1_mv_database_name="mv_${PSLOT}_precip_metplus"
99+
export precip1_mv_database_group="NOAA NCEP"
100+
export precip1_mv_database_desc="Precip METplus data for global workflow experiment ${PSLOT}"
92101

93102
echo "END: config.metp"

dev/parm/config/gfs/config.resources

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,6 @@ case ${step} in
11101110
ntasks=1
11111111
tasks_per_node=1
11121112
memory="80G"
1113-
prepost=True
11141113
;;
11151114

11161115
"echgres")

dev/ush/gw_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
# Determine if HOMEglobal is already set
1212
unset_homegfs=NO
13-
if [[ -z "${HOMEglobal:-}" ]]; then
13+
if [[ -z "${HOMEglobal+x}" ]]; then
1414
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
1515
HOMEglobal=$(cd "${script_dir}" && git rev-parse --show-toplevel)
1616
export HOMEglobal

dev/ush/load_modules.sh

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -152,34 +152,13 @@ case "${MODULE_TYPE}" in
152152
export PYTHONPATH
153153
;;
154154

155-
"verif")
156-
# EMC_verif-global modules -- use that submodule's module files
157-
if [[ "${MACHINE_ID}" == "wcoss2" ]]; then
158-
source "${HOMEglobal}/sorc/verif-global.fd/versions/run.ver"
159-
fi
160-
module use "${HOMEglobal}/sorc/verif-global.fd/modulefiles"
161-
module load "emc_verif_global_${MACHINE_ID}"
162-
export err=$?
163-
if [[ ${err} -ne 0 ]]; then
164-
echo "FATAL ERROR: Failed to load emc_verif_global_${MACHINE_ID}"
165-
exit 1
166-
fi
167-
module list
168-
169-
;;
170-
171-
"run" | "gsi" | "setup" | "upp")
155+
"run" | "gsi" | "verif" | "setup" | "upp")
172156

173157
# Test that the version file exists
174158
if [[ ! -f "${HOMEglobal}/versions/run.ver" ]]; then
175159
echo "FATAL ERROR: ${HOMEglobal}/versions/run.ver does not exist!"
176160
echo "HINT: Run link_workflow.sh first."
177-
# Exit with 0 if loading setup modules (so the user's terminal doesn't close), else with 1
178-
if [[ "${MODULE_TYPE}" == "setup" ]]; then
179-
exit 0
180-
else
181-
exit 1
182-
fi
161+
exit 1
183162
fi
184163

185164
# Load our modules:
@@ -199,8 +178,8 @@ case "${MODULE_TYPE}" in
199178
mod_type="${MODULE_TYPE}"
200179
fi
201180

202-
# Source versions file (except for upp and verification)
203-
if [[ "${mod_type}" != "upp" && "${mod_type}" != "verif" ]]; then
181+
# Source versions file (except for upp)
182+
if [[ "${mod_type}" != "upp" ]]; then
204183
source "${HOMEglobal}/versions/run.ver"
205184
fi
206185

docs/source/hpc.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ The following system software requirements are the minimum for any new or existi
1717
+==============+=============+=======================================+
1818
| Bash | 4.4.20 | |
1919
+--------------+-------------+---------------------------------------+
20-
| Python | 3.11.6 | |
20+
| Python | * 3.8.6 | * 3.10.x is not supported by METplus |
21+
| | * 3.10.13+ | verification software |
22+
| | * 3.11.6+ | * 3.11.6 is packaged with spack-stack |
23+
| | | * 3.9.x is untested |
2124
+--------------+-------------+---------------------------------------+
2225
| Spack-Stack | 1.6.0 | * Available everywhere but WCOSS2 |
2326
+--------------+-------------+---------------------------------------+
@@ -103,7 +106,7 @@ The Global Workflow provides capabilities for deterministic and ensemble forecas
103106
-
104107
-
105108
- X
106-
- X
109+
-
107110
- X
108111
* - Hercules
109112
- 1
@@ -118,7 +121,7 @@ The Global Workflow provides capabilities for deterministic and ensemble forecas
118121
-
119122
-
120123
- X
121-
- X
124+
-
122125
- X
123126
* - Gaea C6
124127
- 1
@@ -133,10 +136,10 @@ The Global Workflow provides capabilities for deterministic and ensemble forecas
133136
-
134137
-
135138
- X
136-
- X
139+
-
137140
- X
138141
* - Hera
139-
- 2
142+
- 1
140143
- X
141144
- X
142145
- X
@@ -148,7 +151,7 @@ The Global Workflow provides capabilities for deterministic and ensemble forecas
148151
- X
149152
-
150153
- X
151-
-
154+
- X
152155
- X
153156
* - Orion
154157
- 2

modulefiles/gw_run.common.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ local common_modules = {
4646
"py-pandas",
4747
"py-python-dateutil",
4848
"py-xarray",
49+
-- TODO: Reenable when MET/METplus and verif-global are at compatible versions
50+
-- "met",
51+
-- "metplus",
4952
}
5053

5154
for _, name in pairs(common_modules) do

0 commit comments

Comments
 (0)