# CMAQ v 54 stops running without error in the middle of simulation

**URL:** <https://forum.cmascenter.org/t/cmaq-v-54-stops-running-without-error-in-the-middle-of-simulation/5797>\
**Category:** Run Time Errors and Issues\
**Created:** [May 12, 2025, 2:22pm UTC](https://forum.cmascenter.org/t/cmaq-v-54-stops-running-without-error-in-the-middle-of-simulation/5797 "2025-05-12T14:22:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrei](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@andrei](https://forum.cmascenter.org/u/andrei)\
**Post date:** [May 12, 2025, 2:22pm UTC](https://forum.cmascenter.org/t/cmaq-v-54-stops-running-without-error-in-the-middle-of-simulation/5797/1 "2025-05-12T14:22:59Z")

</div>

Hi,  
I am running CMAQ v54 and it stops in the middle of simulation.  
I’ve tried to locate the error in in CTM\_LOG\*, but there are no error messages.  
Tried to decrease setenv CTM\_MAXSYNC 720 ( default) to up to 60, but CMAQ stopped at the same hour.  
Wondering what is the reason and how to fix it

Thanks a lot,

Andrei

---

<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:** [May 12, 2025, 3:04pm UTC](https://forum.cmascenter.org/t/cmaq-v-54-stops-running-without-error-in-the-middle-of-simulation/5797/2 "2025-05-12T15:04:38Z")

</div>

Please review the tips to help us answer your question: [PLEASE READ before posting](https://forum.cmascenter.org/t/please-read-before-posting/1321)  
Did you run the benchmark tutorial and using inputs provided? [CMAQ/DOCS/Users\_Guide/Tutorials/CMAQ\_UG\_tutorial\_benchmark.md at main · USEPA/CMAQ · GitHub](https://github.com/USEPA/CMAQ/blob/main/DOCS/Users_Guide/Tutorials/CMAQ_UG_tutorial_benchmark.md)  
Do you obtain the error “CMAQv54 stops in the middle of the simulation” when running this benchmark tutorial?

If not, please specify more about your CMAQv54 simulation:  
Model Domain: e.g. 12US1 or 12NE3 or please specify the grid resolution, region and size of domain.  
Compiler and version: e.g. gcc or intel  
Library Installation version: netCDF-4 compressed or netCDF classic  
Length of model simulation: e.g. 1 day, 1 month, 1 year (difficult to tell what stops in the middle of the simulation means)  
What is the size of your compute server that you are running CMAQ?  
1. Do you have enough disk space for the model inputs and outputs?  
2. Do you have enough memory / core?  
3. Are you using a job scheduler such as slurm?

---

<div class="post-metadata">

**Author:** ![andrei](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@andrei](https://forum.cmascenter.org/u/andrei)\
**Post date:** [May 12, 2025, 3:35pm UTC](https://forum.cmascenter.org/t/cmaq-v-54-stops-running-without-error-in-the-middle-of-simulation/5797/3 "2025-05-12T15:35:32Z")

</div>

Thanks, Liz, for quick respond.

---

<div class="post-metadata">

**Author:** ![andrei](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@andrei](https://forum.cmascenter.org/u/andrei)\
**Post date:** [May 13, 2025, 12:58pm UTC](https://forum.cmascenter.org/t/cmaq-v-54-stops-running-without-error-in-the-middle-of-simulation/5797/4 "2025-05-13T12:58:53Z")

</div>

Hi Liz,  
I think I’ve solved the problem.  
I run CMAQ on the system with 256G RAM, with 192 threads.  
Domain dimensions are 35 layers x 196 col x 169 rows.

I used all threads in configuration 16x12 and had the above issue.  
I tried configuration 12x12 threads and run was successful.

Am I right, that my system does not have enough resources to run CMAQ using all threads ?  
Could you pl. recommend some rules on relations between RAM, domain size and number of threads to run CMAQ ?

Thank you very much,

Andrei
