[fluka-discuss]: error: Program terminated with signal SIGFPE, Arithmetic exception.

From: Zhiyi Liu <zhiyil_at_triumf.ca>
Date: Mon, 3 Apr 2017 12:34:04 -0700

Hi,
I am using customised source code to generate primary particles.

​The code crashed with the following error:

​Program received signal SIGFPE: Floating-point exception - erroneous
arithmetic operation.

Backtrace for this error:
#0 0x7F13C6D39777
#1 0x7F13C6D39D7E
#2 0x7F13C6475CAF
#3 0x4C03A8 in genout_ at genout.f:112 (discriminator 8)
#4 0x4090B0 in flukam_ at flukam.f:3174 (discriminator 8)
#5 0x40244B in fluka at fluka.f:289
#6 0x7F13C6460F44
Floating point exception (core dumped)

​I use gdb tool to debug it and have the message like:

​Program terminated with signal SIGFPE, Arithmetic exception.
#0 genout () at genout.f:112
112 genout.f: No such file or directory.


​My code is attached for your reference. Basically it reads a file
containing particles.

Any hints?​

I am using gfortran in gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.3)


​Thanks.​

-- 
Zhiyi Liu
Advanced Applied Physics Solutions, TRIUMF
4004 Wesbrook Mall, Vancouver, BC, Canada V6T 2A3
Tel: (604)222-7702 Email: zhiyil_at_triumf.ca



__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

Received on Mon Apr 03 2017 - 22:33:20 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 03 2017 - 22:33:21 CEST