RE: [fluka-discuss]: Subscript out of range on file line 847, procedure usrsuw.f/MAIN

From: Stefan Roesler <Stefan.Roesler_at_cern.ch>
Date: Wed, 29 Jan 2014 14:33:30 +0000

Hi Sandra

In addition to what Alberto wrote, for consistency reasons, please also change the following initialization loops of the respective variables (260->400):

         DO IA = 1, 260
            DO IZ = 1, 100
               RESNUC (IZ,IA) = 0.E+00
               RESERR (IZ,IA) = 0.E+00
               IABEG (IZ) = 500
               IAEND (IZ) = 0
            END DO
         END DO

Cheers,
Stefan


-----Original Message-----
From: owner-fluka-discuss_at_mi.infn.it [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of Alberto Fasso
Sent: 20 January 2014 16:35
To: fluka-discuss_at_fluka.org
Cc: Sandra Giron
Subject: Re: [fluka-discuss]: Subscript out of range on file line 847, procedure usrsuw.f/MAIN

Dear Sandra,

the postprocessing programs (us*.f) that you find in $FLUPRO/flutil are independent of the FLUKA transport program, and can be modified and compiled without affecting it. It looks that the dimensions of the array RESNUC are too small for your case. Edit the file $FLUPRO/flutil/usrsuw.f and change the line DIMENSION IASTLN (100), RESNUC (100,260), RESERR (100,260) to DIMENSION IASTLN (100), RESNUC (100,400), RESERR (100,400) (I hope that it is sufficient, otherwise try again with a bigger number).
Then go to $FLUPRO and type
make

Now do the processing again.

Alberto

On Mon, 20 Jan 2014, Sandra Giron wrote:

> Dear FLUKA-users,
> I am running my FLUKA input without errors. However  I obtained that
> error, when processing the resnuclei files :
>
> Subscript out of range on file line 847, procedure usrsuw.f/MAIN
> Attempt to access the 261-th element of variable
> resnuc[subscript-2of-2]
>
> Running the same input file with less statistics was fine... Is it
> possible that I created unknown isotopes ? is there any
> mistake/missing card in my input file, or anything else I missed ?
>
> Thanks,
> Sandra
>
>
>
> ---------------------------------------------------------
> Sandra Giron
> CERN/DGS-RP
> HIE-ISOLDE project
> Bat. 892/2-B06
> CH-1211 Geneva 23, Switzerland
> Tel : +41 22 767 24 99
> ---------------------------------------------------------
>
>
Received on Wed Jan 29 2014 - 16:34:49 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 29 2014 - 16:34:50 CET