-
Notifications
You must be signed in to change notification settings - Fork 365
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 OpenACC deletes for topographic wave drag #6471
Fix OpenACC deletes for topographic wave drag #6471
Conversation
@xylar, just an FYI: in testing this with
I'll look into it and push any changes to your branch. |
@sbrus89 Don't see any obvious problems with the loop its pointing too, but you might try removing the inner loop vector constructs - we've found those to be a bit flaky and the compiler generally vectorizes the loop anyway. |
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.
Leaving on vacation so can't review any future mods, but the changes here look fine. Will approve these changes and assume others will find any remaining issues.
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.
@xylar thanks for catching this. This clearly matches the create lines here:
https://github.com/E3SM-Project/E3SM/pull/6310/files#diff-72984751a085d56765a30726c289582fe4f2e152d9e3b78dc06a405b19406879R738
I test compiled with gnu and intel, but don't have a workflow to test OpenACC. Thanks @sbrus89 for testing above. That looks like an unrelated error, so I think we can merge this one and then deal with that separately.
I found the issue with |
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.
Approved based on testing above. Thanks @xylar!
…(PR #6471) Fix OpenACC deletes for topographic wave drag Partially addresses #6470 The errors were introduced in #6310, when variables were introduced and renamed, including in the OpenACC create directives but corresponding changes were incomplete for the OpenACC directives for deleting them. [BFB]
Passes:
merged to next |
merged to master |
This merge updates the E3SM-Project submodule from [31f771c](https://github.com/E3SM-Project/E3SM/tree/31f771c) to [c7d7998](https://github.com/E3SM-Project/E3SM/tree/c7d7998). 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#6472 - [ ] (ocn) E3SM-Project/E3SM#6471 - [ ] (ocn) E3SM-Project/E3SM#6481
This merge updates the E3SM-Project submodule from [31f771c](https://github.com/E3SM-Project/E3SM/tree/31f771c) to [c7d7998](https://github.com/E3SM-Project/E3SM/tree/c7d7998). 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#6472 - [ ] (ocn) E3SM-Project/E3SM#6471 - [ ] (ocn) E3SM-Project/E3SM#6481
This merge updates the E3SM-Project submodule from [31f771c](https://github.com/E3SM-Project/E3SM/tree/31f771c) to [c7d7998](https://github.com/E3SM-Project/E3SM/tree/c7d7998). 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#6472 - [ ] (ocn) E3SM-Project/E3SM#6471 - [ ] (ocn) E3SM-Project/E3SM#6481
This merge updates the E3SM-Project submodule from [31f771c](https://github.com/E3SM-Project/E3SM/tree/31f771c) to [c7d7998](https://github.com/E3SM-Project/E3SM/tree/c7d7998). 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#6472 - [ ] (ocn) E3SM-Project/E3SM#6471 - [ ] (ocn) E3SM-Project/E3SM#6481
Partially addresses #6470
The errors were introduced in #6310, when variables were introduced and renamed, including in the OpenACC create directives but corresponding changes were incomplete for the OpenACC directives for deleting them.