We discuss and analyze issues related to the design of pseudorandom number generators (prn's) for MIMD (multiple instruction stream/multiple data stream) parallel processors, which are very well suited to Monte Carlo calculations. We are concerned with ensuring reproducibility of runs, providing very long sequences, and assuring an adequate degree of independence of the parallel streams. We consider the class of linear congruential generators
xn+1,i ≡ axn,1 + bimod m
and analyze the effect that different choices of bi have on the correlation properties between such streams. We derive a spectral test ντ for t parallel linear congruential generators, a modification of Knuth's Algorithm S. From this, we prove a good lower bound for v2 = minall pairs(i,j) ν2(i,j) for certain choices of bi's. The set of the largest r primes pi, i = 1, …, r, satisfying pi < √m2, where m is the period length of each generator, gives a lower bound O(m12) to the correlation between a pair of corresponding elements in any two streams. An alternative choice, bi = di mod m for d = M12 + 1 gives a bound O(m12(t − 1)) which will be satisfactory for small numbers of streams. Finally, we construct a spectral test for correlations between xn,i and xn+k,i+l, but derive no analytic prescriptions from it.
[1]
Ora E. Percus,et al.
Long range correlations in linear congruential generators
,
1988
.
[2]
G. Hardy.
The Theory of Numbers
,
1922,
Nature.
[3]
Burton J. Smith,et al.
Pseudo-random trees in Monte Carlo
,
1984,
Parallel Comput..
[4]
Jack Dongarra,et al.
Experimental parallel computing architectures
,
1987
.
[5]
H. Riesel.
Prime numbers and computer methods for factorization
,
1985
.
[6]
Harald Niederreiter.
Statistical Tests for Tausworthe Pseudo-Random Numbers
,
1982
.
[7]
M. Kalos,et al.
Quantum Many-Body Problems
,
1986
.
[8]
R. Tausworthe.
Random Numbers Generated by Linear Recurrence Modulo Two
,
1965
.