prtctl not working with debugging compiltation options
When sn_cfctl%l_prtctl = .true., there is several places where the sum includes the level jpk by the use of the optional argument kdim = jpk, which is defined to jpkm1 by default. In most of the cases, the 3D arrays are not defined at the level jpk and sn_cfctl%l_prtctl = .true. cannot be used with debugging compiltation options