Skip to content

Commit

Permalink
Add sfcprep to config.resources.nco.static (#3031)
Browse files Browse the repository at this point in the history
Per a request from the NCO SPA (Diane Stokes) assigned to the
GFSv16.3.20 implementation, the sfcprep block that was added to
`config.resources.emc.dyn` for dev mode is now also added to
`config.resources.nco.static.` This makes both resource configs
consistent with each other for the emcsfc_sfc_prep job. This also
removes a non-fatal error from the sourcing of `config.resources` at
runtime (due to the "sfcprep" job not being in the resource config at
runtime).

Refs #2913
  • Loading branch information
KateFriedman-NOAA authored Oct 23, 2024
1 parent 1e3b009 commit 95caf6c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion parm/config/config.resources.emc.dyn
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ $# -ne 1 ]; then

echo "Must specify an input task argument to set resource variables!"
echo "argument can be any one of the following:"
echo "anal analcalc analdiag gldas fcst post vrfy metp arch echgres"
echo "sfcprep prep anal analcalc analdiag gldas fcst post vrfy metp arch echgres"
echo "eobs ediag eomg eupd ecen esfc efcs epos earc"
echo "waveinit waveprep wavepostsbs wavepostbndpnt wavepostbndpntbll wavepostpnt"
echo "wavegempak waveawipsbulls waveawipsgridded"
Expand Down
13 changes: 11 additions & 2 deletions parm/config/config.resources.nco.static
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ $# -ne 1 ]; then

echo "Must specify an input task argument to set resource variables!"
echo "argument can be any one of the following:"
echo "anal analcalc analdiag gldas fcst post vrfy metp arch echgres"
echo "sfcprep prep anal analcalc analdiag gldas fcst post vrfy metp arch echgres"
echo "eobs ediag eomg eupd ecen esfc efcs epos earc"
echo "waveinit waveprep wavepostsbs wavepostbndpnt wavepostbndpntbll wavepostpnt"
echo "wavegempak waveawipsbulls waveawipsgridded"
Expand All @@ -24,7 +24,16 @@ echo "BEGIN: config.resources"

export npe_node_max=128

if [ $step = "prep" -o $step = "prepbufr" ]; then
if [ $step = "sfcprep" ]; then

export wtime_sfcprep="00:08:00"
export npe_sfcprep=1
export nth_sfcprep=1
export npe_node_sfcprep=1
export NTASKS=$npe_sfcprep
export memory_sfcprep="2GB"

elif [ $step = "prep" -o $step = "prepbufr" ]; then

eval "export wtime_$step='00:45:00'"
eval "export npe_$step=4"
Expand Down

0 comments on commit 95caf6c

Please sign in to comment.