Dear Fluka experts,
I am simulating sampling from phase file source.dat with source.f file. I simulated sampling 1 million times, but it would stop every 200,000 times and errors would occur.
Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.
Backtrace for this error:
#0 0x758f9404251f in ???
at ./signal/…/sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
#1 0x62c416c6117f in ???
#2 0x62c416bea865 in ???
#3 0x62c416b54226 in ???
#4 0x62c416a13ce0 in ???
#5 0x62c416984600 in ???
#6 0x62c41697ae00 in ???
#7 0x758f94029d8f in __libc_start_call_main
at …/sysdeps/nptl/libc_start_call_main.h:58
#8 0x758f94029e3f in __libc_start_main_impl
at …/csu/libc-start.c:392
#9 0x62c41697c324 in ???
#10 0xffffffffffffffff in ???
Floating point exception (core dumped)
I don’t know what was wrong in my source.f file.
I hope you can help me.
Thank you,
Yongce
FLUKA_geometry.inp (3.3 KB)
source.zip (1.2 MB)
source_2.f (15.0 KB)