Mgdraw problems generating files

Dear FLUKA experts,

I’m sorry to bother you again on the same topic I posted about two days ago.

I’ve followed David’s advice given in that previous post of mine: I applied the changes in mgdraw that were suggested here and amended them with the help of Roman. The so modified mgdraw compiles correctly. However, after running the simulation, I get five files whose names end with the name set in the USERDUMP card, but that are binary and not ASCII as desired and expected. Can someone please help? I upload the project files.

Thanks you,
Enrico

mgdraw_test.f (15.5 KB)
test userdump.flair (2.1 KB)
test userdump.inp (1.2 KB)

Implement your code (that applies to ENTRY BXDRAW) in the mgdraw_empty.f file, otherwise the other parts of the standard mgdraw.f open conflictingly the USERDUMP file in unformatted mode.

1 Like

Dear Francesco,

it works perfectly! Thank you so much.

Cheers,
Enrico