Failed with smk_edgar_HEMI108k.csh

Hi~ I’m using SMOKEv4.7 and try to run smk_edgar_HEMI108k.csh.But I got the following message:

At line 369 of file /home/user/SMOKE/subsys/smoke/src/smkinven/wrinvchr.f
Fortran runtime error: Index ‘1’ of dimension 1 of array ‘cmact’ above upper bound of 0

Can any one help me? Thanks!

This may be caused by lack of ram memory. Can you allocate more memory to run Grdmat? Because there are more than 6 million grid cells from these HTAP or EDGAR files and treated as sources, you need to have enough RAM memory to process them.

Thanks. I have added “ulimit -s unlimited” in my script but it didn’t work.
Actually, my program stops at the SMKINVEN step, not the Grdmat as mensioned by others. I’m not sure if it’s the same problem.

How much of memory do you have in your computer? Is it a cluster?


Not a cluster, there is only 64 GB.

I am guessing that all 64GB is not available for SMOKE to use. Minimize any memory usage by other program and maximize the memory if possible. If that does not work, try to run SMOKE v4.0 and v4.5 (not v4.6) to see whether it runs on your computer. That will help me to identify the potential issue.

Thanks for your help. I’ll have a try.