Skip to content

Turning on diagnostic outputs in FV3GFS #631

Answered by mdtoy
mdtoy asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @everyone I found the problem, at least for the "FV3_GFS_v16" case. The solution to getting past the crash is turning on the flag "qdiag3d = .true."
The issue is a mismatch between the flagging conditions for allocating certain diagnostic variables in GFS_typedefs.F90 versus when they're used in the relevant CCPP module. To be specific, in the case I encountered, the variable "upd_mf" is only allocated in GFS_typedefs if "qdiag3d=.true.", but this condition isn't imposed on line 173 of GFS_DCNV_generic.F90 where it is set. This is the line where the crash occurred.
As a general comment, there seem to be multiple instances of logic-switch mismatches between variables being allocated in …

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@mdtoy
Comment options

mdtoy Apr 16, 2021
Collaborator Author

@mdtoy
Comment options

mdtoy Apr 29, 2021
Collaborator Author

@climbfuji
Comment options

@mdtoy
Comment options

mdtoy Apr 29, 2021
Collaborator Author

@climbfuji
Comment options

Comment options

mdtoy
Apr 16, 2021
Collaborator Author

You must be logged in to vote
1 reply
@climbfuji
Comment options

Answer selected by climbfuji
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

mdtoy
Apr 19, 2021
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants