# ERROR ABORT in subroutine OPENREPIN

**URL:** <https://forum.cmascenter.org/t/error-abort-in-subroutine-openrepin/4963>\
**Category:** SMOKE\
**Created:** [May 24, 2024, 4:17pm UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-openrepin/4963 "2024-05-24T16:17:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahsasoleimani](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mahsasoleimani](https://forum.cmascenter.org/u/mahsasoleimani)\
**Post date:** [May 24, 2024, 4:17pm UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-openrepin/4963/1 "2024-05-24T16:17:48Z")

</div>

Hi,

I am trying to run SMOKE v4 for the area source of residential wood combustion for one day in 2019 in Canada without running the speciation matrix program. The log files have all been normally completed except for smkreport.area.inv.CAN.log and smkreport.area.temporal.CAN.2016191.log, where I am getting errors. Also, there is no file in the output directory. Could you please let me know how to address that?

Thank you,  
Mahsa  
[smkreport.area.inv.CAN.txt](https://forum.cmascenter.org/uploads/short-url/y9NoqmxKb5x1PhssiEU4m3z6HEH.txt) (10.3 KB)  
[smkreport.area.temporal.CAN.2016191.txt](https://forum.cmascenter.org/uploads/short-url/pBV9DzQnByC5rKPZHm7di5Ego9G.txt) (10.5 KB)

---

<div class="post-metadata">

**Author:** ![james.beidler](https://avatars.discourse-cdn.com/v4/letter/j/6f9a4e/32.png) [@james.beidler](https://forum.cmascenter.org/u/james.beidler)\
**Post date:** [May 24, 2024, 5:05pm UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-openrepin/4963/2 "2024-05-24T17:05:34Z")

</div>

Both smkreport log files indicate that a speciation-related intermediate file is missing. If you need these particular reports you will need to run spcmat.

Which file is not in the output directory? If you want to generate spatially allocated and temporalized emissions files without speciation you need to make sure that the MRG\_SPCMAT\_YN environment variable is set to “N” prior to running mrggrid.

---

<div class="post-metadata">

**Author:** ![mahsasoleimani](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mahsasoleimani](https://forum.cmascenter.org/u/mahsasoleimani)\
**Post date:** [May 24, 2024, 5:31pm UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-openrepin/4963/3 "2024-05-24T17:31:01Z")

</div>

Thanks so much for your response.

I need these reports as they perform important checks, but if I understand correctly, generating these files is not possible without specification.

Even I set RUN\_SMKREPORT to N and now the log files are all completed normally, but there is still no “.ncf” output file in the data/output/cmaq\_cb05\_soa directory.

---

<div class="post-metadata">

**Author:** ![mahsasoleimani](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mahsasoleimani](https://forum.cmascenter.org/u/mahsasoleimani)\
**Post date:** [May 24, 2024, 5:42pm UTC](https://forum.cmascenter.org/t/error-abort-in-subroutine-openrepin/4963/4 "2024-05-24T17:42:08Z")

</div>

This is the run script file and I set both RUN\_SPCMAT and MRG\_SPCMAT\_YN to N, but no output is generated.  
[smk\_area\_CAN.txt](https://forum.cmascenter.org/uploads/short-url/cgqyXRMOmAufCzJQGQCFYgR2NUr.txt) (6.6 KB)
