RE: [fluka-discuss]: Error Floating Point exeption

From: Vasilis Vlachoudis <Vasilis.Vlachoudis_at_cern.ch>
Date: Wed, 14 Feb 2018 10:31:29 +0000

Fortran-77 has a limit of 72 characters per line.
You need to break the line in multiple, and mark
them as continuation by placing any character (not space)
at column 6


________________________________
From: Konstantin Roensch [konstantin.roensch_at_tu-ilmenau.de]
Sent: Wednesday, February 14, 2018 10:56
To: Vasilis Vlachoudis
Cc: fluka-discuss_at_fluka.org
Subject: RE: [fluka-discuss]: Error Floating Point exeption


Hi Vasilis,

Thanks for your help. That might be the Problem.

I tested your advice and i get another error message, please look at the picture and the NeutronSourcenew.f.

I tested the NeutronSourceNew.f with the line: PMOFLK (NPFLKA) = SQRT (TKEFLK (NPFLKA)*(TKEFLK (NPFLKA))).

Of Course this is not correct, but the Executable works.

Thanks

Konstantin

Am 2018-02-14 09:56, schrieb Vasilis Vlachoudis:

Konstantin,

in your NeutronSource.f you are assigning dynamically
the kinetic energy TKFLK from a big if
while the PMOFLK you always leave it fixed to PBEAM.
You should comment this line and uncomment the line
below that calculates the momentum from the kinetic
energy.

A minor thing, avoid using "spaces" in the filename of the
input normally it should work, but it might generate
troubles.

Vasilis Vlachoudis
Dep EN, CERN
CH-1211 GENEVA 23
SWITZERLAND

Phone: +41-22 767 9851
GSM: +41-75 411 4378

________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Konstantin Rönsch [konstantin.roensch_at_tu-ilmenau.de]
Sent: Tuesday, February 13, 2018 18:53
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Error Floating Point exeption


Dear Fluka Experts,

i want to simulate a spectral neutron source on an Dicom Phantom. For this i created an new Executable NeutronSource.exe and it works. I tested it on different simulations.

Then i imported an Dicom phantom via Flair, this also works, i can simulate neutron radiation with the normal Executable Source.f.

Now i want to simulate my NeutronSource.exe on the imported Dicom Phantom. But now i get an error:

[X]

I hope somebody can help me to fix the problem. It is very important for me.

Thanks

Konstantin






__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Feb 14 2018 - 12:48:20 CET

This archive was generated by hypermail 2.3.0 : Wed Feb 14 2018 - 12:48:21 CET