[SciPy-User] Weird randomization issue with multiprocessing module
Fri Nov 30 12:19:32 CST 2012
On 11/30/2012 12:57 PM, email@example.com wrote:
> On Fri, Nov 30, 2012 at 12:43 PM, Thomas Kluyver <firstname.lastname@example.org> wrote:
>> On 30 November 2012 17:25, Ted To <email@example.com> wrote:
>>> 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
Many thanks -- adding a seed() at the beginning of the routine did the
More information about the SciPy-User