Re: [fluka-discuss]: Source.f subroutine not reading phase space file

From: Giuseppe Battistoni <giuseppe.battistoni_at_mi.infn.it>
Date: Tue, 28 Jun 2016 19:26:47 +0200

Dear Juan
your psf.dat sometimes contains an alphanumeric character
instead of an integer in the first position.
The first occurrence of this problem is at line 1269,
but there are many other cases. Therefore that file
is corrupted or badly written.
This is the reason of your runtime error.

Best regards
        Giuseppe Battistoni

On 28/06/16 18:17, Juan Prieto Pena wrote:
> Dear FLUKA experts,
>
> I am having some troubles executing a simulation in which I read
> different particles from a phase space file using a source subroutine (I
> based mine on previous work shown in this mail-list,
> http://www.fluka.org/web_archive/earchive/new-fluka-discuss/5931.html
> and
> http://www.fluka.org/web_archive/earchive/new-fluka-discuss/2887.html ).
>
> The program runs well when I set the parameter NLINES to a small number,
> i.e. 20, but it crashes when I try to read the whole file changing
> NLINES to the number of lines in the file (in this case 236656). The
> error says:
>
> "invalid number: incomprehensible list input
> apparent state: unit 88 named ../psf.dat
> last format: list io
> lately reading sequential formatted external IO"
>
> I am by no means an expert in FORTRAN, so I do not know if the problem
> is in my source file or in my FLUKA input. What am I doing wrong?
>
> Regards,
>
> Juan Prieto-Pena
> Predoctoral researcher
> Department of Particle Physics
> University of Santiago de Compostela (USC)

-- 
INFN Milano
via Celoria 16, 20133 Milano
tel: +39 02 50317307
fax: +39 02 50317617
__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Tue Jun 28 2016 - 21:36:05 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 28 2016 - 21:36:07 CEST