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

conditionally allocate MG arrays #126

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

grantfirl
Copy link
Collaborator

The Morrison-Gettelman arrays in the Interstitial data type were conditionally allocated in GFS_physics_driver.F90, but not in GFS_typedefs.F90 with the CCPP. This will reduce the memory footprint when not running with the MG scheme.

@grantfirl
Copy link
Collaborator Author

Associated PRs:
FV3 https://github.com/NCAR/FV3/pull/182
ccpp-physics NCAR/ccpp-physics#291

@grantfirl
Copy link
Collaborator Author

This has been tested with Mac/GNU with Release/Debug and works fine. Waiting to merge until FV3 RTs have run with identical changes.

@grantfirl
Copy link
Collaborator Author

Since the analogous PR for FV3 has been merged, could this be reviewed by @climbfuji or @llpcarson so that I can merge this too?

@grantfirl
Copy link
Collaborator Author

Thanks!

@grantfirl grantfirl merged commit 9b6e6d0 into NCAR:master Aug 20, 2019
dustinswales pushed a commit to dustinswales/ccpp-scm that referenced this pull request May 16, 2022
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