[SciPy-User] Weird randomization issue with multiprocessing module

Thomas Kluyver takowl@gmail....
Fri Nov 30 11:43:48 CST 2012


On 30 November 2012 17:25, Ted To <rainexpected@theo.to> wrote:

> The
> numbers are being drawn using scipy.stats.norm and random.random.
>

I think the default seed for the random number generator uses the system
time, so maybe if your threads/processes spin up too quickly, some of them
could get the same seed. But it says it should also be using /dev/urandom
in the seed, which should negate that.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20121130/40e58ad1/attachment.html 


More information about the SciPy-User mailing list