F. James, RANLUX - A FORTRAN IMPLEMENTATION OF THE HIGH-QUALITY PSEUDORANDOM NUMBER GENERATOR OF LUSCHER, Computer physics communications, 79(1), 1994, pp. 111-114
Following some remarks on the quality of pseudorandom number generator
s commonly used in Monte Carlo calculations in computational physics,
we offer a portable Fortran 77 implementation of a high-quality genera
tor called RANLUX (for LUXury RANdom numbers), using the algorithm of
Martin Luscher described in an accompanying article. The implementatio
n allows the user to select different quality or luxury levels, where
higher quality requires somewhat longer computing time for the generat
ion. There is a convenient way of initialization (appropriate also for
massively parallel Monte Carlo computations) as well as two different
methods of restarting from a break point.