# Segment error when running temporal

**URL:** <https://forum.cmascenter.org/t/segment-error-when-running-temporal/4773>\
**Category:** SMOKE\
**Tags:** smoke, emissions\
**Created:** [March 11, 2024, 5:26pm UTC](https://forum.cmascenter.org/t/segment-error-when-running-temporal/4773 "2024-03-11T17:26:54Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lwu127](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@lwu127](https://forum.cmascenter.org/u/lwu127)\
**Post date:** [March 11, 2024, 5:26pm UTC](https://forum.cmascenter.org/t/segment-error-when-running-temporal/4773/1 "2024-03-11T17:26:54Z")

</div>

Hi,

I encountered the following error when running temporal program of SMOKE-4.8:

forrtl: severe (174): SIGSEGV, segmentation fault occurred  
Image PC Routine Line Source  
libpthread-2.31.s 000015250432F8C0 Unknown Unknown Unknown  
temporal 0000000000418775 genhemis\_ 280 genhemis.f  
temporal 0000000000436E01 MAIN\_\_ 834 temporal.f  
temporal 000000000040BF7D Unknown Unknown Unknown  
libc-2.31.so 00001524FFD9B29D \_\_libc\_start\_main Unknown Unknown  
temporal 000000000040BEAA Unknown Unknown Unknown

I checked the genhemis.f file, the 280 line is:

CALL NEXTIME( TDATE, TTIME, 10000 )

The temporal.log file did not show ERROR. I could not figure out what might cause this error, could you help with it?

Thanks,  
Lin  
[smk\_gfed\_HEMI108k.csh](https://forum.cmascenter.org/uploads/short-url/7vemku4OhuVGv2OEFzM5iZKtLrm.csh) (6.7 KB)  
[temporal.gfed.HEMI\_108k.20190101.log.txt](https://forum.cmascenter.org/uploads/short-url/vtVmCdB61gJzjSL5OYNg6YNhhBb.txt) (11.4 KB)

---

<div class="post-metadata">

**Author:** ![huytran6583](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/huytran6583/32/3357_2.png) [@huytran6583](https://forum.cmascenter.org/u/huytran6583)\
**Post date:** [March 11, 2024, 5:51pm UTC](https://forum.cmascenter.org/t/segment-error-when-running-temporal/4773/2 "2024-03-11T17:51:15Z")

</div>

Hi Lin.

Did you compile SMOKE v4.8 on your own? If so, which compiler did you use? Have you tried running with SMOKE v5.0?

Also please check if there was error reported in running SMKINVEN step.

Huy

---

<div class="post-metadata">

**Author:** ![lwu127](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@lwu127](https://forum.cmascenter.org/u/lwu127)\
**Post date:** [March 11, 2024, 6:10pm UTC](https://forum.cmascenter.org/t/segment-error-when-running-temporal/4773/3 "2024-03-11T18:10:09Z")

</div>

Thanks for helping Huy,

Yes i compiled SMOKE v4.8 on my own. I used intel fortran compiler. I did not try SMOKE v5.0 but i tried run EDGAR with SMOKEv4.8 and it succeed.

smkinven.log, grdmat.log and spcmat.log all showed “Normal Completion of program”.

Thanks,  
Lin

---

<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:** [March 11, 2024, 6:41pm UTC](https://forum.cmascenter.org/t/segment-error-when-running-temporal/4773/4 "2024-03-11T18:41:50Z")

</div>

Can you please provide the Smkinven log, the .lst file read by Smkinven, the, ATREF and the three ATPROs?

---

<div class="post-metadata">

**Author:** ![lwu127](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@lwu127](https://forum.cmascenter.org/u/lwu127)\
**Post date:** [March 11, 2024, 7:27pm UTC](https://forum.cmascenter.org/t/segment-error-when-running-temporal/4773/5 "2024-03-11T19:27:41Z")

</div>

Thanks for your help, please see the files below.  
Thanks,  
Lin  
[arinv.gfed.lst.txt](https://forum.cmascenter.org/uploads/short-url/chNPAEC22aLdYmdvAnLmDPF34Qa.txt) (323 Bytes)  
[atpro\_gfed\_hourly.txt](https://forum.cmascenter.org/uploads/short-url/dxiYSyva1jobOPJ7lbAhcP95xID.txt) (1.7 KB)

[atpro\_gfed\_monthly.txt](https://forum.cmascenter.org/uploads/short-url/jU1YhhWUaWkcTpf7d38RlJUGmfx.txt) (857 Bytes)  
[atpro\_gfed\_weekly.txt](https://forum.cmascenter.org/uploads/short-url/409a7c2J1QpPfIA59IREGlE6wqn.txt) (607 Bytes)  
[atref\_gfed.txt](https://forum.cmascenter.org/uploads/short-url/ivEocx6aOjEHhUPzHk7MXtWZbnN.txt) (713 Bytes)  
[smkinven.gfed.HEMI\_108k.log.txt](https://forum.cmascenter.org/uploads/short-url/zV6uggaRIsLBbuCoIOnSP58r6PH.txt) (9.3 KB)

---

<div class="post-metadata">

**Author:** ![lwu127](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@lwu127](https://forum.cmascenter.org/u/lwu127)\
**Post date:** [March 14, 2024, 4:49pm UTC](https://forum.cmascenter.org/t/segment-error-when-running-temporal/4773/6 "2024-03-14T16:49:45Z")

</div>

The problem has been solved. It is caused by several missing TZONES values in the self generated GRIDMASK files.

Thanks,  
Lin

---

<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:** [March 14, 2024, 5:05pm UTC](https://forum.cmascenter.org/t/segment-error-when-running-temporal/4773/7 "2024-03-14T17:05:43Z")

</div>

Great news – thanks for the update
