Hi Thomas
The mgdraw you sent works perfecty, but it misses an OPEN statement in
order to create a file with a given name.
As it is now, it writes on logical unit IODRAW without assigning any
name to this unit, thus the routine writes to a file named by default
fort.18 (IODRAW=18 in fluka)
If you want a different name, for instance MGDRAW.log, add in the block
controlled by UDFRST (so that it opens only once)
OPEN ( UNIT = IODRAW, FILE = 'MGDRAW.log', STATUS = 'NEW' )
Hope this helps
Paola
On 3/27/25 9:09 AM, Thomas Carriere wrote:
> Hello,
>
> After using fluka 2021 for a few years, it has stopped working, i have
> then upgraded to the latest fluka 2024.1.3 version unfortunately when
> i compile this fortran routine for any simulations for which it used
> to work with fluka 2021, it does not work anymore, it compiles with
> the builder but after running a simulation it no longer creates the
> usual data file. Are there been any modifications to this fortran
> routines for this fluka version? I attached the mgdraw.f
>
> Thanks for the help,
> Sincerely,
> Thomas
>
> Thomas CARRIERE
> Doctorant 3ème année
> CELIA - Université de Bordeaux
> thomas.carriere_at_u-bordeaux.fr
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Received on Fri Mar 28 2025 - 22:27:36 CET