# Error running CCTM: CCTM abruptly terminated

**URL:** https://forum.cmascenter.org/t/error-running-cctm-cctm-abruptly-terminated/4914
**Category:** CMAQ
**Tags:** cmaq
**Created:** [May 6, 2024, 1:45am UTC](https://forum.cmascenter.org/t/error-running-cctm-cctm-abruptly-terminated/4914 "2024-05-06T01:45:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![user\_zzzt](https://avatars.discourse-cdn.com/v4/letter/u/87869e/32.png) [@user\_zzzt](https://forum.cmascenter.org/u/user_zzzt)
#### Post date: [May 6, 2024, 1:45am UTC](https://forum.cmascenter.org/t/error-running-cctm-cctm-abruptly-terminated/4914/1 "2024-05-06T01:45:22Z")

</div>

Hello, when I run the CCTM module of CMAQv5.0.2, the program abruptly terminated, the error message indicates a bad termination of one of the application processes with exit code 126. What could be the reason for this? Is it related to the number of threads called by MPIRUN? Below are my log file and the CCTM script. Thanks for your help!

 ![ed33c83c6be16b388939c940307ef6b](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/6/650d5829f95dbbea76079cb033e398ffd3f32790.png)  
[7d02\_1.txt](https://forum.cmascenter.org/uploads/short-url/neJaBhMdaLA7SYGYvKAmuyuSC8I.txt) (6.7 MB)  
[7d02\_2.txt](https://forum.cmascenter.org/uploads/short-url/79FVnaSVyTtQvqk512mLyPIDHzB.txt) (4.7 MB)  
[7d03\_3.txt](https://forum.cmascenter.org/uploads/short-url/pDAW0Efz36Z8Qyl0nRBraJzgHOu.txt) (6.9 MB)  
[d02cctm.txt](https://forum.cmascenter.org/uploads/short-url/z3KelvdfeOKindcdr0lfcuhsiXY.txt) (14.5 KB)

---

<div class="post-metadata">

### Author: ![hogrefe.christian](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hogrefe.christian](https://forum.cmascenter.org/u/hogrefe.christian)
#### Post date: [May 6, 2024, 11:22am UTC](https://forum.cmascenter.org/t/error-running-cctm-cctm-abruptly-terminated/4914/2 "2024-05-06T11:22:10Z")

</div>

Thanks for posting your run script and your 3-part main log file.

To obtain more information on what may have caused this error, you’ll need to look at the processor-specific log file for “process 17”, i.e. CTM\_LOG\_017 or maybe CTM\_LOG\_016 (I keep forgetting how the zero-indexed CTM\_LOG\_… files map to the process rank reported in the main processor log file). The error causing the crash occurred in the subdomain handled by that processor.

---

<div class="post-metadata">

### Author: ![user\_zzzt](https://avatars.discourse-cdn.com/v4/letter/u/87869e/32.png) [@user\_zzzt](https://forum.cmascenter.org/u/user_zzzt)
#### Post date: [May 7, 2024, 12:18pm UTC](https://forum.cmascenter.org/t/error-running-cctm-cctm-abruptly-terminated/4914/3 "2024-05-07T12:18:52Z")

</div>

Hello, I checked the CTM\_LOG\_017 file, and it shows an error message ERROR ABORT in subroutine VPPM on PE 017. How can I resolve this? Thank you in advance!

 ![2008af455d1547dfc78f00b64652f04](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/d/d39e83a7c5d6970066d649910bc73531a0117b14.png)

---

<div class="post-metadata">

### Author: ![hogrefe.christian](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hogrefe.christian](https://forum.cmascenter.org/u/hogrefe.christian)
#### Post date: [May 7, 2024, 4:42pm UTC](https://forum.cmascenter.org/t/error-running-cctm-cctm-abruptly-terminated/4914/4 "2024-05-07T16:42:08Z")

</div>

Thanks for posting this additional information. This points to issues caused by the meteorological fields from MCIP in the computation of vertical advection in the CCTM for this subdomain and time period. You can try reducing the maximum and minimum synchronization time steps specified in your run script (CTM\_MAXSYNC and CTM\_MINSYNC) to see if this helps. Maybe start by cutting them in half first, and then potentially reduce them further if the problem persists.
