-
Notifications
You must be signed in to change notification settings - Fork 362
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
Add missing omp private variables for data subglacial runoff #6656
Conversation
|
@vanroekel -- did you see any other loops where the new variables didn't get included? |
I ran the following test with and without these changes:
|
You may want to add that test to e3sm_gpuomp |
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.
Approving by visual inspection. This is the only place I saw some omp variables missing. Thanks @jonbob
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.
Approving based on visual inspection. Thank you for fixing this!
During the check I spotted another typo, on lines 3576-3577, there should be config_flux_attenuation_coefficient_subglacial_runoff instead of config_flux_attenuation_coefficient_runoff as follows: transmissionCoeffTop = exp( max(zTop / config_flux_attenuation_coefficient_subglacial_runoff, -100.0_RKIND) ) @jonbob, could that be included in this pull request or do I need to open a new one? |
@irenavankova -- that should probably be a new PR. Do you want to make it? |
Yes, I ll make it. |
@rljacob -- we could also change the test from the PR that brought this in. Right now we include
in the e3sm_ocnice_extra_coverage suite. We could change that to
|
Sure. And I realized this isn't omp-offload you're talking about so you don't need to move it to gpuomp |
Adds some variables were introduced in PR #6508 and not icluded in the appropriate omp private statement. These variables are only used for data subglacial runoff, so this does not impact current tests. Also changes the current GMPAS-JRA1p5-DIB-PISMF-DSGR test to PET to watch for threading issues. [BFB]
Passes:
merged to next |
merged to master |
This merge updates the E3SM-Project submodule from [727ad81](https://github.com/E3SM-Project/E3SM/tree/727ad81) to [1442143](https://github.com/E3SM-Project/E3SM/tree/1442143). 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#6509 - [ ] (ocn) E3SM-Project/E3SM#6508 - [ ] (fwk) E3SM-Project/E3SM#6575 - [ ] (ocn) E3SM-Project/E3SM#6590 - [ ] (fwk) E3SM-Project/E3SM#6643 - [ ] (ocn) E3SM-Project/E3SM#6656 - [ ] (ocn) E3SM-Project/E3SM#6672 - [ ] (ocn) E3SM-Project/E3SM#6659 - [ ] (ocn) E3SM-Project/E3SM#6497 - [ ] (ocn) E3SM-Project/E3SM#6485 - [ ] (ocn) E3SM-Project/E3SM#6566
Adds some variables were introduced in PR #6508 and not icluded in the appropriate omp private statement. These variables are only used for data subglacial runoff, so this does not impact current tests.
[BFB]