# CMAQ seems to be aroused only once in coupled model

**URL:** <https://forum.cmascenter.org/t/cmaq-seems-to-be-aroused-only-once-in-coupled-model/5254>\
**Category:** WRF-CMAQ\
**Created:** [September 27, 2024, 1:04pm UTC](https://forum.cmascenter.org/t/cmaq-seems-to-be-aroused-only-once-in-coupled-model/5254 "2024-09-27T13:04:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fortuna](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@Fortuna](https://forum.cmascenter.org/u/Fortuna)\
**Post date:** [September 27, 2024, 1:04pm UTC](https://forum.cmascenter.org/t/cmaq-seems-to-be-aroused-only-once-in-coupled-model/5254/1 "2024-09-27T13:04:49Z")

</div>

Hi all,

I used the WRFv45-CMAQv54 model to run a short test case. Running WRF alone went well, but when I ran the coupled model, the model aborted the second time it ran the CMAQ part, prompting a syntax error or segmentation fault. Like the subroutine  
ADVSTEP or the module containing it did not start.

For example, my wrf\_cmaq\_freq = 5, then the model will stop after 10 WRF calculations and about to perform the second CMAQ calculation.

 ![1727441881231](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/1/1a40296a051638269780b9edc09985f0cd385a1f.png)  
 ![1727442089379](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/f/fb5a7cc7452cce02f138514c5953418addb82846.png)

I tried to locate where the model stopped, add output token statements to the source code and compile it by `./compile em_real`, but it didn’t work.

Here are my runscript and log files.If you have any ideas, please let me know to fix this problem.  
[run\_cctm\_WRFCMAQ.csh](https://forum.cmascenter.org/uploads/short-url/SQT1ESiQ7qlSd0jemrM5d8rjdn.csh) (52.1 KB)  
[rsl.out.0000.txt](https://forum.cmascenter.org/uploads/short-url/hZviLrCrraWfzzDODtUAfQ9ladd.txt) (131.4 KB)

Liu

---

<div class="post-metadata">

**Author:** ![wong.david-c](https://avatars.discourse-cdn.com/v4/letter/w/bcef8e/32.png) [@wong.david-c](https://forum.cmascenter.org/u/wong.david-c)\
**Post date:** [October 15, 2024, 7:42pm UTC](https://forum.cmascenter.org/t/cmaq-seems-to-be-aroused-only-once-in-coupled-model/5254/2 "2024-10-15T19:42:15Z")

</div>

Hi Fortuna,

I apologize for not replying your message sooner.

Base on the provided rsl.out.0000.txt, I am not able to determine the cause of the problem. Please send me all the rsl.\* files. Thanks.

Cheers,  
David

---

<div class="post-metadata">

**Author:** ![Fortuna](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@Fortuna](https://forum.cmascenter.org/u/Fortuna)\
**Post date:** [October 16, 2024, 2:26am UTC](https://forum.cmascenter.org/t/cmaq-seems-to-be-aroused-only-once-in-coupled-model/5254/3 "2024-10-16T02:26:13Z")

</div>

Hi David,

Thanks for your continued attention, I will send the compressed file to your email, hope they can shed some light on the problem.

Liu
