From: paola sala (paola.sala@cern.ch)
Date: Fri Dec 01 2006 - 10:31:39 CET
Hello Warren
the command you issued is correct. Is the mgdraw.o file in the same
directory from which you launch the lfluka?
You can have a look at the myfluka.map file, where linking infos are
reported, and see wether the mgdraw is taken from yur file or from the
library
Greetings
Paola
On Thu, 2006-11-30 at 19:58 -0500, Warren Huelsnitz wrote:
> Fellow FLUKA users,
>
> I have a question concerning user-modified subroutines:
>
> I modified MGDRAW.f so that it would provide formatted output. My new
> version compiles ok, using the command $FLUPRO/flutil/fff mgdraw.f
>
> I also tried to link it using lfluka in the manner described in the manual:
> $FLUPRO/flutil/lfluka -o myfluka -m fluka mgdraw.o
>
> But when I run FLUKA, with the USERDUMP command in my input file, it does
> not run this version of MGDRAW. Strangely, I'm not sure what it does run;
> when I don't specify an output unit and filename in USERDUMP, I get an
> unformatted output file.
>
> What is the correct procedure for linking and running a user-modified
> subroutine, specifically MGDRAW?
>
> Thanks for the help.
>
> Warren Huelsnitz
>
>
This archive was generated by hypermail 2.1.6 : Fri Dec 01 2006 - 11:00:49 CET