pith. sign in

arxiv: hep-lat/0403010 · v1 · submitted 2004-03-08 · ✦ hep-lat · cond-mat.stat-mech· physics.comp-ph

Systematic errors due to linear congruential random-number generators with the Swendsen-Wang algorithm: A warning

classification ✦ hep-lat cond-mat.stat-mechphysics.comp-ph
keywords errorssystematicalgorithmcongruentialgeneratorslargelinearrandom
0
0 comments X
read the original abstract

We show that linear congruential pseudo-random-number generators can cause systematic errors in Monte Carlo simulations using the Swendsen-Wang algorithm, if the lattice size is a multiple of a very large power of 2 and one random number is used per bond. These systematic errors arise from correlations within a single bond-update half-sweep. The errors can be eliminated (or at least radically reduced) by updating the bonds in a random order or in an aperiodic manner. It also helps to use a generator of large modulus (e.g. 60 or more bits).

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.