Home » PANDA » PANDA - Computing » Grid and Infrastructure » Upcoming DC
Re: random number generator for DPMgen [message #6389 is a reply to message #6388] |
Fri, 11 April 2008 22:20 |
Johan Messchendorp
Messages: 693 Registered: April 2007 Location: University of Groningen
|
first-grade participant |
From: *xs4all.nl
|
|
Hi Mohammad and all others,
Thanks for your clear answer, Mohammad. I just wonder what the probability is that two (or more) jobs will start a DPM event with the same seed. The "time(NULL)" instruction gives an output in precision of seconds, right? Hmmm, in that case it could actually be very likely. It might, therefore, be more safe to set it up it via gRandom, which one can more easily control from the "outside". Actually, is this the same for the box generator (as used for the other DC macros)?
Best wishes,
Johan
(ps, really nice work what has been done for this DC. Thanks to everyone involved, really impressive!!!!!)
|
|
|
Goto Forum:
Current Time: Wed Oct 16 01:05:27 CEST 2024
Total time taken to generate the page: 0.00928 seconds
|