&ocean_debug_nml: forensic probes (all heavy, all default off).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(config_t), | intent(in), | target | :: | cfg | ||
| type(nml_schema_t), | intent(inout) | :: | schema |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(nml_group_t), | private | :: | g | ||||
| integer, | private, | pointer | :: | pi | |||
| logical, | private, | pointer | :: | pl |
subroutine register_ocean_debug(cfg, schema) !! `&ocean_debug_nml`: forensic probes (all heavy, all default off). type(config_t), target, intent(in) :: cfg type(nml_schema_t), intent(inout) :: schema type(nml_group_t) :: g logical, pointer :: pl integer, pointer :: pi g%name = "ocean_debug" g%doc = "Forensic probes for the ocean dyn-core (all heavy, all default off)." pl => cfg%ocean%debug%budget call g%add(nml_logical("budget", pl, "Per-stage BT power-budget probe (BUDGET rows)")) pl => cfg%ocean%debug%ke_attr call g%add(nml_logical("ke_attr", pl, & "Per-segment layer-KE attribution meter (KE_ATTR rows)")) pi => cfg%ocean%debug%ke_attr_start_step call g%add(nml_int("ke_attr_start_step", pi, & "First outer step the KE meter samples (0 = from start)", min=0)) pi => cfg%ocean%debug%ke_attr_end_step call g%add(nml_int("ke_attr_end_step", pi, & "Last outer step the KE meter samples (0 = unbounded)", min=0)) pl => cfg%ocean%debug%chksum call g%add(nml_logical("chksum", pl, & "MOM6-style per-phase field checksums (CHKSUM rows) + "// & "HOTFACE argmax-face anatomy at the tendency seams")) pi => cfg%ocean%debug%chksum_start_step call g%add(nml_int("chksum_start_step", pi, & "First outer step the chksum probe samples (0 = from start)", min=0)) pi => cfg%ocean%debug%chksum_end_step call g%add(nml_int("chksum_end_step", pi, & "Last outer step the chksum probe samples (0 = unbounded)", min=0)) pl => cfg%ocean%debug%chksum_interior call g%add(nml_logical("chksum_interior", pl, & "Reduce over physical cells only, making `bits` a valid "// & "1-rank-vs-N-rank gate")) call schema%add_group(g) end subroutine register_ocean_debug