[fluka-discuss]: Re: usermvax function does not work with gcc-10.2.0

From: Lorenzo Zana <zana_at_jlab.org>
Date: Mon, 19 Jul 2021 13:48:39 +0000

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 <owner-fluka-discuss_at_mi.infn.it> on behalf of Senger, Anna Dr. <A.Senger_at_gsi.de>
Sent: Monday, July 19, 2021 7:22 AM
To: fluka-discuss_at_fluka.org <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:18:05 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 19 2021 - 17:18:10 CEST