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

fix scalar write issue, fix serial build issue #1974

Merged
merged 15 commits into from
Aug 29, 2023

Conversation

jedwards4b
Copy link
Contributor

Scalars were being lost when the model memory usage was close to the limit for the system. So, for example, CESM test SMS_Ln3.ne30pg3_ne30pg3_mg17.FMTHIST_v0d.derecho_intel
with NTASKS=128 and REST_N=3, REST_OPTION=nsteps
writes 0 in scalar fields.
RMS P0 1.0000E+05 NORMALIZED 0.0000E+00
RMS pbuf_time_idx 1.0000E+00 NORMALIZED 0
RMS nextsw_cday 1.0000E+00 NORMALIZED 0.0000E+00

This fixes that by using the same mechanism for scalars as for non-parallel non-scalars.

@jedwards4b jedwards4b merged commit f52ade0 into NCAR:main Aug 29, 2023
5 checks passed
@jedwards4b jedwards4b deleted the fix_scalar_write_issue branch August 29, 2023 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant