[SciPy-User] Weird randomization issue with multiprocessing module

josef.pktd@gmai... josef.pktd@gmai...
Fri Nov 30 11:57:12 CST 2012


On Fri, Nov 30, 2012 at 12:43 PM, Thomas Kluyver <takowl@gmail.com> wrote:
> 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.

for some discussion
http://mail.scipy.org/pipermail/numpy-discussion/2008-December/039179.html

Josef

>
> Thomas
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-User mailing list