Problem to change the seed of the random number generator in a cluster

Dear FLUKA experts,

I am planning to carry out intensive simulations in a cluster.
My very naive idea was to run several copies in the cluster, sending these by means of a bash script. However, after my test run, I realize that the results were exactly the same for the different runs. It seems to me that the runs are taking exactly the same seed for each different run. Therefore, in order to avoid having the same results, I would like to change the seed of the random number generator.

So, there is a way to do it, just adding a line in the inp file, or there is another way to do it?

Thank you very much in advance.

Best regards,
Jilberto

Dear Jilberto,

the random number seed can be changed via the RANDOMIZ card.
For a cluster submission the easiest would be use your bash script to edit each input file.

Cheers,
David

Dear David

Thank you for your prompt answer.

Just for clarification, let’s say that I include the RANDOMIX card in my inp file, and then by means of my bash script I change the WHAT(2) value by a random number (< 9.E8) generated by my script. In this way, each run must start with a different seed, isn’t it?

cheers,
Jilberto

Dear Jilberto,

yes, that should work. You can make it even simpler by using sequential seed numbers instead of random ones.

Cheers,
David

Dear David

Thank you very much!!!

cheers,
Jilberto