Fortran runtime error: Index '-17' of dimension 1 of array 'ichrge' below lower bound of -6

Dear FLUKA experts,

The error message was created in the temporary file when a running file suddenly stopped after several runs.
In the https://fluka-forum.web.cern.ch/t/fortran-runtime-error/5436, it was said that the new version FLUKA 4-4-0 will solve this problem. I update my FLUKA. But I still got similar error messages. It won’t appear in every running file. But it does come up from time to time. I have attached the screenshot and inp files.


inpfiles.zip (350.9 KB)

Thanks in advance for your help.

Best,

Jingfang

Thanks, indeed the issue unfortunately persists in certain cases, as recently reported here by @martam too. We are working to make available a more robust fix soon in the upcoming minor release.