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

CCN-IN followup bugfix #99

Closed
wants to merge 2 commits into from
Closed

Conversation

grantfirl
Copy link
Collaborator

@grantfirl grantfirl commented Apr 15, 2020

The following bug was discovered when propagating the MG CCN/IN changes to the CCPP SCM.

The variable iaerclm in the Model DDT (GFS_control_type) was conditionally initialized in GFS_typedefs.F90, leading to segmentation faults when the condition was not met (if the uninitialized variable somehow gets set to true by the compiler or an antecedent memory value).

Also, the character length of the fn_nml variable in the GFS_init_type DDT was different than other instances of the variable in the file. Changed the character length to 64 from 65 to be consistent. Credit to @pjpegion for finding this one.

In addition, two other minor bugfixes are included:

Model%debug is now initialized before use in GFS_typedefs.F90 and a redundant code block initializing variables for NoahMP was deleted.

This PR was initiated on the request of @climbfuji following successful CCPP SCM testing.

@junwang-noaa
Copy link
Collaborator

Code is closed in #104, close PR.

SamuelTrahanNOAA referenced this pull request in SamuelTrahanNOAA/fv3atm Jun 13, 2022
Testing Flake model with HRRR and GSD_v0 suites
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.

2 participants