Re: [fluka-discuss]: mgdaw.f problems

From: Ding, Qi <q.ding_at_fz-juelich.de>
Date: Fri, 22 Jan 2021 12:12:54 +0000

Dear Stefan,


thanks for your checking.

I have some output files of simulation tasks without mgdraw.f performing successfully.

and I compared the output files with one of input with mgdraw.f

it turns out one is running fluka2020, the other one is fluka2010(as shown in below screenshot respectively).

but all the setting procedures are the same for different simulation tasks, I don't know why they are performed in different versions.

how can I make sure $FLUPRO set to fluka2020.

[cid:b9730eba-850d-4b39-ae4d-273bd47c5390]
[cid:4d03f28d-9754-4a74-a68c-7a3a46bdff9a]Best regards,

Qi Ding
________________________________
From: Stefan E. Mueller <stefan.mueller_at_hzdr.de>
Sent: 22 January 2021 11:40:15
To: Ding, Qi
Cc: fluka-discuss_at_fluka.org
Subject: Re: [fluka-discuss]: mgdaw.f problems

Dear Qi Ding,

I had a look at the logfiles, and they seem to suggest that you are
runnning fluka2011, but maybe your executable was built with fluka2020?

You should make sure your FLUPRO-variable is set to fluka2020 when
running - now it
looks to me that your executable is trying to access the wrong
"nucear.bin"-file, and since fluka2020 contains more isotopes, it will
try to access more data than is actual in the file it tries to access -
this would explain the message.

At line 120 of file ncdtrd.f (unit = 14, file = 'nuclear.bin')
Fortran runtime error: I/O past end of record on unformatted file

So you should make sure that when you build the executable and when
running it, you have $FLUPRO set to fluka2020.

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 Fri, 22 Jan 2021, Ding, Qi wrote:
>
>
> Dear Stefan,
>
>
> thanks for your detailed explanation.
>
> the version I use now is FLUKA2020.0.4.
>
> and the simulation task still stays in cycle 1 till now.
>
> there are log- and .out-files in the fluka_xxxxxx working directory but no
> err.files produced.
>
> I checked the two files but I can't determine the specific reason why my
> code didn't run.
>
> could you please help me check the files?
>
>
>
> Best regards,
>
>
> Qi Ding
>
>
> ____________________________________________________________________________
> From: Stefan E. Mueller <stefan.mueller_at_hzdr.de>
> Sent: 22 January 2021 09:45:04
> To: Ding, Qi
> Cc: fluka-discuss_at_fluka.org
> Subject: Re: [fluka-discuss]: mgdaw.f problems
> Dear Qi Ding,
>
> with major version upgrades in FLUKA it may happen that user routines are
> modified, and it is always good to check the user routine templates in
> $FLUPRO/usermvax/ to see if there are relevant changes from one version
> to another, and update the user routines accordingly.
>
> That said, I can run your input without any modification with
> fluka2020.0.5 and it doesn't seem to give problems. It completes the first
> cycle and gets on with the next one.
>
> In your case, just to be sure, you should give a look to
> $FLUPRO/usermvax/mgdraw.f and update your mgdraw.f. One change in mgdraw.f
> in version fluka2020 is that now there is a loop over the main stack
> particles which is probably done to allow more than one source particle on
> the stack, and some modifications for heavy ions and radioactive isotopes.
>
> I am not sure if this will affect your FLUKA application.
>
> In $FLUPRO/RELEASE-NOTES.fluka2020.0 you can find information about the
> technical improvements and additions. Concerning modification of
> user-written routines, it only advises to update the source.f-routines.
>
> So there must be a different reason why your code does not run. Do you get
> errors or warnings in the .err- or .out-files produced in the fluka_xxxxxx
> working directory?
>
>          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
> [PicOri?pOid=57529]
> HZDR – Helmholtz-Zentrum Dresden-Rossendorf
> www.hzdr.de<http://www.hzdr.de>
> The Helmholtz-Zentrum Dresden-Rossendorf is a member of the Helmholtz
> Association of German Research Centres pursuing new insights that will allow
> us to maintain and improve all of our lives. That is why the HZDR conducts
> research in the fields of Energy, Health and Matter in Dresden and at five
> other locations. Our large-scale facilities are also available to external
> guests from around the world to help answer the decisive questions of our
> societies.(Contact details: &#43;49 351 260-0 / contact_at_hzdr.de)
>
>
> Vorstand: Prof. Dr. Sebastian M. Schmidt, Dr. Diana Stiller
> Vereinsregister: VR 1693 beim Amtsgericht Dresden
>
> On Thu, 21 Jan 2021, Ding, Qi wrote:
>
> >
> > Dear FLUKA experts,
> >
> > is there a big difference between FLUKA2020 and FLUKA2011.
> > or where I can find the difference between the two version.
> > because I could run simulations with mgdraw.f file before version
> upgraded.
> > I upgraded the version(now I use fluka2020) last week.
> > I try to run similar simulation today, the situation is it stays in the
> > first cycle all the time.(the number of particles is 1000000, which is
> same
> > as before)
> > could you please help me check it  if there is anything wrong ?
> > please find the input and mgdraw.f in the attachment.
> >
> > Best regrds,
> >
> > Qi Ding
> >
> >
> >
> >---------------------------------------------------------------------------
>
> > ---------------------
> >---------------------------------------------------------------------------
>
> > ---------------------
> > Forschungszentrum Juelich GmbH
> > 52425 Juelich
> > Sitz der Gesellschaft: Juelich
> > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> > Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
> > Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> > Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt
> >---------------------------------------------------------------------------
>
> > ---------------------
> >---------------------------------------------------------------------------
>
> > ---------------------
> >
> >
> >
>
>




__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

Screenshot from 2021-01-22 13-01-24.png
(image/png attachment: Screenshot_from_2021-01-22_13-01-24.png)

Screenshot from 2021-01-22 13-01-41.png
(image/png attachment: Screenshot_from_2021-01-22_13-01-41.png)

Received on Fri Jan 22 2021 - 14:59:13 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 22 2021 - 14:59:15 CET