Regular Article
Lagged Fibonacci Random Number Generators for Distributed Memory Parallel Computers

https://doi.org/10.1006/jpdc.1997.1363Get rights and content

Abstract

To parallelize applications that require the use of random numbers, an efficient and good quality parallel random number generator is required. In this paper, we study the parallelization of lagged Fibonacci generators for distributed memory parallel computers. Two popular ways of generating a random sequence in parallel are studied: the contiguous subsequence technique and the leapfrog technique. We present a parallelization of the lagged Fibonacci plus/minus generators using the contiguous subsequence technique. For the leapfrog technique, we show that lagged Fibonacci generators with the exclusive or operator can be efficiently parallelized without any communication overhead when the number of processors is a power of 2. We also show that it is not possible to parallelize other lagged Fibonacci generators efficiently in a communication-free manner. We then present an efficient scalable parallelization of lagged Fibonacci plus/minus generators that uses communication. We discuss issues that arise in implementations of the proposed algorithms and comment on their practical efficiency.

References (39)

  • K. O. Bowman, M. T. Robinson, 1987, Studies of random number generators for parallel processing, Proc. Second...
  • R. P. Brent, 1992, Uniform random number generators for supercomputers, Proc. 5th Australian Supercomputer Conference,...
  • S. Chakrabarti, J. Demmel, K. Yelick, 1995, Modeling the benefits of mixed data and task parallelism, Proc. Symposium...
  • P.D. Coddington

    Analysis of random number generators using Monte Carlo simulation

    Int. J. Mod. Phys.

    (1994)
  • B.J. Collings et al.

    Initializing generalized feedback shift register pseudorandom number generators

    J. Assoc. Comput. Mach.

    (1986)
  • W. Evans, B. Sugla, 1989, Parallel random number generation, Proc. Fourth Conference on...
  • A.M. Ferrenberg et al.

    Monte Carlo simulations: Hidden errors from “good” random number generators

    Phys. Rev. Lett.

    (1992)
  • N.J. Fine

    Binomial coefficients modulo a prime

    Amer. Math. Monthly

    (1947)
  • G. Fox

    Solving Problems on Concurrent Processors. Vol. I. General Techniques and Regular Problems

    (1988)
  • Cited by (0)

    M. T. Heath, Ed.

    1

    E-mail: [email protected].

    View full text