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

Fixes #573. Initialize arrays in mkiau GC #574

Merged
merged 1 commit into from
Apr 21, 2022

Conversation

mathomp4
Copy link
Member

@mathomp4 mathomp4 commented Apr 4, 2022

Closes #573

This PR is an attempt to fix #573 by initializing arrays. To be very safe, I initialize a lot of the allocatable arrays I saw. Probably overkill, but it can't hurt.

I've tested this with both Release and Debug flags replaying to MERRA2 and the answers are zero-diff.

I'll add @rtodling to this PR as well as touching IAU is an AGCM/ADAS special.

NOTE 1: You must run Debug without windfix due to windfix/sphere code issues. I know @wmputman has said once windfix might not be needed anymore, but I still ran Release Replay runs with it on.
NOTE 2: The file looks "more different" since my editor removes trailing whitespace.

@mathomp4 mathomp4 added the 0 diff The changes in this pull request have verified to be zero-diff with the target branch. label Apr 4, 2022
@mathomp4 mathomp4 requested a review from rtodling April 4, 2022 17:57
@mathomp4 mathomp4 self-assigned this Apr 4, 2022
@mathomp4 mathomp4 requested a review from a team as a code owner April 4, 2022 17:57
@sdrabenh sdrabenh merged commit d558204 into develop Apr 21, 2022
@sdrabenh sdrabenh deleted the bugfix/mathomp4/573-initialize-mkiau branch April 21, 2022 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 diff The changes in this pull request have verified to be zero-diff with the target branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uninitialized array in mkiau GC with Replay, Debug, and no O3
2 participants