-
Notifications
You must be signed in to change notification settings - Fork 160
Restart reproducibility issue with NEPTUNE due to bug in radiation_aerosols.f #1140
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
Restart reproducibility issue with NEPTUNE due to bug in radiation_aerosols.f #1140
Comments
@matusmartini FYI |
If the results for the UFS RT are reproducible, I agree we can make this change. @AnningCheng-NOAA Please take a look as well |
Thanks for your quick response, Fanglin! |
I think it is fine as long as we do not change j1 to another value in the
future (unlikely).
…On Wed, Jun 4, 2025 at 10:00 AM Dom Heinzeller ***@***.***> wrote:
*climbfuji* left a comment (NCAR/ccpp-physics#1140)
<#1140 (comment)>
If the results for the UFS RT are reproducible, I agree we can make this
change. @AnningCheng-NOAA <https://github.com/AnningCheng-NOAA> Please
take a look as well
Thanks for your quick response, Fanglin!
—
Reply to this email directly, view it on GitHub
<#1140 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALQPMINBWW5EUM5RZHBKTDL3B33V5AVCNFSM6AAAAAB6SUO4WGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNBQGE2TKNBWHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you @climbfuji for summarizing this issue here. We started collecting all bugfixes that we have in NEPTUNE and we'll follow-up with more of them. Hopefully this one is straightforward to test. @areinecke is the author of the fix. |
Let me create a PR for the ufs/dev branch in the ufs-community github organization so that it can be tested with the UFS> |
@climbfuji I agree with @yangfanglin and @AnningCheng-NOAA. |
I will try to run on Hera |
I ran the full regression tests on Hera and everything was b4b with the previous baseline. Will update the PR description accordingly. |
Uh oh!
There was an error while loading. Please reload this page.
In the NEPTUNE CCPP physics, we discovered and fixed a restart reproducibility issue due to the two following lines in
radiation_aerosols.f
:ccpp-physics/physics/Radiation/radiation_aerosols.f
Line 2904 in b9dd14b
ccpp-physics/physics/Radiation/radiation_aerosols.f
Line 2945 in b9dd14b
The solution was to replace
i3=i1
withi3=1
andj3=j1
withj3=1
. In a sense, this is removing an optimization. The bug fix is a several years old, therefore we don't remember all the details why this was a problem with NEPTUNE but apparently not with the UFS? Our recollection is that it has to do with the fact that the UFS/FV3 cubed sphere grid uses halos, whereas NEPTUNE does not. This is the commit message from back then:We recently tested removing the bug fix and we got the reproducibility issue again.
Since we cannot assume that every model that uses CCPP physics is lucky enough to work with the current code, would it be prudent to remove this optimization in the authoritative codebase? My guess is that the impact on the performance is negligible.
The text was updated successfully, but these errors were encountered: