Framework should provide a debugging feature to compare array dimensions in capgen.py #406
Labels
capgen
bugs, requests, etc. that involve ccpp_capgen
capgen-unification
enhancement
post-capgen-unification
Description
The framework should be able to compare array dimensions in the auto-generated caps between the actual size of the arrays and the size inferred from the dimensions in the metadata.
Solution
These comparisons will be slowing down the code and therefore should only be activated when an appropriate
--debug
flag (or similar) is provided on the command line. Arrays that are not "active" (i.e. whoseactive
attribute evaluates to.false.
) must be skipped.This solution will be implemented first in
ccpp_prebuild.py
(see #405) and later incapgen.py
. Note that it can but doesn't have to be in place at the time of transitioning fromccpp_prebuild.py
tocapgen.py
. It will require thevar_action
class to be implemented incapgen.py
.The text was updated successfully, but these errors were encountered: