Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ice model dumps history files every timestep then crashes with latest UFSWM #3121

Open
jswhit opened this issue Nov 21, 2024 · 1 comment · May be fixed by #3032
Open

ice model dumps history files every timestep then crashes with latest UFSWM #3121

jswhit opened this issue Nov 21, 2024 · 1 comment · May be fixed by #3032
Labels
bug Something isn't working

Comments

@jswhit
Copy link
Contributor

jswhit commented Nov 21, 2024

What is wrong?

Using the latest version of the UFSWM, the ice model will produce history files every timestep, instead of every 3 hours. Denise Worthen (@DeniseWorthen) identified the problem as an unintended consquence of changes introduced in https://github.com/ufs-community/ufs-weather-model/pull/2437/files.

What should have happened?

the ice model should produce history files every 3h as requested by the GW config.

What machines are impacted?

All or N/A

What global-workflow hash are you using?

develop

Steps to reproduce

run a test using the coupled model. The ice model will dump history files every timestep, then crash after 3 hours with the message

424:
424:  (abort_ice)ABORTED:
424:  (abort_ice) error =
424:  (construct_filename) ERROR: history filename already used for another history s
424:  tream [iceh_inst.2021-03-24-10800.nc](http://iceh_inst.2021-03-24-10800.nc/)

Additional information

No response

Do you have a proposed solution?

Denise identified the following solution, which appears to work

--- a/ush/parsing_namelists_CICE.sh
+++ b/ush/parsing_namelists_CICE.sh
@@ -70,7 +70,7 @@ local CICE_RESTART_FORMAT="pnetcdf2"
 local CICE_DUMPFREQ="y"  # "h","d","m" or "y" for restarts at intervals of "hours", "days", "months" or "years"
 local CICE_DUMPFREQ_N=10000  # Set this to a really large value, as cice, mom6 and cmeps restart interval is controlled by ufs.configure
 local CICE_DIAGFREQ=$(( 86400 / DT_CICE ))  # frequency of diagnostic output in timesteps, recommended for 1x per day
-local CICE_HISTFREQ_N="0, 0, ${FHOUT_ICE}, 1, 1"
+local CICE_HISTFREQ_N="0, 0, ${FHOUT_ICE}, 0, 1"
 if [[ "${RUN}" =~ "gdas" ]]; then
   local CICE_HIST_AVG=".false., .false., .false., .false., .false."   # DA needs instantaneous
 else

@jswhit jswhit added bug Something isn't working triage Issues that are triage labels Nov 21, 2024
@jswhit jswhit changed the title ice model dumps history files every timestep with latest UFSWM ice model dumps history files every timestep then crashes with latest UFSWM Nov 21, 2024
@jswhit2
Copy link
Contributor

jswhit2 commented Nov 21, 2024

This fix is included in PR #3032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants