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. whose active attribute evaluates to .false.) must be skipped.
This solution will be implemented first in ccpp_prebuild.py and later in capgen.py (see #406).
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
--debugflag (or similar) is provided on the command line. Arrays that are not "active" (i.e. whoseactiveattribute evaluates to.false.) must be skipped.This solution will be implemented first in
ccpp_prebuild.pyand later incapgen.py(see #406).