# Error in running the test case

**URL:** <https://forum.cmascenter.org/t/error-in-running-the-test-case/5266>\
**Category:** CMAQ\
**Created:** [October 3, 2024, 6:20pm UTC](https://forum.cmascenter.org/t/error-in-running-the-test-case/5266 "2024-10-03T18:20:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amin](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@amin](https://forum.cmascenter.org/u/amin)\
**Post date:** [October 3, 2024, 6:20pm UTC](https://forum.cmascenter.org/t/error-in-running-the-test-case/5266/1 "2024-10-03T18:20:50Z")

</div>

Hi Everyone,

I compiled CMAQ version 5.4 and I want to run the test case of it to make sure if I compiled the CMAQ correctly. I downloaded the “CMAQv5.4\_2018\_12NE3\_Benchmark\_2Day\_Input” files. I wanted to run this test data once with “serial” processor and then with “mpi” PROC with NCOL=4, NROW=2.

After running with serial, I got the attached “single. log” and for mpi, I got the attached “mpi8.log”. I also attached the “run\_cctm\_Bench\_2018\_12NE3.csh” and “CTM\_LOG\_007\_v5.4\_gcc\_Bench\_2018\_12NE3\_20180701” files.

It seems that it can not create the CGRID file. I will appreciate if anyone can help me solving this issue.

Thanks

[run\_cctm\_Bench\_2018\_12NE3.csh](https://forum.cmascenter.org/uploads/short-url/yvxodeddQ7uIDihGR3pnRdqWN8n.csh) (37.8 KB)  
[single.txt](https://forum.cmascenter.org/uploads/short-url/9xR6uOrlrRt6cE6SR0zYQA2JW1d.txt) (11.9 KB)  
[mpi8.txt](https://forum.cmascenter.org/uploads/short-url/9amn7c5yzjqQSDtg4lDCfrMQopN.txt) (12.3 KB)  
[CTM\_LOG\_007\_v54\_gcc\_Bench\_2018\_12NE3\_20180701.txt](https://forum.cmascenter.org/uploads/short-url/anJH5vTtbymw9YBqbc1QYfkqU6Q.txt) (57.2 KB)

---

<div class="post-metadata">

**Author:** ![cgnolte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/cgnolte/32/53_2.png) [@cgnolte](https://forum.cmascenter.org/u/cgnolte)\
**Post date:** [October 3, 2024, 6:44pm UTC](https://forum.cmascenter.org/t/error-in-running-the-test-case/5266/2 "2024-10-03T18:44:52Z")

</div>

If you are running serially, you need to compile the model serially (comment out set ParOpt in bldit\_cctm.csh) and you need to run the model serially by uncommenting line 712 in run\_cctm\_Bench\_2018\_12NE3.csh and commenting line 717.

As for the parallel run, the error in mpi8.txt tells you that the process on rank 4 crashed. Look for an error message in the CTM\_LOG\_004 file.

---

<div class="post-metadata">

**Author:** ![amin](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@amin](https://forum.cmascenter.org/u/amin)\
**Post date:** [October 3, 2024, 7:20pm UTC](https://forum.cmascenter.org/t/error-in-running-the-test-case/5266/3 "2024-10-03T19:20:20Z")

</div>

Thanks @cgnolte

I checked the CTM\_LOG\_004 file and it seems that this file is as same as the  
[CTM\_LOG\_004\_v54\_gcc\_Bench\_2018\_12NE3\_20180701.txt](https://forum.cmascenter.org/uploads/short-url/zaFUyaE6mmvWMQKV9nDxPqYeKN9.txt) (57.2 KB)  
CTM\_LOG\_007 file which I attached it.

---

<div class="post-metadata">

**Author:** ![cgnolte](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/cgnolte/32/53_2.png) [@cgnolte](https://forum.cmascenter.org/u/cgnolte)\
**Post date:** [October 3, 2024, 8:08pm UTC](https://forum.cmascenter.org/t/error-in-running-the-test-case/5266/4 "2024-10-03T20:08:10Z")

</div>

I see. Segmentation faults sometimes do not provide much information.  
I can’t tell what is wrong. You might try compiling the model in debug mode  
(set Debug\_cctm in bldit\_cctm.csh and rerun).

> <https://github.com/USEPA/CMAQ/blob/main/DOCS/Users_Guide/Tutorials/CMAQ_UG_tutorial_debug.md>
