Skip to content

Commit

Permalink
Fix hi-res resources and CMEPS write time, add WW3 restart (NOAA-EMC#…
Browse files Browse the repository at this point in the history
…1805)

We're getting ready to run HR2 and in the process have found a few minor bugs.
While these shouldn't effect others running low resolution cases, I wanted to push
these bug fixes for anyone trying to run high resolution.  These bugs address: 
* Issue NOAA-EMC#1793 Adding extra tasks to write component for hera for C768 (otherwise
crashes due to memory)
* Avoiding requesting two wave restarts at the same time (this is a known bug that
the workflow usually has work around for.  A fix for the underlying WW3 bug should
be coming within the next month, but this will get us through that waiting period) 
* Adding a setting that was missed when updating the ufs-waether-model that ensure
that CMEPS restarts are written in a reasonable time (See:
ufs-community/ufs-weather-model#1873 for more details)
  • Loading branch information
JessicaMeixner-NOAA authored Aug 21, 2023
1 parent df5f941 commit 282a10c
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parm/config/gfs/config.ufs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ case "${fv3_res}" in
export WRITE_GROUP=2
export WRTTASK_PER_GROUP_PER_THREAD_PER_TILE=10
export WRITE_GROUP_GFS=4
export WRTTASK_PER_GROUP_PER_THREAD_PER_TILE_GFS=10
export WRTTASK_PER_GROUP_PER_THREAD_PER_TILE_GFS=20
;;
"C1152")
export DELTIM=120
Expand Down
4 changes: 3 additions & 1 deletion parm/config/gfs/config.wave
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ if [[ "${CDUMP}" != gfs ]]; then # Setting is valid for GDAS and GEFS
else # This is a GFS run
rst_dt_gfs=$(( restart_interval_gfs * 3600 )) # TODO: This calculation needs to move to parsing_namelists_WW3.sh
if [[ ${rst_dt_gfs} -gt 0 ]]; then
export DT_1_RST_WAV=${rst_dt_gfs:-0} # time between restart files, set to DTRST=1 for a single restart file
export DT_1_RST_WAV=0 #${rst_dt_gfs:-0} # time between restart files, set to DTRST=1 for a single restart file
#temporarily set to zero to avoid a clash in requested restart times
#which makes the wave model crash a fix for the model issue will be coming
export DT_2_RST_WAV=${rst_dt_gfs:-0} # restart stride for checkpointing restart
else
rst_dt_fhmax=$(( FHMAX_WAV * 3600 ))
Expand Down
1 change: 1 addition & 0 deletions parm/ufs/nems.configure.cpld.IN
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ MED_attributes::
history_ymd = -999
coupling_mode = @[CPLMODE]
history_tile_atm = @[ATMTILESIZE]
pio_rearranger = box
::
ALLCOMP_attributes::
ScalarFieldCount = 2
Expand Down
1 change: 1 addition & 0 deletions parm/ufs/nems.configure.cpld_aero.IN
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ MED_attributes::
history_ymd = -999
coupling_mode = @[CPLMODE]
history_tile_atm = @[ATMTILESIZE]
pio_rearranger = box
::
ALLCOMP_attributes::
ScalarFieldCount = 2
Expand Down
1 change: 1 addition & 0 deletions parm/ufs/nems.configure.cpld_aero_outerwave.IN
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ MED_attributes::
history_ymd = -999
coupling_mode = @[CPLMODE]
history_tile_atm = @[ATMTILESIZE]
pio_rearranger = box
::
ALLCOMP_attributes::
ScalarFieldCount = 2
Expand Down
1 change: 1 addition & 0 deletions parm/ufs/nems.configure.cpld_outerwave.IN
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ MED_attributes::
history_ymd = -999
coupling_mode = @[CPLMODE]
history_tile_atm = @[ATMTILESIZE]
pio_rearranger = box
::
ALLCOMP_attributes::
ScalarFieldCount = 2
Expand Down
1 change: 1 addition & 0 deletions parm/ufs/nems.configure.cpld_wave.IN
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ MED_attributes::
history_ymd = -999
coupling_mode = @[CPLMODE]
history_tile_atm = @[ATMTILESIZE]
pio_rearranger = box
::
ALLCOMP_attributes::
ScalarFieldCount = 2
Expand Down

0 comments on commit 282a10c

Please sign in to comment.