|
From: | Paul Kienzle |
Subject: | Re: [OctDev] random numbers for distributed computations |
Date: | Mon, 11 Apr 2005 21:22:39 -0400 |
On Apr 11, 2005, at 9:04 AM, Michael Creel wrote:
You could try the parallel Mersenne Twister program (available from themain Mersenne Twister site):I have looked at this. This seems to implement your suggestion to usedifferent parameters for the MT on each machine, letting the user specifythem. But since the octave-forge MT gets its initial parameter from /dev/urandom, then this is already done.From what I understand from the previous discussion, and having looked at therand.cc code in octave-forge, it seems to me that sequences will beindependent on different nodes. Basically, it seems to me that the dynamic creator method (http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/DC/dc.html)has been implemented, more or less, in octave-forge.
Changing the seed as we do only changes where the sequence starts. It does not change the sequence itself. I can't read the article because the PDF is messed up, but from the bits I can read it sounds like they are using a different generating polynomial for each twister rather than simply changing the seed. This will change the sequence. - Paul ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |