# Error in CMAQv5.3.1 CCTM

**URL:** <https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764>\
**Category:** Run Time Errors and Issues\
**Created:** [September 8, 2020, 12:10pm UTC](https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764 "2020-09-08T12:10:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![phy](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@phy](https://forum.cmascenter.org/u/phy)\
**Post date:** [September 8, 2020, 12:10pm UTC](https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764/1 "2020-09-08T12:10:08Z")

</div>

Hi, all  
I got a problem from CMAQv5.3.1 CCTM program.  
I used cb6r3\_ae7\_aq mechanism. And I used mcipv5.1 program for using meteorology data.  
But I got this problem when I ran CCTM program.

```
 *** ERROR ABORT in subroutine AQCHEM on PE 020
 Maximum AQCHEM total iterations exceeded

```

PM3EXIT: DTBUF 3:06:00 Dec. 21, 2015  
Date and time 3:06:00 Dec. 21, 2015 (2015355:030600)

This means ‘ICNTAQ’ in aqchem.F is over than maximum number of loop!  
I think my emission file and boundary&initial condition file was created by cb05\_tucl\_ae6 mechanism.  
If my thinking is wrong, how to solve this???

I attached my CTM.LOG file!

Thanks 🙂[CTM\_LOG\_020.v531\_pgi\_cb6r3\_ae7\_aq\_20151221.txt](https://forum.cmascenter.org/uploads/short-url/du6R4bjmUPcYuOhD2hVWo7eGksu.txt) (94.6 KB)

---

<div class="post-metadata">

**Author:** ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)\
**Post date:** [September 8, 2020, 4:24pm UTC](https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764/2 "2020-09-08T16:24:47Z")

</div>

You are getting warnings the default emissions control file does not contain the emission surrogates used in your emissions.

```
 NOTE: Some Emissions Surrogates are unused by your current
 emission control configuration. You may want to include these
 emissions if they are relevant to your application.

```

Please review this section of the documentation:

> <https://github.com/USEPA/CMAQ/blob/master/DOCS/Users_Guide/CMAQ_UG_ch04_model_inputs.md#emissctrl>

  
And also review the DESID tutorial. If you haven’t run the benchmark case, you might try running that case to learn how the Emission Control namelist is used to perform basic manipulation of your emission streams.

The following note is in the emissions control file.  
!\> DEFAULT MAPPING \<!  
! Note: Without default mapping for a species,  
! there is no emission of that species.

---

<div class="post-metadata">

**Author:** ![phy](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@phy](https://forum.cmascenter.org/u/phy)\
**Post date:** [September 9, 2020, 1:45am UTC](https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764/3 "2020-09-09T01:45:32Z")

</div>

Hi lizadams!  
Thank you for your replying 🙂  
I will try review documentation and run benchmark case on your advice!!

I’m really grateful to you 🙂

HyeonYeong Park

---

<div class="post-metadata">

**Author:** ![cgnolte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/cgnolte/32/53_2.png) [@cgnolte](https://forum.cmascenter.org/u/cgnolte)\
**Post date:** [September 9, 2020, 10:29pm UTC](https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764/4 "2020-09-09T22:29:11Z")

</div>

The root cause is not AQCHEM. From your log file:

```
     After INITSCEN : Gas 4.242E-01 | Aer 9.471E+01 | Non 2.637E-03

```

This shows the sum of species concentrations for gas-phase, aerosols, and nonreactives, respectively, after reading in the initial conditions. The first science process is VDIFF, which includes emissions. After this process, your log file says:

```
     After VDIFF : Gas 4.205E-01 | Aer NaN | Non 2.650E-03

```

This indicates aerosols already contains NaN, or Not a Number.

Check to be sure there are no errors (missing data, NaNs, or infinity values) in your emissions file.

Also, I notice that your emissions file has 7 layers. That ought to work, but most of our testing with gridded emissions files over the past few years has involved files that have only one layer. You might try using the IOAPI tool [M3XTRACT](https://www.cmascenter.org/ioapi/documentation/all_versions/html/M3XTRACT.html) to extract layer 1 from the file, and rerun. If that solves the problem, let us know, since this would indicate there is a bug that should be fixed.  
This [thread](https://forum.cmascenter.org/t/cctm-emission-module/449/5) may also be helpful.

---

<div class="post-metadata">

**Author:** ![phy](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@phy](https://forum.cmascenter.org/u/phy)\
**Post date:** [September 12, 2020, 1:49pm UTC](https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764/5 "2020-09-12T13:49:44Z")

</div>

Hi, cgnolte !  
Thank you for your replying on my question 🙂  
I solved this problem through unchecking emission check option. So I should modify that some time after 😂  
And I have an another question to you. I’ve already posted cmas forum about that problem, I want to make time-independent ICON regrid file. But I’m using CONC file with non-zero time step for making ICON file. How can I make time-independent ICON regrid file using CONC file with non-zero time step???

---

<div class="post-metadata">

**Author:** ![lizadams](https://avatars.discourse-cdn.com/v4/letter/l/49beb7/32.png) [@lizadams](https://forum.cmascenter.org/u/lizadams)\
**Post date:** [October 2, 2020, 5:55pm UTC](https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764/6 "2020-10-02T17:55:37Z")

</div>

I am copying Carlie Coat’s answer to this question from your other issue: [Making time-independent ICON regrid file using CMAQv5.3.1](https://forum.cmascenter.org/t/making-time-independent-icon-regrid-file-using-cmaqv5-3-1/1769/2)

You need to use M3Tools program `m3tshift` with an output time-step of 0. See [https://cjcoats.github.io/ioapi/M3TSHIFT.html](https://cjcoats.github.io/ioapi/M3TSHIFT.html)

---

<div class="post-metadata">

**Author:** ![Aurora](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Aurora](https://forum.cmascenter.org/u/Aurora)\
**Post date:** [December 7, 2021, 7:49am UTC](https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764/7 "2021-12-07T07:49:20Z")

</div>

Which parameter are you talking about" emission check option"? I didn’t find it in the run.ccrm script

---

<div class="post-metadata">

**Author:** ![phy](https://avatars.discourse-cdn.com/v4/letter/p/35a633/32.png) [@phy](https://forum.cmascenter.org/u/phy)\
**Post date:** [December 9, 2021, 2:32pm UTC](https://forum.cmascenter.org/t/error-in-cmaqv5-3-1-cctm/1764/8 "2021-12-09T14:32:12Z")

</div>

I meant ‘CTM\_EMISCHK’ in run.cctm scripts.  
I checked this option ‘N’, the problem was solved.

Thank you

HyeonYeong Park
