My program terminated unexpectedly when simulate muons pass through the soil.
The primary particle information was read from an external .txt file through OPEN and SOURCE cards. After run the input (neww10.inp) in flair, it crashed and finished with errors.
The neww10.out shows:
...
======================== Running FLUKA for cycle # 1 ========================
Error: "/home/jiang/FlukaTest/w10/aw10" executable returned RC=136
And the fluka_23043/neww10001.log shows:
...
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
#0 0x7f273f1cd2ed in ???
#1 0x7f273f1cc503 in ???
#2 0x7f273e849fcf in ???
#3 0x55fb666666a4 in ???
...
to be able to test your source routine, could you provide (a portion of) the data file you are using, and the complete backtrace from neww10001.log file?
I sorry, I though your problem was related to another issue, but it seems that’s not the case.
Since I can run your input without any problem on an Ubuntu 18.04 with FLUKA installed from the .deb package, I can only think that there was an error in your source routine, you fixed it, but by mistake you forgot to recompile your executable.