Skip to content

Update netcdf clobber mode for MPAS global and regional stats streams#8347

Open
stephenprice wants to merge 5 commits into
E3SM-Project:masterfrom
stephenprice:stephenprice/glc/update-mpas-streams-for-stats
Open

Update netcdf clobber mode for MPAS global and regional stats streams#8347
stephenprice wants to merge 5 commits into
E3SM-Project:masterfrom
stephenprice:stephenprice/glc/update-mpas-streams-for-stats

Conversation

@stephenprice
Copy link
Copy Markdown
Contributor

For multidecadal simulations with MALI active in E3SM, degraded performance was observed after several decades of simulation (approx. 50% less SYPD after 70 years). This degradation was eventually linked back to poor I/O performance when MALI writes repeatedly to the same global and/or regional stats file(s). Initial performance was recovered by changing these settings to write a single global and regional stats file for each year of simulation. Testing confirmed changes work for short simulations (e.g., several days with daily file writes) and a year-long test is pending completion.

This PR is updated to also include changes to the globalStats file for mpas-ocean (original PR here; branch renamed to reflect broader changes).

@stephenprice
Copy link
Copy Markdown
Contributor Author

Note that I'm in the middle of testing this right now, both with the 'truncate' and 'overwrite' settings in place. Mainly, I wanted to get the PR open again for discussion with the new branch name.

@stephenprice stephenprice changed the title Stephenprice/glc/update mpas streams for stats Update netcdf clobber mode for MPAS global and regional stats streams Apr 30, 2026
Based on testing, reverting mpas-o settings to previous values and
altering mali values to be similar to those for mpas-o. That is, set
so that mali global and regional stats files are written out monthly
with 'truncate' as the clobber mode.
@stephenprice
Copy link
Copy Markdown
Contributor Author

Based on testing and further discussion, the following updates have been made:

  1. default clobber mode for mpas-o globalStats files set back to "truncate" (as it was originally)
  2. mali now also uses "truncate" for global and regional stats files clobber mode
  3. mali global and regional stats file creation set to monthly, as per mpas-o

Copy link
Copy Markdown
Contributor

@trhille trhille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @stephenprice! I've compared these with the mpas-ocean settings and they are indeed the same, which was the goal.

Copy link
Copy Markdown
Contributor

@matthewhoffman matthewhoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stephenprice , thanks for the additional adjustments. These details look exactly what we settled on in our follow up discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MPAS-albany-landice Concerning the MPAS-Albany land ice model Performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants