-
Notifications
You must be signed in to change notification settings - Fork 382
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
Remove ocean unused variable RediKappaData #5575
Remove ocean unused variable RediKappaData #5575
Conversation
Tested this PR with the ocean stand-alone compass test |
OMG, thanks for figuring this out @mark-petersen! I'll test this on all the configurations that were giving us trouble as soon as I can. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonderful, @mark-petersen!
I can confirm that this fixes the issue I have been seeing with the pr
suite on Chrysalis with Gnu compilers. With this fix, the suite completes, whereas without it, it hangs on the EC30to60 performance test.
I will also test on Perlmutter (when available) and Chicoma (tomorrow) but I think the fix on Chrysalis alone is enough to justify approving this change.
Unfortunately, this doesn't seem to completely solve the issues on Perlmutter or Chicoma. I'm still seeing PIO errors (but only in optimized runs). See, for example, on Perlmutter:
and on Chicoma:
|
…5575) Remove ocean unused variable RediKappaData The variable RediKappaData exists in the Registry file but is not used in the code. It appears that the gnu compiler removes some underlying information about the array in optimized mode, and then the MPI communication hangs when it tries to communicate the size of the array. When the array is removed the simulation no longer hangs on start-up. Fixes #5574 [BFB]
passes:
merged to next |
This merge updates the E3SM-Project submodule from [c292bec000](https://github.com/E3SM-Project/E3SM/tree/c292bec000) to [4b3e611fee](https://github.com/E3SM-Project/E3SM/tree/4b3e611fee). This update includes the following MPAS-Ocean and MPAS-Frameworks PRs (check mark indicates bit-for-bit with previous PR in the list): - [ ] (ocn) E3SM-Project/E3SM#5418 - [ ] (ocn) E3SM-Project/E3SM#5447 - [ ] (ocn) E3SM-Project/E3SM#5568 - [ ] (ocn) E3SM-Project/E3SM#5583 - [ ] (ocn) E3SM-Project/E3SM#5575 - [ ] (ocn) E3SM-Project/E3SM#5600
The variable
RediKappaData
exists in the Registry file but is not used in the code. It appears that the gnu compiler removes some underlying information about the array in optimized mode, and then the MPI communication hangs when it tries to communicate the size of the array. When the array is removed the simulation no longer hangs on start-up.The variable
RediKappaData
was meant for the option of entering a spatially-variable data field from input. Since it has not been used for three years, we should remove it. If this feature is needed in the future, it can be added in properly and tested at that time.Fixes #5574
[BFB]