Nikolay,
A 'manual' (traditional) way would be to use the terminal and issue a command like the following:
$FLUPRO/flutil/rfluka -e ./PATH/flukaexecutable -N 0 -M num inputfile
Where:
- ./PATH/flukaexecutable is the path to the newly created executable. Assuming that it is in the same directory where you are running the command (i.e. where inputufile is), then, for example you would have
something like ./flukahp (or ./newflukahp, etc.)
- num is the number of cycles you want to run, e.g. 5
- inputfile is that, the input file name, e.g. flukainput.inp
-- Mario
________________________________
From: owner-fluka-discuss_at_mi.infn.it <owner-fluka-discuss_at_mi.infn.it> on behalf of Nickolay <Nikolai.Smirnov_at_ihep.ru>
Sent: Wednesday, January 14, 2015 6:55 AM
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: STOP NO RANDOM FILE error
Hello,
I need to run custom made executable (made using FLAIR). So I looked into rfluka script and, based on its contents, issued a command:
example.exe < example.inp &> log.out
As a result, my program stopped with the following error:
...
***** Next control card ***** RANDOMIZ 1.000 0.000 0.000 0.000 0.000 0.000
**** No Random file available !!!!!! ****
Abort called from FLRM64 reason NO RANDOM FILE Run stopped!
STOP NO RANDOM FILE
I even copied random.dat from $FLUPRO into the directory where I try to execute my program but it didn't help.
Could anyone explain me how to run custom made FLUKA executables manually? (i.e. not using rfluka script)
Thanks.
Best regards,
Nick
You can manage unsubscription from this mailing list at
https://www.fluka.org/fluka.php?id=acc_info
Received on Wed Jan 14 2015 - 19:46:18 CET