Re: [fluka-discuss]: change random seed

From: Ivan <>
Date: Thu, 28 Mar 2019 15:33:39 +0300


If I understood right, you can achieve your aim launching many copies of
your input with different random seed and after combine the results
together, just like it is in Flair, so you can write your own script, or
use something that already done. If you use a cluster of servers for
your calculations with Slurm manager, for example, the best solution I
found so far, this tool: It works
well and helped a lot in my project, just read the instruction of it and
maybe it is fits for your purposes as well. Also, I wrote tool on Python
3, which is awfully coded, but works fine =), the main idea of it also
is to create many copies of your input (up to 780) with different seeds
and launch them in parallel, this works fine on PCs, or local servers
without manager, link to the github: The output files have names
like it is in Flair, so, after it ends up, you can easily process your
results using Flair. You just need to put the script in the same
directory with input and change seed in it to: "1234567890" and launch
the script.If you want to know how it works, or have some questions, I
can provide all the information you need to launch successfully, just
write directly on my email for that.

All the best!

27.03.2019 17:40, Alessandro пишет:
> Dear FLUKA experts,
> We are going to do some heavy simulations. To speed ut the calculation
> time we thought to launch more simulations in series with a fewer
> number of particles. To avoid having the same results we want to
> change the seed of the random number generator. I want to ast to you
> if it is possible to change it using the include comand or you think
> there is  a better solution? The complete idea is to use a bash file
> to change the seed and then relaunch the fluka run. In this way, it
> will be possible to do all of this using only one comand on the server.
> Thank you in advance and best regards, Alessandro Calamida.
> __________________________________________________________________________
> You can manage unsubscription from this mailing list at

You can manage unsubscription from this mailing list at
Received on Thu Mar 28 2019 - 14:56:55 CET

This archive was generated by hypermail 2.3.0 : Thu Mar 28 2019 - 14:57:01 CET