-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add debug switch to capgen (30 hours) #325
Labels
capgen
bugs, requests, etc. that involve ccpp_capgen
capgen-unification
enhancement
post-capgen-unification
Comments
For the sake of completeness, the default value for the attribute |
gold2718
changed the title
Add debug switch to capgen
Add debug switch to capgen (30 hours)
Oct 18, 2021
We should test array allocations and dimensions for all arrays that are supposed to be present, i.e. also those that have an implicit/default |
Closed via #512 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
capgen
bugs, requests, etc. that involve ccpp_capgen
capgen-unification
enhancement
post-capgen-unification
Add a new option to capgen,
--debug
, that, when selected, will cause capgen to generate code to test access to "optional" input variables.The idea is to be able to generate an error before calling a physics scheme.
For the first pass, the only generated check is to test access to a variable which has the
active
keyword in its metadata. The test would be performed when theactive
clause is.true.
as in the example below (copied from the 29 September meeting minutes):--> in the cap:
The text was updated successfully, but these errors were encountered: