-
Notifications
You must be signed in to change notification settings - Fork 9
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
Raise error for misconfigured 3D physics diagnostics #133
Conversation
Related to #130 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks. Could you shorten the title? I'd also be okay with just setting ldiag3d=.true.
and not killing the model.
Thanks, sure, that will produce a cleaner commit message.
It's not this simple unfortunately, because currently the decision to allocate memory for the 3D diagnostics buckets is made before the diagnostics themselves are registered. So if we changed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This is now the output upon model termination if this occurs. As in #132, the previous termination would be an uninformative segmentation fault.