Skip to content

Commit c5bbd1f

Browse files
committed
Add back perf_inparm and papi_inparm which can be optionally added, but are external to CMEPS and can be called from either CIME or ESMF
1 parent cdb016c commit c5bbd1f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

cime_config/buildnml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,8 @@ def _create_drv_namelists(case, infile, confdir, nmlgen, files):
319319
# --------------------------------
320320
namelist_file = os.path.join(confdir, "drv_in")
321321
drv_namelist_groups = ["debug_inparm", "DRIVER_attributes", "MED_attributes", "ALLCOMP_attributes", "ROF_attributes", "WAV_attributes"]
322+
# Add optional namelista that the GPTL library can read (from CIME or ESMF)
323+
drv_namelist_groups.extend( ["prof_inparm", "papi_inparm"] )
322324
nmlgen.write_output_file(
323325
namelist_file, data_list_path=data_list_path, groups=drv_namelist_groups
324326
)

cime_config/namelist_definition_drv.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3419,6 +3419,8 @@
34193419
<!-- =========================== -->
34203420
<!-- group prof_inparm -->
34213421
<!-- in perf_mod.F90 -->
3422+
<!-- (perf_mod is in CIME) -->
3423+
<!-- (can also be in ESMF) -->
34223424
<!-- =========================== -->
34233425

34243426
<entry id="profile_global_stats">
@@ -3553,6 +3555,8 @@
35533555
<!-- =========================== -->
35543556
<!-- namelist group papi_inparm -->
35553557
<!-- in file drv_in (used in perf_mod.F90) -->
3558+
<!-- (perf_mod is currently in CIME) -->
3559+
<!-- (can also be in ESMF) -->
35563560
<!-- =========================== -->
35573561

35583562
<entry id="papi_ctr1_str">

0 commit comments

Comments
 (0)