RE: Floating Point Exception Error when using Source.f

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Mon, 13 May 2013 11:17:41 +0000

Dear Lewis

I've just tested your input + source.f with the latest fluka 2011.2b (g77 version) and it terminated the 5 cycles with no problem.
Are you using the gfortran version (4.5, 4.6?) or the g77? Could you please try to test it with the latest version on your machine?

Best Regards
Vasilis

________________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Lewis.Macfarlane_at_nuclear.co.uk [Lewis.Macfarlane_at_nuclear.co.uk]
Sent: 11 May 2013 10:20
To: fluka-discuss_at_fluka.org
Subject: Floating Point Exception Error when using Source.f

Dear FLUKA experts,

I have some issues trying to run a simple (test) proton case with a source.f subroutine.
The same subroutine has been used on earlier versions of Fluka/Flair without any issues. Current versions are:

Fluka: 2011.2 (Feb. 2013)
Flair: 1.1-1 (March 2013)

The input file runs fine when source.f file is not attached, i.e. with a mono-energetic source.
The source.f file allows the use of a simple rectangular spectrum with a conical beam profile defined by a divergence half-angle.
     When used with the source.f file, the code terminates with the error:

*** Vacuum stopping: Ij, Pla, Ekin

Within the log file, is:

Program received signal 8 (SIGFPE): Floating-point exception.

Backtrace for this error:
      + /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fbcdb71a4a0]
      + function kaskad_ (0x501D2C)
        at line 4139 of file kaskad.f
      + function feeder_ (0x4F67B6)
        at line 257 of file feeder.f
      + function flukam_ (0x40D055)
        at line 3095 of file flukam.f
      + function fluka (0x40785C)
        at line 289 of file fluka.f
      + /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fbcdb70576d]

I have attached my input file and source.f for your consideration. Any help
     would be greatly appreciated,

Many thanks,
Lewis MacFarlane.
Received on Mon May 13 2013 - 18:28:46 CEST

This archive was generated by hypermail 2.3.0 : Mon May 13 2013 - 18:28:46 CEST