Dear Lorenzo.
Thank you. It works. This was my copy-past error. I didn't realize this issue.
I would like to close my other ticket: "Fluka2020 vs Fluka2021: the same input, but Fluka2021 gives "Fortran runtime error""
This error is away also.
Regards
Anna
Von: Lorenzo Zana <zana_at_jlab.org>
Gesendet: Montag, 19. Juli 2021 15:49
An: Senger, Anna Dr. <A.Senger_at_gsi.de>; fluka-discuss_at_fluka.org
Betreff: Re: usermvax function does not work with gcc-10.2.0
Hi,
check the new magfld.f in the usermvax directory inside your fluka distribution : it now includes T as variable
SUBROUTINE MAGFLD ( X, Y, Z, T, BTX, BTY, BTZ, B, NREG, IDISC )
Lorenzo
________________________________
From: owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it> <owner-fluka-discuss_at_mi.infn.it<mailto:owner-fluka-discuss_at_mi.infn.it>> on behalf of Senger, Anna Dr. <A.Senger_at_gsi.de<mailto:A.Senger_at_gsi.de>>
Sent: Monday, July 19, 2021 7:22 AM
To: fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org> <fluka-discuss_at_fluka.org<mailto:fluka-discuss_at_fluka.org>>
Subject: [EXTERNAL] [fluka-discuss]: usermvax function does not work with gcc-10.2.0
Dear FLUKA experts.
I got compiler gcc-10.2.0 in my institution and can compile fluka2021.2-linux-gfor64bitAA.tar.gz without any problems. I use complicated magnetic field map, which I implemented many years ago. I didn't have any problems with this. But now with gcc-10.2.0 I get the message:
*** Time T changed in Magfld: this is not allowed ***
*** Check if the arguments list in Magfld is up-to-date ***
*** Execution terminated ***
Abort called from MAGNEW reason T CHANGED IN MAGFLD Run stopped!
STOP T CHANGED IN MAGFLD
I don't use time in my function. Can you please help me, what I need to change?
Regards
Anna
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Received on Mon Jul 19 2021 - 17:55:44 CEST