Re: [fluka-discuss]: FLUKA error

From: Paola Sala <paola.sala_at_mi.infn.it>
Date: Thu, 24 Sep 2020 14:21:29 +0200

Hello
the error originates in mgdraw-test.f, entry bxdraw . The transported
particle is an heavy ion, carrying partile index=-7. Its properties are
NOT stored in the same arrays as for "standard" particles (JTRACK>=-6)
The currently TRANSPORTED ion has JTRACK=-2 or JTRACK <-6
(if approx ion transport) . Properties can be retrieved from
- PAPROP with index –2 if JTRACK=-2
or
- FHEAVY with index -JTRACK if JTRACK<-6
You can insert a check in your code, something like
IF (JTRACK .LT. -6) THEN
PARTMAS = AMNHEA (-JTRACK)
ELSE
PARTMAS = AM (JTRACK)
END IF

This should have nothing to do with your "hanging" problems.
Hope this helps

Paola
>  Dear experts,
>
>  some time ago I wrote that FLUKA get in the hanging state.
>
>  Today I can tell you about errors which I see  3 times  for the
>
>  last my jobs.
>
>  It looks like this :   test4002.log
>
> --------------------------------
>
> At line 1030 of file mgdraw-test4.f
> Fortran runtime error: Index '-7' of dimension 1 of array 'am' below
> lower bound of -6
>
> Error termination. Backtrace:
> #0  0x4054b3 in master.0.mgdraw
>     at
> /lustre/ihep.su/user/b/babintse/tmp/dFLUKA-CLUSTER/work10-stend/run3/STEP2/job7/data20/mgdraw-test4.f:1030
> #1  0x4055c0 in bxdraw_
>     at
> /lustre/ihep.su/user/b/babintse/tmp/dFLUKA-CLUSTER/work10-stend/run3/STEP2/job7/data20/mgdraw-test4.f:829
> #2  0x7b0623 in kashea_
>     at /home/psala/releasefluka2020/fluprogfor/kaskadmvax/kashea.f:1538
> #3  0x511396 in kaskad_
>     at /home/psala/releasefluka2020/fluprogfor/kaskadmvax/kaskad.f:4129
> #4  0x5075f1 in feeder_
>     at /home/psala/releasefluka2020/fluprogfor/kaskadmvax/feeder.f:276
> #5  0x40a32b in flukam_
>     at /home/psala/releasefluka2020/fluprogfor/mainmvax/flukam.f:3598
> #6  0x4023db in fluka
>     at /home/psala/releasefluka2020/fluprogfor/mainmvax/fluka.f:318
> #7  0x4023db in main
>     at /home/psala/releasefluka2020/fluprogfor/mainmvax/(USFLMD):23
> ri, Johannes  Ranft,  Paola Sala  (the "FLUKA Authors"),
>   and collaborators (the "Collaborators").   The Flair user in-
>   terface results in particular from work performed by  Vasilis
>   Vlachoudis  (the "Flair Author") and collaborators  (also the
>   "Collaborators").
>
> -----------------------------
>
>  My steps here : to restart again many times !
>
>  Could you please give me any advise ?
>
>  Some comments: I use 2-step method,
>
>  now I am reading BIG input file of secondary particles.
>
>
>   thank you
>
>  Vladimir
>
>
>
>


Paola Sala
INFN Milano
tel. Milano +39-0250317374
tel. CERN +41-227679148

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Sep 24 2020 - 16:15:28 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 24 2020 - 16:15:40 CEST