You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CCPP requirements state that every scheme must use implicit none. This is not followed through consistently, for example subroutine neg_check in GF deep convection doesn't declare its loop variables i and k:
Change the build system such that it adds compiler flags that enforece implicit none, whether it is set in the code or not.
Identify all schemes that do not have implicit none and set it on the module level (if modules are used - better be); remove at the individual subroutine level. If no modules are used (bad), set at the subroutine level. Or fix to use modules!
Alternatives (optional)
Keep violating CCPP requirements
Related to (optional)
n/a
The text was updated successfully, but these errors were encountered:
Description
The CCPP requirements state that every scheme must use
implicit none
. This is not followed through consistently, for example subroutine neg_check in GF deep convection doesn't declare its loop variablesi
andk
:ccpp-physics/physics/CONV/Grell_Freitas/cu_gf_deep.F90
Line 3938 in 1c2a898
Solution
2 steps:
implicit none
, whether it is set in the code or not.implicit none
and set it on the module level (if modules are used - better be); remove at the individual subroutine level. If no modules are used (bad), set at the subroutine level. Or fix to use modules!Alternatives (optional)
Keep violating CCPP requirements
Related to (optional)
n/a
The text was updated successfully, but these errors were encountered: