# Error in running CMAQv5.0.2

**URL:** <https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184>\
**Category:** CMAQ\
**Created:** [December 15, 2019, 6:25pm UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184 "2019-12-15T18:25:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Catalyst2682](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@Catalyst2682](https://forum.cmascenter.org/u/Catalyst2682)\
**Post date:** [December 15, 2019, 6:25pm UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184/1 "2019-12-15T18:25:24Z")

</div>

Dear all,

I got this error while running CCTM. Attached are two of the full log files.

[CTM\_LOG\_001.36km\_2018001.txt](https://forum.cmascenter.org/uploads/short-url/5NU4BGEwDIPwYXXJIF2mgHN54T.txt) (43.3 KB)

File “CSQY\_DATA” opened for input on unit: 94  
/home/catalyst/Desktop/Build\_WRF/CMAQv5.0.1/scripts/cctm/BLD\_saprc99\_ae6\_aq/CSQY\_DATA\_saprc99\_ae6\_aq

Sucessfully Loaded JTABLE

```
 >>--->> WARNING in subroutine PHOT:INTERPX
 Variable "LUFRAC_21" not in file GRID_CRO_2D
 M3WARN: DTBUF 0:00:00 Jan. 31, 2018 (2018031:000000)

 *** ERROR ABORT in subroutine PHOT on PE 004            
 Could not read LUFRAC_21 from GRID_CRO_2D

```

PM3EXIT: DTBUF 0:00:00 Jan. 31, 2018  
Date and time 0:00:00 Jan. 31, 2018 (2018031:000000)

AND

Aerosol Emissions Processing in Vertical diffusion …  
— Aero Species Mapped —  
— PM Emis Species Mapped —  
— Precursor Species Mapped —  
Value for CTM\_SSEMDIAG not defined;returning default: FALSE  
Flag for writing the sea-salt-emission diagnostic file  
Environment variable not set … Using default: 0  
Value for CTM\_WB\_DUST: N returning FALSE  
=== aerospc em\_map  
1 2 ASO4J 1  
2 2 ANO3J 4  
3 2 ACLJ 34  
4 2 ANH4J 3  
5 2 ANAJ 32  
6 2 AMGJ 19  
7 2 AKJ 20  
8 2 ACAJ 18  
9 1 APOCI 7  
9 2 APOCJ 6  
10 1 APNCOMI 9  
10 2 APNCOMJ 8  
11 1 AECI 11  
11 2 AECJ 10  
12 2 AFEJ 14  
13 2 AALJ 15  
14 2 ASIJ 16  
15 2 ATIJ 17  
16 2 AMNJ 21  
17 2 AH2OJ 30  
18 2 AOTHRJ 12  
39 3 ACORS 22  
modified aerospc em\_fac  
Value for CTM\_PT3DEMIS: N returning FALSE

# ====================================================================== — Subroutine: M3DRY — Found canopy wetness (WR) in MET\_CRO\_2D

# ====================================================================== — Subroutine: M3DRY — Found 2-m water vapor mixing ratio (Q2) in MET\_CRO\_2D

```
 >>--->> WARNING in subroutine GET_EMIS:INTERPX
 Variable "HONO" not in file EMIS_1
 M3WARN: DTBUF 0:06:00 Jan. 31, 2018 (2018031:000600)
 
 >>--->> WARNING in subroutine GET_EMIS on PE 000
 Could not read HONO from EMIS_1
 M3WARN: DTBUF 0:06:00 Jan. 31, 2018 (2018031:000600)
 
 >>--->> WARNING in subroutine GET_EMIS:INTERPX
 Variable "ARO1NBZ" not in file EMIS_1
 M3WARN: DTBUF 0:06:00 Jan. 31, 2018 (2018031:000600)
 
 >>--->> WARNING in subroutine GET_EMIS on PE 000
 Could not read ARO1NBZ from EMIS_1
 M3WARN: DTBUF 0:06:00 Jan. 31, 2018 (2018031:000600)
 
 >>--->> WARNING in subroutine GET_EMIS:INTERPX
 Variable "BENZENE" not in file EMIS_1
 M3WARN: DTBUF 0:06:00 Jan. 31, 2018 (2018031:000600)
 
 >>--->> WARNING in subroutine GET_EMIS on PE 000
 Could not read BENZENE from EMIS_1
 M3WARN: DTBUF 0:06:00 Jan. 31, 2018 (2018031:000600)
 
 >>--->> WARNING in subroutine GET_SSEMIS:INTERPX
 Variable "SURF" not in file OCEAN_1
 M3WARN: DTBUF 0:06:00 Jan. 31, 2018 (2018031:000600)
 
 >>--->> WARNING in subroutine GET_SSEMIS on PE 000
 Could not interpolate SURF from OCEAN_1 . Surf-zone emissions set to zero.
 M3WARN: DTBUF 0:06:00 Jan. 31, 2018 (2018031:000600)
 Value for KZMIN: Y returning TRUE
 

 Maximum eddy diffusivity of: 247.62 (m**2/sec)
 at col, row, layer: 1, 30, 5
 corresponding to a free tropospheric wind shear of: 1.41661E-03 (/sec),
                        a bulk Richardson Number of: -154.51 ,
 and pot. temps. in layer and layer+1: 290.75 290.02    

```

after VDIFF G 1.2116558E-01 A 1.2153504E+09 N 1.2268167E-04  
after COUPLE\_WR G 9.3365820E+02 A 1.0044680E+13 N 9.6260780E-01

```
 No BC's in file BNDY_GASC_1 for the following adv species: Set to 1.00E-30
      MEOH
      PROD2
      RCO_OOH
      RCO_OH
      PBZN
      MA_PAN
      ACET
      NPHE
      PHEN
      RCHO
      BACL
      BALD
      ISOPROD
      DCB1
      DCB3
      TRP1
      SESQ

 No BC's in file BNDY_AERO_1 for the following adv species: Set to 1.00E-30
      ANH4J
      ANH4I
      ANO3J
      ANO3I
      AORGCJ
      APOCJ
      APOCI
      APNCOMJ
      APNCOMI
      AECJ
      AECI
      AOTHRJ
      AOTHRI
      AFEJ
      AALJ
      ASIJ
      ATIJ
      ACAJ
      AMGJ
      AKJ
      AMNJ
      AH2OJ
      AH2OI
      ANAJ
      ANAI
      ACLJ
      ACLI
      ASEACAT
      ACLK
      ASO4K
      ANH4K
      ANO3K
      AH2OK

 No BC's in file BNDY_NONR_1 for the following adv species: Set to 1.00E-30
      HCL

 Reading U-windfield from MET_DOT_3D for variable: UWINDC          

 Reading V-windfield from MET_DOT_3D for variable: VWINDC          

 layer S (X3FACE_GD) Delta S
   1 0.0100000 0.0100000 1.0000000
   2 0.0200000 0.0100000 1.0000000
   3 0.0300000 0.0100000 1.0000000
   4 0.0400000 0.0100001 1.0000000
   5 0.0500000 0.0100000 1.0000000
   6 0.0600000 0.0100000 1.0000000
   7 0.0700000 0.0100000 1.0000000
   8 0.0900000 0.0200000 1.0000000
   9 0.1100000 0.0200000 1.0000000
  10 0.1300000 0.0200000 1.0000000
  11 0.1500000 0.0200000 1.0000000
  12 0.2250000 0.0750000 1.0000000
  13 0.3100000 0.0850000 1.0000000
  14 0.4000000 0.0900000 1.0000000
  15 0.5250000 0.1250000 1.0000000
  16 0.7100000 0.1850001 1.0000000
  17 0.9100000 0.1999999 1.0000000
  18 1.0000000 0.0900000 1.0000000

```

after ADV G 9.3362909E+02 A 1.0066116E+13 N 9.6747971E-01

```
 H-eddy DT & integration steps: 7.2000000E+02 1

```

after HDIFF G 9.3362909E+02 A 1.0066116E+13 N 9.6747959E-01  
after DECOUPLE\_ G 1.2118143E-01 A 1.2175133E+09 N 1.2341718E-04  
Value for CLD\_DIAG: N returning FALSE  
CTM\_WET\_DEP\_1 :/home/catalyst/Desktop/Build\_WRF/CMAQv5.0.2/scripts/cctm/cctm\_36km/CCTM\_saprc99\_ae6\_aq\_Linux4\_x86\_64gcc.WETDEP1.36km\_2018031

```
 >>--->> WARNING in subroutine OPEN3
 File not available.
 
 Could not open CTM_WET_DEP_1 file for update - try to open new
  
 "CTM_WET_DEP_1" opened as NEW(READ-WRITE )
 File name "/home/catalyst/Desktop/Build_WRF/CMAQv5.0.2/scripts/cctm/cctm_36km/CCTM_saprc99_ae6_aq_Linux4_x86_64gcc.WETDEP1.36km_2018031"
 File type GRDDED3 
 Execution ID "CCTM_saprc99_ae6_aq_Linux4_x86_64gcc"
 Grid name "36km"
 Dimensions: 79 rows, 95 cols, 1 lays, 118 vbles
 NetCDF ID: 1376256 opened as VOLATILE READWRITE  
 Starting date and time 2018031:010000 (1:00:00 Jan. 31, 2018)
 Timestep 010000 (1:00:00 hh:mm:ss)
 Maximum current record number 0
 no surrogates for aqueous species CO2...using background value of 340.0000

  --- AQCHEM Gas and Aerosol Species Mapped ---

```

application called MPI\_Abort(MPI\_COMM\_WORLD, 0) - process 6  
0.0u 0.0s 0:03.41 0.2% 0+0k 0+0io 0pf+0w  
mkdir -p /home/catalyst/Desktop/Build\_WRF/CMAQv5.0.2/scripts/cctm/cctm\_36km/logs/2018031  
mv ./CTM\_LOG\_001.36km\_2018031 ./CTM\_LOG\_002.36km\_2018031 ./CTM\_LOG\_003.36km\_2018031 ./CTM\_LOG\_004.36km\_2018031 ./CTM\_LOG\_005.36km\_2018031 ./CTM\_LOG\_006.36km\_2018031 ./CTM\_LOG\_007.36km\_2018031 /home/catalyst/Desktop/Build\_WRF/CMAQv5.0.2/scripts/cctm/cctm\_36km/logs/2018031  
@ i = 30 + 1  
end  
while ( 31 \< 31 )  
date  
Mon Dec 16 00:24:06 CST 2019  
exit

Your help would be really appreciated as usual.

Thanks

Catalyst[CTM\_LOG\_004.36km\_2018031.txt](https://forum.cmascenter.org/uploads/short-url/fOO6iXZphIy90cBtzeGKT6wZ6kh.txt) (47.9 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:** [December 16, 2019, 2:53pm UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184/2 "2019-12-16T14:53:19Z")

</div>

I used the grep command to find the ERROR message in your log.

grep -B 4 ERROR CTM\_LOG\_004.36km\_2018031.txt  
Variable “LUFRAC\_21” not in file GRID\_CRO\_2D  
M3WARN: DTBUF 0:00:00 Jan. 31, 2018 (2018031:000000)

```
 *** ERROR ABORT in subroutine PHOT on PE 004
```

---

<div class="post-metadata">

**Author:** ![Catalyst2682](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@Catalyst2682](https://forum.cmascenter.org/u/Catalyst2682)\
**Post date:** [December 16, 2019, 4:58pm UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184/3 "2019-12-16T16:58:41Z")

</div>

Dear @lizadams,  
Thanks for your response. But I used land mass of 20 categories, so I don’t know where that error originated from. Also, what about this:  
**H-eddy DT & integration steps: 6.0000000E+02 1**  
\*\* after HDIFF G 1.0887087E+03 A 1.0406610E+13 N 9.0558481E-01\*\*  
\*\* after DECOUPLE\_ G 1.2091564E-01 A 1.2022198E+09 N 1.0072426E-04\*\*  
\*\* Value for CLD\_DIAG not defined;returning default: FALSE\*\*  
\*\* Output cloud diagnostic files? (Y/N) \*\*  
\*\* Environment variable not set … Using default: F\*\*  
\*\* no surrogates for aqueous species CO2…using background value of 340.0000\*\*  
because it’s also found in the log files?

Thanks and regards,

Catalyst

---

<div class="post-metadata">

**Author:** ![Catalyst2682](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@Catalyst2682](https://forum.cmascenter.org/u/Catalyst2682)\
**Post date:** [December 23, 2019, 6:58am UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184/4 "2019-12-23T06:58:17Z")

</div>

Dear @lizadams,

I’ve solved this problem.

Thanks so much and best regards.

Catalyst

---

<div class="post-metadata">

**Author:** ![Tris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/tris/32/1810_2.png) [@Tris](https://forum.cmascenter.org/u/Tris)\
**Post date:** [April 25, 2020, 12:14am UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184/5 "2020-04-25T00:14:44Z")

</div>

Dear Catalyst,

I’ve ran into the same problem you had:  
Variable “LUFRAC\_21” not in file GRID\_CRO\_2D  
How did you solve this?

Thanks!

---

<div class="post-metadata">

**Author:** ![Catalyst2682](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@Catalyst2682](https://forum.cmascenter.org/u/Catalyst2682)\
**Post date:** [April 25, 2020, 8:36am UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184/6 "2020-04-25T08:36:42Z")

</div>

Dear @Tris,

Firstly, what version of WRF are you using? Secondly, what version of MCIP did you use to process the WRF output?

Catalyst

---

<div class="post-metadata">

**Author:** ![Jincheol90](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Jincheol90](https://forum.cmascenter.org/u/Jincheol90)\
**Post date:** [April 26, 2022, 9:27pm UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184/7 "2022-04-26T21:27:06Z")

</div>

Dear @Catalyst2682, @Tris

Hello, I’m having a similar issue and wondering how you’ve resolved this. I tried MCIP 4.2 and 4.3 using WRF3.8 outputs, and CCTM asks for LUFRAC\_21 which my MCIP output doesn’t have.

Thank you,  
Jin

---

<div class="post-metadata">

**Author:** ![tlspero](https://avatars.discourse-cdn.com/v4/letter/t/bb73d2/32.png) [@tlspero](https://forum.cmascenter.org/u/tlspero)\
**Post date:** [May 9, 2022, 12:15pm UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184/8 "2022-05-09T12:15:29Z")

</div>

@Jincheol90 –

What land use are you using in WRF?

–Tanya

---

<div class="post-metadata">

**Author:** ![Jincheol90](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Jincheol90](https://forum.cmascenter.org/u/Jincheol90)\
**Post date:** [May 10, 2022, 6:23pm UTC](https://forum.cmascenter.org/t/error-in-running-cmaqv5-0-2/1184/9 "2022-05-10T18:23:14Z")

</div>

Dear Dr. Spero,

Thank you for the reply. I’m using MODIFIED\_IGBP\_MODIS, and the attached are my namelists for WPS and WRF where I used 20 land use categories. I’ve never had this issue when I was using CMAQ5.2 and 5.3.2, but it doesn’t work for 5.0.2.  
[namelist.input.txt](https://forum.cmascenter.org/uploads/short-url/gf6d5vIbVLbkI6dVG0iaCfv5WdS.txt) (6.4 KB)  
[namelist.wps.txt](https://forum.cmascenter.org/uploads/short-url/l9XB6Junpa1aDJF133GCt7sBxKh.txt) (1.0 KB)

Sincerely,  
Jin
