Warning that something went wrong while reading the Emissions Control Namelist

I am curious how concerning this warning in my CMAQ log file is:

 "DUST_LU_1" opened as OLD:READ-ONLY
 File name "/nas/home/cmaq_run_2nov2020/cmaq_in/surface/beld3_12US1_396X246_output_a_20oct2020.ncf"
 File type GRDDED3
 Execution ID "????????????????"
 Grid name "12US2"
 Dimensions: 246 rows, 396 cols, 1 lays, 120 vbles
 NetCDF ID:   2293760  opened as READONLY
 Time-independent data.
 Warning! Something went wrong while reading the
 GeneralSpecs section of the Emissions Control
 Namelist. Default values for this section will be
 assumed.
 Warning! Something went wrong while reading the
 ChemicalFamilies section of the Emissions Control
 Namelist. Default values for this section will be
 assumed.
 Warning! Something went wrong while reading the
 StreamFamilies section of the Emissions Control
 Namelist. Default values for this section will be
 assumed.
 Warning! Something went wrong while reading the
 RegionFamilies section of the Emissions Control
 Namelist. Default values for this section will be
 assumed.

For context, I looked at the default EmissCtrl file I am using and I do not see the GeneralSpecs section there, while ChemicalFamilies, StreamFamilies and RegionFamilies sections are all commented out by an exclamation sign !.

It would be much easier to diagnose this if this code had conformed to the project’s coding standard, and had written the IOSTAT associated with this failure to the log.

Note that errors in reading NAMELISTs are quite tricky and can be (particularly for older compilers) very difficult to diagnose. In any case, the IOSTAT values are compiler dependent, so that you need to know the compiler (and its version) in order to interpret them.

You might want to edit centralized_io_module.F lines 3681-38216 to write out this IOSTAT to the log, and then submit the resulting log (together with your compiler and its version).

Thanks @cjcoats! Just to make sure I understand, I should edit centralized_io_module.F and recompile CMAQ in order for the IOSTAT command to write CPU utilization and I/O (input /output) statistics to the CCTM_LOG_* files?

Yes, that’s the way to do it.

In the case of these particular warnings, you won’t gain much insight from looking at the IOSTAT variable. These warnings are simply indicating that no values were found for these sections on the Emission Control Interface. The logfile then correctly alerts you that default values are being assumed for these sections. These warnings go away if you specify values for these sections in the interface.

Note that the GeneralSpecs section has been deprecated and will be absent in future releases. We are also focusing on improved logfile outputs to better communicate potential issues with the Emission Control Interface.