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

From: Stefan E. Mueller <stefan.mueller_at_hzdr.de>
Date: Fri, 22 Jan 2021 11:40:15 +0100 (CET)

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
> 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

Received on Fri Jan 22 2021 - 13:16:41 CET

This archive was generated by hypermail 2.3.0 : Fri Jan 22 2021 - 13:16:43 CET