Re: R: RE: [fluka-discuss]: error in cmpcrd.f procedure

From: Francesco Cerutti <Francesco.Cerutti_at_cern.ch>
Date: Thu, 13 Aug 2015 19:18:28 +0200

Hi Michele

this other error has nothing to do with material definition, rather with
your source coding. The AM array contains the particle masses, but the
adopted index is inappropriate. The value of the latter (601230) exceeds
the array boundaries and actually refers to an ion (12C), whose mass is
stored in AM(-2) [with -2 corresponding to a generic HEAVYION] under
certain circumstances.

Kind regards

Francesco

**************************************************
Francesco Cerutti
CERN-EN/STI
CH-1211 Geneva 23
Switzerland
tel. ++41 22 7678962
fax ++41 22 7668854

On Thu, 13 Aug 2015, fabiemme_at_libero.it wrote:

> ----Messaggio originale----
> Da: Vasilis.Vlachoudis_at_cern.ch
> Data: 13/08/2015 16.22
> A: "fabiemme_at_libero.it"<fabiemme_at_libero.it>,
> "fluka-discuss_at_fluka.org"<fluka-discuss_at_fluka.org>
> Ogg: RE: [fluka-discuss]: error in cmpcrd.f procedure
>
> The very cryptic message indicates an error with a material (cmpcrd = COMPOUND
> card)
> Apparently you have defined the Chlorine without setting the Z
>
> Cheers
> Vasilis
>
>
> Thank you Vasilis, 
> I corrected the error and the run with fixed beam goes fine, so I think there are no
> errors in materials but when I connect a couple of user routines a very similar
> error comes out:
>
> Subscript out of range on file line 167, procedure source.f/source.
> Attempt to access the 601230-th element of variable am.
>
> Is there a way to find out from the message which one of thematerials is causing
> problems?
> Thanks
> Michele
>
>
>

__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info
Received on Thu Aug 13 2015 - 20:23:42 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 13 2015 - 20:23:43 CEST