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

cpl_scalar fields should be initialized in non-CSG components when created #2369

Closed
DeniseWorthen opened this issue Jul 17, 2024 · 0 comments · Fixed by #2370, NOAA-EMC/CICE#83 or NOAA-EMC/MOM6#135
Assignees
Labels
bug Something isn't working

Comments

@DeniseWorthen
Copy link
Collaborator

DeniseWorthen commented Jul 17, 2024

Description

Non-CSG components do not use or set the scalar index for NTile. In certain cases, the scalar field value for this index has been found to be non-zero (NaN in debug compiles). This is the cause of the failure reported in #2338.

To Reproduce:

Run the case reported in #2338 and modify the required routines to print out the cpl_scalar values retrieved by CMEPS from each component.

Additional context

So far, this condition was found on a single platform and only for intel debug. I was able to force a GNU debug compile on Derecho, and the case did not fail. It has also not been seen for any component other than MOM6, even though all components (WW3, CICE and MOM6) create and set the scalar field in the same way.

Initializing the scalar field in MOM6 alone resolves #2338, but initialization should be done for all non-CSG components (those which do not use the NTile scalar).

Output

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
No open projects
1 participant