How did you compile the source routine? It seems like FLUKA is told that there is a source routine through the SOURCE card in the input file, but you haven’t one.
Try this:
$FLUPRO/flutil/lfluka -m fluka -o ./flukahps source.f
In the directory where you have the ‘source.f’ routine (I assume that it is also the directory where you have the input file?).
Then re-run using flukahps as your new executable.
-M
On Mar 12, 2019, at 4:54 PM, JENNY MARGOT RAMOS LAZARO <jenny.ramos_at_unmsm.edu.pe<mailto:jenny.ramos_at_unmsm.edu.pe>> wrote:
Dear FLUKA experts:
I'm using the source.f file, following the instructions in the manual to insert a uniform distribution along the z axis, but when I run the script, the .out file says that source.f does not exist or is not executable.
These are the lines that I have added in the source.f file
* Particle coordinates
XFLK (NPFLKA) = XBEAM
YFLK (NPFLKA) = YBEAM
Z1 = 10.D0
Z2 = 80.D0
ZFLK (NPFLKA) = 10.D0 + (Z2-Z1)*FLRNDM(XXX)
Inside input.inp I did not declare any (WHAT (1,2,3 ..)) in the source card because I declared Z1 and Z2 in source.f.
I attach the .inp, .out and source.f files.
Thanks for the help.
Best Regards
<exampl.out><exampl.inp><source.f>
__________________________________________________________________________
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Mar 13 2019 - 04:20:52 CET