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

From: Stefan E. Mueller <stefan.mueller_at_hzdr.de>
Date: Mon, 19 Jul 2021 15:10:35 +0200 (CEST)

Dear Anna,

the file $FLUPRO/usermvax/magfld.f-file has changed in the last version of
FLUKA, it takes one more parameter ("T", time).

It is probably enough if in your older file you excahnge the line

SUBROUTINE MAGFLD ( X, Y, Z, BTX, BTY, BTZ, B, NREG, IDISC )

with the newer one

SUBROUTINE MAGFLD ( X, Y, Z, T, BTX, BTY, BTZ, B, NREG, IDISC )

(note the 4th parameter "T" which is missing in the earlier version).

Then you should be all set!

Cheers,

         Stefan

--
Stefan E. Mueller
Department of Information Services and Computing - Computational Science
and Institute of Radiation Physics
Helmholtz-Zentrum Dresden-Rossendorf
Tel: +49 (0351) 260 3847
Stefan.Mueller_at_hzdr.de
http://www.hzdr.de
Vorstand: Prof. Dr. Sebastian M. Schmidt, Dr. Diana Stiller
Vereinsregister: VR 1693 beim Amtsgericht Dresden
On Mon, 19 Jul 2021, Senger, Anna Dr. wrote:
> 
> 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 - 16:30:42 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 19 2021 - 16:31:15 CEST