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

Split GFS_typedefs.F90 to avoid running out of memory when compiling with optimization #506

Closed
climbfuji opened this issue Mar 20, 2022 · 0 comments · Fixed by #508 or ufs-community/ufs-weather-model#1130
Labels
enhancement New feature or request

Comments

@climbfuji
Copy link
Collaborator

Description

Compiling GFS_typedefs.F90 with production flags led to problems on systems that had too little memory avaiable (WCOSS). Therefore, a change was introduced recently to compile GFS_typedefs.F90 without optimization. By splitting this file, it should (may?) be possible to remove this workaround.

Solution

Move GFS_interstitial_type from GFS_typedefs.F90 to CCPP_typedefs.F90, because this is where it belongs to: It's an interstitial data type required by CCPP.

Alternatives

Keep as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant