Skip to content

Conversation

@SamuelTrahanNOAA
Copy link
Contributor

@SamuelTrahanNOAA SamuelTrahanNOAA commented May 15, 2025

Description

Bug fix to ufs-community/ccpp-physics#282 to guard against accessing maxMF in cu_c3_driver.F90 when that array is not allocated.

See issue for full explanation.

Issue(s) addressed

Testing

How were these changes tested?

Experimental physics suite that uses C3 but not mynn edmf crashed without these changes but ran with the changes. See issue for full description.

What compilers / HPCs was it tested with?

Hera and Hercules with the Intel compiler..

Are the changes covered by regression tests? (If not, why? Do new tests need to be added?)

The experimental physics suite that triggers these bugs doesn't self-reproduce, so I cannot make a regression test for it yet. The reproducibility bug is unrelated and will be the subject of another Issue shortly.

Have the ufs-weather-model regression test been run? On what platform?

Yes. Hera.

Will the code updates change regression test baseline? If yes, why? Please show the baseline directory below.

No. Either it crashes or it doesn't.

Please commit the regression test log files in your ufs-weather-model branch

Done.

Dependencies

@DusanJovic-NOAA DusanJovic-NOAA changed the title bug fix to maxMF check: only access when do_mynnedmf=.true. Bug fix to maxMF check: only access when do_mynnedmf=.true. May 16, 2025
@grantfirl
Copy link
Collaborator

@SamuelTrahanNOAA This has been combined into #950 for helping with the UFS merge queue workload. This should be left open until that is merged in case the combination PR has problems.

@DusanJovic-NOAA
Copy link
Collaborator

Merged via #950

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in cu_c3_driver.F90 when not using mynn edmf due to access of unallocated maxMF array.

3 participants