# Problem when using CMAQ 5.3.1 with hybrid vertical coordinate

**URL:** <https://forum.cmascenter.org/t/problem-when-using-cmaq-5-3-1-with-hybrid-vertical-coordinate/1728>\
**Category:** CMAQ\
**Created:** [August 19, 2020, 7:40am UTC](https://forum.cmascenter.org/t/problem-when-using-cmaq-5-3-1-with-hybrid-vertical-coordinate/1728 "2020-08-19T07:40:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xdong](https://avatars.discourse-cdn.com/v4/letter/x/e68b1a/32.png) [@xdong](https://forum.cmascenter.org/u/xdong)\
**Post date:** [August 19, 2020, 7:40am UTC](https://forum.cmascenter.org/t/problem-when-using-cmaq-5-3-1-with-hybrid-vertical-coordinate/1728/1 "2020-08-19T07:40:31Z")

</div>

Hello CMAQ users:  
I’m using CMAQ 5.3.1 with hybrid vertical coordinate, but got the following message:

Processing Day/Time [YYYYDDD:HHMMSS]: 2017181:000000  
Which is Equivalent to (UTC): 0:00:00 Friday, June 30, 2017  
Time-Step Length (HHMMSS): 000200  
forrtl: severe (27): too many records in I/O statement, unit -5, file Internal Formatted Write  
Image PC Routine Line Source  
CCTM\_v53.exe 00000000019DA5E3 Unknown Unknown Unknown  
CCTM\_v53.exe 0000000001A29D10 Unknown Unknown Unknown  
CCTM\_v53.exe 0000000000E0090A emis\_defn\_mp\_chec 2234 EMIS\_DEFN.F  
CCTM\_v53.exe 0000000000DA259E emis\_defn\_mp\_emis 1228 EMIS\_DEFN.F  
CCTM\_v53.exe 0000000000D5531F emis\_defn\_mp\_emis 209 EMIS\_DEFN.F  
CCTM\_v53.exe 0000000000FC9EA6 vdiff\_ 266 vdiffproc.F  
CCTM\_v53.exe 0000000000E466C6 sciproc\_ 232 sciproc.F  
CCTM\_v53.exe 0000000000E2DD3D cmaq\_driver\_ 679 driver.F  
CCTM\_v53.exe 0000000000E26600 MAIN\_\_ 96 cmaq\_main.F  
CCTM\_v53.exe 000000000040B49E Unknown Unknown Unknown  
libc-2.17.so 00002AC8FC3BA3D5 \_\_libc\_start\_main Unknown Unknown  
CCTM\_v53.exe 000000000040B3A9 Unknown Unknown Unknown

Can anyone help me? thanks

---

<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:** [August 19, 2020, 3:04pm UTC](https://forum.cmascenter.org/t/problem-when-using-cmaq-5-3-1-with-hybrid-vertical-coordinate/1728/2 "2020-08-19T15:04:33Z")

</div>

Line 2234 in the EMIS\_DEFN.F contains:

```auto
          WRITE( XMSG,'(A,A16,A,/,I3,A11,A16,A,/,A)' ),
     & 'ERROR: Surrogate Species ',TRIM(SPEC),' on emission stream ',
     & ISRM, ' has units ',TRIM(UNITS),' which are unkown to CMAQ. ',
     & 'Please correct them to proceed.'
            CALL LOG_MESSAGE( OUTDEV, XMSG )

```

Line 2234 in EMIS\_DEFN.F is in the section of the code that is checking the emission units.  
The I/O Error may be an issue with writing out the error message that should alert the user that there is something wrong in either the emission control file or the emissions.  
The emission control file is mechanism dependent, and is found in your BLD\_\* directory.  
Example:

```auto
EmissCtrl_cb6r3_ae7_aq.nml. 

```

You likely need to review your emissions inputs and their consistency with the Emissions Control File.

Have you successfully used your compiler, mpi and libraries (netCDF and I/O API) versions to run the benchmark case prior to running using your hybrid vertical coordinate MCIP case?

Can you provide the following information:  
compiler/version: gcc/9.1.0, intel/17.2, pgi  
MPI version: openmpi 6.3.0, mvapich2.3  
netCDF Version:  
I/O API Version:  
Mechanism

---

<div class="post-metadata">

**Author:** ![xdong](https://avatars.discourse-cdn.com/v4/letter/x/e68b1a/32.png) [@xdong](https://forum.cmascenter.org/u/xdong)\
**Post date:** [August 20, 2020, 1:50am UTC](https://forum.cmascenter.org/t/problem-when-using-cmaq-5-3-1-with-hybrid-vertical-coordinate/1728/3 "2020-08-20T01:50:02Z")

</div>

Thanks for your help.  
I try to close all my emission file by setting N\_EMIS\_GR=0, the model works well. I found that the vertical layer in my emission file is 12, but the vertical layer from MCIP is 43. I’m not sure if it is necessary to keep the vertical layer the same between emission and MCIP when using hybrid vertical coordinate MCIP case?  
By the way, the version of my compiler and mpi is intel/2017,  
netCDF/4.1.3, IOAPI /3.2.  
mechanism: saprc07tic\_ae6i\_aq
