Skip to content

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
@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