# ERROR ABORT in subroutine ASGNTPRO

**URL:** <https://forum.cmascenter.org/t/error-abort-in-subroutine-asgntpro/2462>\
**Category:** SMOKE\
**Tags:** smoke-481\
**Created:** [June 30, 2021, 5:54pm UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-asgntpro/2462 "2021-06-30T17:54:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hasibul](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@Hasibul](https://forum.cmascenter.org/u/Hasibul)\
**Post date:** [June 30, 2021, 5:54pm UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-asgntpro/2462/1 "2021-06-30T17:54:05Z")

</div>

Dear all,

I am trying to run Rate Per Start (RPS) module in SMOKE 4.8.1. I am facing issues running temporal part of RPS. The error is associated with Month-of-Year profile not found in temporal profiles. The recommended inputs for RPS (mtref\_onroad\_MOVES\_starts\_28aug2020\_nf\_v1,mtpro\_weekly\_onroad\_MOVES\_starts\_12may2020\_v0,mtpro\_hourly\_onroad\_MOVES\_starts\_12may2020\_v0,meproc\_MOVES\_RPS\_12may2020\_v0,MRCLIST\_MOVES3\_MYR\_2017\_20201201\_RPS\_10dec2020\_v0) does not come with Month-of-Year profile. The issue is detailed below:  
File “MTREF” opened for input on unit: 94  
/lustre/fs0/home/mhasan/Parallel/cmaq/Build\_CMAQ/LIBRARIES/data/ge\_dat/mtref\_onroad\_MOVES\_starts\_28aug2020\_nf\_v1

```
 PROCTPRO: TREF type "MONTH-of-YEAR " active reference count= 0
 PROCTPRO: TREF type "DAY-of-WEEK " active reference count= 12
 PROCTPRO: TREF type "DAY-of-MONTH " active reference count= 0
 PROCTPRO: TREF type "MONDAY " active reference count= 12
 PROCTPRO: TREF type "TUESDAY " active reference count= 12
 PROCTPRO: TREF type "WEDNESDAY " active reference count= 12
 PROCTPRO: TREF type "THURSDAY " active reference count= 12
 PROCTPRO: TREF type "FRIDAY " active reference count= 12
 PROCTPRO: TREF type "SATURDAY " active reference count= 12
 PROCTPRO: TREF type "SUNDAY " active reference count= 12
 PROCTPRO: TREF type "MET-BASED " active reference count= 0

 File "MTPRO_WEEKLY" opened for input on unit: 93
 /lustre/fs0/home/mhasan/Parallel/cmaq/Build_CMAQ/LIBRARIES/data/ge_dat/mtpro_weekly_onroad_MOVES_starts_12may2020_v0

 PROCTPRO/CSVPROF : file "MTPRO_WEEKLY" processed: 12 active data-rows 7 fields

 File "MTPRO_HOURLY" opened for input on unit: 93
 /lustre/fs0/home/mhasan/Parallel/cmaq/Build_CMAQ/LIBRARIES/data/ge_dat/mtpro_hourly_onroad_MOVES_starts_12may2020_v0

 PROCTPRO/CSVPROF : file "MTPRO_HOURLY" processed: 24 active data-rows 24 fields
 Value for RENORM_TPROF: N returning FALSE
 Value for FULLSCC_ONLY: N returning FALSE
 Value for SMK_MAXERROR: 100
 Assigning temporal profiles to sources...
 ASGNTPRO: Not using Month-of-Year profiles

```

ERROR: No month-of-year profile found for source 1 : Region: 000000001001 Road Type: 21 Vtype: 2 SCC: 00000000002202210172  
…  
ERROR ABORT in subroutine ASGNTPRO  
Problem assigning temporal profiles to sources

Hasibul

---

<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:** [July 26, 2021, 1:45pm UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-asgntpro/2462/2 "2021-07-26T13:45:51Z")

</div>

Were you able to resolve this issue? Searching on the User Forum for a similar error report, I did see recommendations that you start with the latest modeling platform. [Temporal Running Error: No temporal cross-reference available](https://forum.cmascenter.org/t/temporal-running-error-no-temporal-cross-reference-available/2390)

---

<div class="post-metadata">

**Author:** ![Hasibul](https://avatars.discourse-cdn.com/v4/letter/h/838e76/32.png) [@Hasibul](https://forum.cmascenter.org/u/Hasibul)\
**Post date:** [July 27, 2021, 1:28am UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-asgntpro/2462/3 "2021-07-27T01:28:20Z")

</div>

The issue is still unresolved. I used the latest emission platform data and the CMAS recommended script for RPS. I am attaching the assign file and script that I used for RPS and the log files. The recommended RPS script is taken from ([https://gaftp.epa.gov/Air/emismod/MOVES3/2017/](https://gaftp.epa.gov/Air/emismod/MOVES3/2017/)) .  
[ASSIGNS.nctox.cmaq.cb05\_soa.us12-nc.txt](https://forum.cmascenter.org/uploads/short-url/93YHfNoyxNJrmqfSqxhfQomTT9j.txt) (25.7 KB)  
[grdmat.rateperstart.nctox.us12-nc.txt](https://forum.cmascenter.org/uploads/short-url/bdiGhFG49LocFTZOgpGIPaV5KED.txt) (130.4 KB)  
[movesmrg.rateperstart.nctox.20050710.us12-nc.txt](https://forum.cmascenter.org/uploads/short-url/AsBxnj1bfLl7IaIjMufdmrj6AGK.txt) (7.4 KB)  
[smkinven.rateperstart.nctox.txt](https://forum.cmascenter.org/uploads/short-url/4mQuOplZlj1yadEHph88v6Brf81.txt) (26.9 KB)  
[spcmat.rateperstart.nctox.cmaq\_cb6ae7.txt](https://forum.cmascenter.org/uploads/short-url/9b0gnmJwPguekoBFa62M7xqJVEo.txt) (23.0 KB)  
[temporal.rateperstart.nctox.20050710.us12-nc.txt](https://forum.cmascenter.org/uploads/short-url/i55P1Gv4nPgRwcESieiiJgsEqls.txt) (22.2 KB)  
[smk\_rateperstart\_nctox.txt](https://forum.cmascenter.org/uploads/short-url/eckKCLrGfQ0orcerT6LF2hucPtp.txt) (4.6 KB)  
Here are the recommended CMAS scripts:  
[Monthly\_onroad\_diesel\_RPS\_12US1\_EQUATES\_2017.txt](https://forum.cmascenter.org/uploads/short-url/7USG1oIkgPycsJjxGr3OmZkyafc.txt) (8.7 KB)  
[Monthly\_onroad\_gas\_RPS\_12US1\_EQUATES\_2017.txt](https://forum.cmascenter.org/uploads/short-url/oG1cMwWMRDQd4mfh7klZlyXffo2.txt) (8.7 KB)

I will be thankful if you can help me solve this issue as RPS is one of the newest addition in SMOKE.

Hasibul

---

<div class="post-metadata">

**Author:** ![eyth.alison](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@eyth.alison](https://forum.cmascenter.org/u/eyth.alison)\
**Post date:** [July 27, 2021, 12:45pm UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-asgntpro/2462/4 "2021-07-27T12:45:05Z")

</div>

We run RPS / starts using monthly activity data, so month-of-year profiles don’t need to be defined. Your run is reading in the annual activity data with SMKINVEN\_MONTH set to 0. You should run Smkinven (and Spcmat/Grdmat/Temporal) once per month with SMKINVEN\_MONTH = 1, 2, 3, etc, so that SMOKE will read in the monthly starts activity data.
