Skip to content

Commit cbc1f0f

Browse files
authored
Merge pull request #608 from billsacks/dbug_flag
Add dbug_flag namelist option and remove unused info_dbug ### Description of changes (1) Add dbug_flag namelist option to control this flag in the code, rather than requiring source code changes to change this value (2) Remove unused info_dbug flag ### Specific notes Contributors other than yourself, if any: CMEPS Issues Fixed (include github issue #): - Resolves #607 Are changes expected to change answers? (specify if bfb, different at roundoff, more substantial) - No Any User Interface Changes (namelist or namelist defaults changes)? - Adds dbug_flag namelist variable - Removes unused INFO_DBUG xml variable and info_dbug namelist variable ### Testing performed Please describe the tests along with the target model and machine(s) If possible, please also added hashes that were used in the testing Ran `SMS_Ld3_D_P8x1.f10_f10_mg37.X.green_gnu` with dbug_flag set at 0 (default) and 11.
2 parents 18eb93b + 95cacb5 commit cbc1f0f

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

cime_config/config_component.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,15 +2310,6 @@
23102310
<desc>determine if per ice thickness category fields are passed from ice to ocean - DO NOT EDIT (set by MOM6)</desc>
23112311
</entry>
23122312

2313-
<entry id="INFO_DBUG">
2314-
<type>integer</type>
2315-
<valid_values>0,1,2,3,4,5,6,7,8,9</valid_values>
2316-
<default_value>1</default_value>
2317-
<group>run_flags</group>
2318-
<file>env_run.xml</file>
2319-
<desc>level of debug output, 0=minimum, 1=normal, 2=more, 3=too much</desc>
2320-
</entry>
2321-
23222313
<!-- Prerun/postrun custom script options -->
23232314

23242315
<entry id="PRERUN_SCRIPT">

cime_config/namelist_definition_drv.xml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -879,15 +879,27 @@
879879
</values>
880880
</entry>
881881

882-
<entry id="info_debug" modify_via_xml="INFO_DBUG">
882+
<entry id="dbug_flag">
883883
<type>integer</type>
884884
<category>expdef</category>
885885
<group>MED_attributes</group>
886886
<desc>
887-
Level of debug output, 0=minimum, 1=normal, 2=more, 3=too much (default: 1)
887+
Level of debug output; higher values give progressively more output
888+
889+
Some example values (other values are also accepted)
890+
- 0: no extra debug output
891+
- 1: a bit of debug output
892+
- 2: a bit more debug output
893+
- 6: a moderate amount of debug output
894+
- 11: a lot of debug output
895+
- 21: a huge amount of debug output
896+
897+
Note that setting this to moderate - high values can lead to overwhelming amounts of output.
898+
899+
(Default: 0)
888900
</desc>
889901
<values>
890-
<value>$INFO_DBUG</value>
902+
<value>0</value>
891903
</values>
892904
</entry>
893905

0 commit comments

Comments
 (0)