Displaying 1 result from an estimated 1 matches for "resealt".
Did you mean:
res6alt
2011 Nov 17
1
set random numbers seed for different cpu's
Hi
I'm running the same R script (throuth linux shell) of several cpu's. This
R program uses random numbers and the result should be different every time.
But if put jobs (through Torque) for several cpu's I get the same result. As
a resealt my program saves numbers in file with randomly generated names.
works like a charm on one cpu, but I get the same result from different
cpu's.
So my question is, how can I resolve this? How to set pseudo random number
seed so that different cpu's would produce different results?
Thank you...