# CMAQ nested ERROR ABORT in subroutine retrieve\_time\_de on PE 000

**URL:** <https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799>\
**Category:** CMAQ\
**Created:** [December 25, 2022, 10:56am UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799 "2022-12-25T10:56:31Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xin\_jiayi](https://avatars.discourse-cdn.com/v4/letter/x/b9bd4f/32.png) [@Xin\_jiayi](https://forum.cmascenter.org/u/Xin_jiayi)\
**Post date:** [December 25, 2022, 10:56am UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/1 "2022-12-25T10:56:31Z")

</div>

[CTM\_LOG\_000.v532\_intel\_2017js02\_20170202.txt](https://forum.cmascenter.org/uploads/short-url/j0aiDyk8HbVEsG7ThpW9FmWztRl.txt) (75.1 KB)  
[ICON\_v532\_2016\_BJM\_regrid\_20170202.txt](https://forum.cmascenter.org/uploads/short-url/dMujom4QPwXzuQ2oNK7NFd73Emn.txt) (3.7 MB)  
Hello，all CMAQ user.  
I had used CMAQv5.3.2 to simulate a personal cases from 2017.2.2-2017.2.7,including three domains.  
In second domain , icon，bcon is produced by COMBINE\_ACONC\_v532\_intel\_2017js01\_201702.nc in POST/combine/scripts/run\_combine.csh file.  
If you could some suggestions and solutions ,I would appreciate it.

Sincere  
Xin-jiayi

=============================================  
|\>— SET UP GRAVITATIONAL SETTLING —\<|  
=============================================  
Requested date & time: 2017032:235959  
File starting date & time: 2017033:000000  
File time step: 010000

```
 >>--->> WARNING in subroutine RDTFLAG
 Time step error for file: INIT_CONC_1
 M3WARN: DTBUF 23:59:59 Feb. 1, 2017 (2017032:235959)
 
 >>--->> WARNING in subroutine XTRACT3
 Time step not available for file: INIT_CONC_1
 M3WARN: DTBUF 23:59:59 Feb. 1, 2017 (2017032:235959)

 *** ERROR ABORT in subroutine retrieve_time_de on PE 000
 Could not extract INIT_CONC_1 file

```

PM3EXIT: DTBUF 23:59:59 Feb. 1, 2017  
Date and time 23:59:59 Feb. 1, 2017 (2017032:235959)

```auto
Attachments

[ICON_v532_2016_BJM_regrid_20170202.txt|attachment](upload://dMujom4QPwXzuQ2oNK7NFd73Emn.txt) (3.7 MB)
[CTM_LOG_000.v532_intel_2017js02_20170202.txt|attachment](upload://j0aiDyk8HbVEsG7ThpW9FmWztRl.txt) (75.1 KB)
[run_cctm_js02.csh|attachment](upload://kqzj98WZjPFlEZPAOWcfId88RYR.csh) (34.7 KB)
[run_cctm_js02.csh|attachment](upload://kqzj98WZjPFlEZPAOWcfId88RYR.csh) (34.7 KB)
```

---

<div class="post-metadata">

**Author:** ![Xin\_jiayi](https://avatars.discourse-cdn.com/v4/letter/x/b9bd4f/32.png) [@Xin\_jiayi](https://forum.cmascenter.org/u/Xin_jiayi)\
**Post date:** [December 25, 2022, 10:59am UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/2 "2022-12-25T10:59:38Z")

</div>

[run\_cctm\_js02.csh](https://forum.cmascenter.org/uploads/short-url/kqzj98WZjPFlEZPAOWcfId88RYR.csh) (34.7 KB)

---

<div class="post-metadata">

**Author:** ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Post date:** [December 25, 2022, 1:28pm UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/3 "2022-12-25T13:28:17Z")

</div>

What are you doing requesting one second before GMT-midnight? Are you confusing 1 second with 1 hour in a time step somewhere?

---

<div class="post-metadata">

**Author:** ![Xin\_jiayi](https://avatars.discourse-cdn.com/v4/letter/x/b9bd4f/32.png) [@Xin\_jiayi](https://forum.cmascenter.org/u/Xin_jiayi)\
**Post date:** [December 26, 2022, 2:35am UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/4 "2022-12-26T02:35:04Z")

</div>

Thanks for your reply.I have checked the time setting of the script about cctm and icon.The following pictures are corresponding.

 ![icon](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/3/3e422d5e41c661ebd6d7579c07a41e7445e40f62.png)  
 ![cctm](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/8/8c167226a281beea325e31cd8d7bc6329d19ab98.png)

---

<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:** [December 27, 2022, 1:59pm UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/5 "2022-12-27T13:59:26Z")

</div>

The error message you are getting indicates you are looking for data one second before the first time step on the file. This data is not available, so the program aborts. The question is why the program is looking for data with this time stamp, or possibly why it is giving an incorrect error message.

In the default configuration provided in the CCTM run script, the ACONC file contains layer 1 only. If you then use the COMBINE program on the ACONC files and use that to generate your ICON and BCON files, you will not have sufficient data to run the nested domain.  
The ICON log file you uploaded appears to be binary. I am unable to read it.

---

<div class="post-metadata">

**Author:** ![Xin\_jiayi](https://avatars.discourse-cdn.com/v4/letter/x/b9bd4f/32.png) [@Xin\_jiayi](https://forum.cmascenter.org/u/Xin_jiayi)\
**Post date:** [December 30, 2022, 3:11am UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/6 "2022-12-30T03:11:29Z")

</div>

I’m sorry to see your reply so late, and I have updated the icon file. Look forward to your valuable suggestions

---

<div class="post-metadata">

**Author:** ![Xin\_jiayi](https://avatars.discourse-cdn.com/v4/letter/x/b9bd4f/32.png) [@Xin\_jiayi](https://forum.cmascenter.org/u/Xin_jiayi)\
**Post date:** [December 30, 2022, 3:15am UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/7 "2022-12-30T03:15:25Z")

</div>

[icon.txt](https://forum.cmascenter.org/uploads/short-url/mm56vcZXoxcy9olwPpQ5M4AbFfw.txt) (24.1 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:** [December 30, 2022, 2:21pm UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/8 "2022-12-30T14:21:46Z")

</div>

I still don’t know why the program is looking for a time one second before midnight. That is the ultimate cause of your error.  
I have a few general suggestions:

1. Since you seem to be starting a new project, upgrade to the latest version of CMAQ. You are using v5.3.2, which is now two years old.
2. I recommend starting with the benchmark case, to be sure that CMAQ is working correctly on your system. Check your outputs against those provided by CMAS.
3. Check the outputs and logs of the coarse domain simulation. Did that run to completion and obtain reasonable results?
4. If you want to run a nested case, the simulation on the parent domain should output the most important species for all vertical layers. You then use those to generate initial and especially boundary conditions. Your ICON log file indicates you have used the ACONC file from layer 1 only to generate ICs and BCs. Your domain is quite small geographically, at only 13x13 columns and rows, which perhaps mitigates the error in neglecting species aloft, but in general this is not the recommended way to run the model.

---

<div class="post-metadata">

**Author:** ![Xin\_jiayi](https://avatars.discourse-cdn.com/v4/letter/x/b9bd4f/32.png) [@Xin\_jiayi](https://forum.cmascenter.org/u/Xin_jiayi)\
**Post date:** [January 1, 2023, 4:25am UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/9 "2023-01-01T04:25:24Z")

</div>

Thank you for your valuable suggestions. I will check my mistakes according to these.

---

<div class="post-metadata">

**Author:** ![Alpha\_Su](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/alpha_su/32/2795_2.png) [@Alpha\_Su](https://forum.cmascenter.org/u/Alpha_Su)\
**Post date:** [September 3, 2023, 2:00am UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/10 "2023-09-03T02:00:27Z")

</div>

Thank you for your question @Xin_jiayi and thank you for your suggestion @cgnolte .

I have encountered the similar problem (i.e., “Time step not available for file: INIT\_CONC\_1” and the requested time step is the strange “\*\*:59:59”) using CMAQv5.3.3. I also tried v5.4 using the same set of input datasets. The problem remains.

The key to my question is just point four:

> [@cgnolte](#):
>
> If you want to run a nested case, the simulation on the parent domain should output the most important species for all vertical layers.

Previously i wrongly used the “COMBINE\_ACONC\*” file to generate ICON and BCON files for my nested domain. However, this “COMBINE\_ACONC\*” file contains only one layer. I guess this is why I cannot run CCTM correctly using ICON and BCON output from such conditions.

Hope this could help someone.

SU Yi

---

<div class="post-metadata">

**Author:** ![Xin\_jiayi](https://avatars.discourse-cdn.com/v4/letter/x/b9bd4f/32.png) [@Xin\_jiayi](https://forum.cmascenter.org/u/Xin_jiayi)\
**Post date:** [September 5, 2023, 1:41am UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/11 "2023-09-05T01:41:34Z")

</div>

When making icon files for nested domains, you only need to use the first day of the aconc file of the first domain , but when making a bcon file, you need to use a loop to read the daily aconc file, the related solution is linked below.

[Cmaq make BCON files that take more than a day - CMAQ - CMAS CENTER FORUM](https://forum.cmascenter.org/t/cmaq-make-bcon-files-that-take-more-than-a-day/3948)

---

<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:** [September 12, 2023, 1:09pm UTC](https://forum.cmascenter.org/t/cmaq-nested-error-abort-in-subroutine-retrieve-time-de-on-pe-000/3799/12 "2023-09-12T13:09:11Z")

</div>


