Re: [fluka-discuss]: Trouble in implementing a phase space file - iloflk error

From: Andrea Fontana <>
Date: Sun, 2 Jul 2017 12:08:11 +0200 (CEST)

Hi Jonathan,
  I was able to run succesfully your example with the gfortran version
of the last Fluka release. In any case it seems to be a memory
related error...

Which version of Fluka are you using?


> Hello,
> I have been trying to implement an external phase space source file into
> After having tried to develop it by myself, I used the fortran source file
> present in this thread :
> The compilation runs well in both of cases.
> However, in both of cases, I have this kind of error after some steps in
> the calculation, around the 150000th simulated particle (the index changes
> for my script, but it is the same matter) :
> "At line 250 of file feeder.f
> Fortran runtime error: Index '- 1072324259 ' of dimension 1 of array
> 'iloflk' below lower bound of 0"
> So now I don't understand why a negative index is attributed to iloflk,
> and I can't find where feeder.f is located. I found out this subroutine is
> used by the DETECT card... that I do not use.
> When I check the size of iloflk in the fortran file, I can't find anything
> abnormal, as for any information provided by the phase space file who
> seems to be well implemented.
> Does anyone have an idea about what's going wrong ? Struggling since some
> days to understand this...
> I join to this email the source file of the previous thread slightly
> modified, my .inp and .flair data, a part of the phase space file.
> N.B : this phase space file is way lighter than the original one (I took
> like 275 particles over more than 1 million...). I tested it with this
> number of particles - and it still gives me this kind of error.
> Don't hesitate to ask me if you need more info/files.
> Thanks by advance.
> Jonathan Page

Dr. Andrea Fontana                    tel: +39 0382 987991
Istituto Nazionale                    fax: +39 0382 423241
di Fisica Nucleare
Sezione di Pavia                      e-mail:
Via Bassi 6                           web   :
27100 PAVIA, Italy
You can manage unsubscription from this mailing list at
Received on Sun Jul 02 2017 - 13:09:14 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 02 2017 - 13:09:15 CEST