# Error in compiling CMAQ v5.3.1 -ISAM

**URL:** <https://forum.cmascenter.org/t/error-in-compiling-cmaq-v5-3-1-isam/1732>\
**Category:** CMAQ-ISAM\
**Created:** [August 21, 2020, 5:56am UTC](https://forum.cmascenter.org/t/error-in-compiling-cmaq-v5-3-1-isam/1732 "2020-08-21T05:56:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![younseo](https://avatars.discourse-cdn.com/v4/letter/y/b38774/32.png) [@younseo](https://forum.cmascenter.org/u/younseo)\
**Post date:** [August 21, 2020, 5:56am UTC](https://forum.cmascenter.org/t/error-in-compiling-cmaq-v5-3-1-isam/1732/1 "2020-08-21T05:56:19Z")

</div>

Hi,

I have no problem in compiling and running CMAQ v5.3.1 without ISAM but compiling error with ISAM.

I attached bldit.cctm.csh, Makefile, and log file …

Please help me solve this problem…

Thank you for your kind support in advance…

During the compiling, the error was as follows…

EMIS\_DEFN.F(532): error #6366: The shapes of the array expressions do not conform.  
& \* EM\_REG\_FAC(:,:,ISAMRGN\_MAP(ITAG,RGN))  
--------------------------------^  
EMIS\_DEFN.F(531): error #6366: The shapes of the array expressions do not conform.  
& + VDEMIS\_CONV( 1:N\_SPC\_DIFF,1:NL,:,: )  
-----------------------------^  
EMIS\_DEFN.F(529): error #6366: The shapes of the array expressions do not conform. [SA\_VDEMIS\_DIFF\_ALL]  
SA\_VDEMIS\_DIFF\_ALL( 1:N\_SPC\_DIFF,1:NL,:,:,ITAG ) =  
---------------------^  
EMIS\_DEFN.F(537): error #6366: The shapes of the array expressions do not conform.  
& \* EM\_REG\_FAC(:,:,ISAMRGN\_MAP(ITAG,RGN))  
--------------------------------^  
EMIS\_DEFN.F(536): error #6366: The shapes of the array expressions do not conform.[bldit\_cctm.csh](https://forum.cmascenter.org/uploads/short-url/fmtrFZOItzgykQVEtgKohH5VFgA.csh) (28.6 KB)[Makefile.txt](https://forum.cmascenter.org/uploads/short-url/3t1srO9VXitWxJhqDzME1r7JZnt.txt) (29.2 KB)[cmaq\_isam\_log.txt](https://forum.cmascenter.org/uploads/short-url/xEr17rPzxHogL61qBs7qkdUeMqM.txt) (109.8 KB)

---

<div class="post-metadata">

**Author:** ![sergey](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@sergey](https://forum.cmascenter.org/u/sergey)\
**Post date:** [August 24, 2020, 4:55pm UTC](https://forum.cmascenter.org/t/error-in-compiling-cmaq-v5-3-1-isam/1732/2 "2020-08-24T16:55:15Z")

</div>

Are you sure you are using the latest version of the code?

Currently on github, lines 529-537 of EMIS\_DEFN.F are commented out and replaced with a different approach to do this calculation. This was a bug in an early version of this subroutine and has since been changed. The version of the code that has calculations that are crashing for you should not have been publicly available.

Furthermore, there is an issue posted to refrain from using ISAM for secondarily produced gas-phase species. We are currently in the final stages of testing an update to ISAM that addresses the posted issue. It will be released when the benchmark tested is concluded.

Sergey

---

<div class="post-metadata">

**Author:** ![younseo](https://avatars.discourse-cdn.com/v4/letter/y/b38774/32.png) [@younseo](https://forum.cmascenter.org/u/younseo)\
**Post date:** [August 25, 2020, 3:05am UTC](https://forum.cmascenter.org/t/error-in-compiling-cmaq-v5-3-1-isam/1732/3 "2020-08-25T03:05:13Z")

</div>

Dear Sergey,

It was downloaded in Feb. via github…

I downloaded the new version again and it worked fine…

If the ISAM modeule is updated, please let me know (koo@anyang.ac.kr)…

Thank you for your kind support…

Younseo Koo

---

<div class="post-metadata">

**Author:** ![sergey](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@sergey](https://forum.cmascenter.org/u/sergey)\
**Post date:** [August 25, 2020, 1:29pm UTC](https://forum.cmascenter.org/t/error-in-compiling-cmaq-v5-3-1-isam/1732/4 "2020-08-25T13:29:21Z")

</div>

I am glad it worked out now.

There will be a new version coming out shortly. Keep a lookout for an announcement from CMAS.

Sergey

---

<div class="post-metadata">

**Author:** ![msospedra](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@msospedra](https://forum.cmascenter.org/u/msospedra)\
**Post date:** [August 27, 2020, 11:45pm UTC](https://forum.cmascenter.org/t/error-in-compiling-cmaq-v5-3-1-isam/1732/5 "2020-08-27T23:45:02Z")

</div>

Hi Sergey,

Will the new release of ISAM include source apportionment capabilities for PM?

Thanks,

Marc

---

<div class="post-metadata">

**Author:** ![sergey](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@sergey](https://forum.cmascenter.org/u/sergey)\
**Post date:** [August 29, 2020, 3:21pm UTC](https://forum.cmascenter.org/t/error-in-compiling-cmaq-v5-3-1-isam/1732/6 "2020-08-29T15:21:55Z")

</div>

Marc,

It will have the same PM capabilities as before. The PM module is not changing very much (mainly by the precursors’s impact from gas chemistry).

Sergey
