Skip to main content

Generating Parallel Random Sequences via Parameterizing EICGs for Heterogeneous Computing Environments

  • Conference paper
Computational Science and Its Applications – ICCSA 2010 (ICCSA 2010)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6019))

Included in the following conference series:

Abstract

Monte Carlo (MC) simulations are considered to be ideal for parallelization because a large Monte Carlo problem can often be easily broken up into many small, essentially independent, subproblems. Many Monte Carlo applications are suitable for grid computing environments. In such an environment, the number of substreams is not known in advance in the computing task. This is a challenge for generating random sequences by using the traditional splitting method, which is aimed at ways of partitioning the full period of a single sequence into parallel substreams. Explicit inversive congruential generator(EICG)[1] with prime modulus has some very compelling properties for parallel Monte Carlo simulations. EICG is an excellent pseudorandom number generator for parallalizing via parameterizing. This paper describes an implementation of parallel random number sequences by varying a set of different parameters instead of splitting a single random sequence. Comparisons with linear and nonlinear generators in the library: SPRNG[2] are presented.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Eichenauer-Herrmann, J.: Statistical independence of a new class of inversive congruential pseudorandom numbers. Mathematics of Computation 60, 375–384 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  2. Mascangi, M., Svinuasan, A.: Algorithm 806: SPRNG: A scalable library for pseudorandom number generation. ACM Transactions on Mathematical Software 26, 436–461 (2000)

    Article  Google Scholar 

  3. Tatebe, O., et al: Grid datafarm architecture for petascale data intensive computing. In: CCGRID 2002: Proceedings of the 2nd IEEE/ACM International Symposium on Cluster Computing and the Grid, pp. 102–110 (2002)

    Google Scholar 

  4. Eddy, W.F.: Random number generators for parallel processors. J. Comp. Appl. Math. 31, 63–71 (1990)

    Article  MATH  MathSciNet  Google Scholar 

  5. Kronstadt, E.P.: Peta-scale computing. In: IPDPS 2005: Proceedings of the 19th IEEE International Parallel and Distributed Processing Symposium (IPDPS 2005) - Papers, p. 38. IEEE Computer Society Press, Los Alamitos (2005)

    Google Scholar 

  6. DeMatteis, A., Pagnutti, S.: Parallelization of random number generators and long-range correlations. Parallel Computing 15, 155–164 (1990)

    Article  MathSciNet  Google Scholar 

  7. Mascagni, M., Chi, H.: Parallel linear congruential generators with sophie-germain moduli. Journal of Parallel Computing 30, 1217–1231 (2004)

    Article  MathSciNet  Google Scholar 

  8. Chi, H., Jones, E.: Parallel random generators for heterogeneous computing environments. IASTED–PDCS, 163–168 (2005)

    Google Scholar 

  9. Percus, O., Kalo, M.: Random number gerenators for mimd parallel processors. J. of Par. and Distr. Comput. 6, 477–497 (1989)

    Article  Google Scholar 

  10. Panneton, F., L’ecuyer, P., Matsumoto, M.: Improved long-period generators based on linear recurrences modulo 2. ACM Trans. Math. Softw. 32(1), 1–16 (2006)

    Article  MathSciNet  Google Scholar 

  11. L’Ecuyer, P.: Tables of linear congruential generators of different sizes and good lattice structure. Mathematics of Computation 68(225), 249–260 (1998)

    Article  MathSciNet  Google Scholar 

  12. Niederreiter, H.: On a new class of pseudorandom numbers for simulation methods. J. Comp. Appl. Math. 56, 159–167 (1994)

    Article  MATH  MathSciNet  Google Scholar 

  13. Eichenauer-Herrmann, J., Herrmann, E., Wegenkittl, S.: A suvey of quadratic and inversive congruential psedurandom numbers. Lecture Notes in Statistics, vol. 127, pp. 66–97 (1998)

    Google Scholar 

  14. Wegenkittl, S.: Are there hyperbolas in the scatter plots of inversive congruential pseudorandom numbers? Journal of Computational and Applied Mathematics 95, 117–125 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  15. Marsaglia, G.: The structure of linear congruential sequences. In: Applications of Number Theory to Numerical Analysis, pp. 249–285. Academic Press, New York (1972)

    Google Scholar 

  16. Entacher, K., Uhl, A., Wegenkittl, S.: Linear and inversive pseudorandom numbers for parallel and distributed simulation. In: Twelfth Workshop on Parallel and Distributed Simultation PADS 1998, Banff, Alberta, Canada, May 26-29, pp. 90–97. IEEE Computer Society, Los Alamitos (1998)

    Chapter  Google Scholar 

  17. Knuth, D.E.: The art of Computer Programming, Seminumerical Algorithms, vol. 2. Addison-Wesley, Reading (1997)

    Google Scholar 

  18. Koblitz, N.: A course in number theory and cryptography. Springer, Heidelberg (1987)

    MATH  Google Scholar 

  19. Menezes, A., van Oorschot, P., Vanstone, S.: Handbook of Applied Cryptography. CRC Press, Boca Raton (1996)

    Google Scholar 

  20. Sorenson, J.: An analysis of lehmer’s eulidead gcd algorithm. In: Proceedings of the 1995 ACM International Symposium on Symbolic and Algebraic (ISSAC 1995), July 10-12, pp. 254–258 (1995)

    Google Scholar 

  21. Savas, E., Koc, C.: The montgomery modular inverse–revisited. IEEE Transactions on Computers 49(7), 763–765 (2000)

    Article  MathSciNet  Google Scholar 

  22. Marsaglia, M.: The diehard battery of tests of randomness, http://stat.fsu.edu/pub/diehard/

  23. Sussman, M., Crutchfield, W., Papakipos, M.: Pseudorandom number generation on the gpu. In: GH 2006: Proceedings of the 21st ACM SIGGRAPH/EUROGRAPHICS symposium on Graphics hardware, pp. 87–94 (2006)

    Google Scholar 

  24. Preis, T., Virnau, P., Paul, W., Schneider, J.: Gpu accelerated monte carlo simulation of the 2d and 3d ising model. J. Comput. Phys. 228(12), 4468–4477 (2009)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Chi, H., Cao, Y. (2010). Generating Parallel Random Sequences via Parameterizing EICGs for Heterogeneous Computing Environments. In: Taniar, D., Gervasi, O., Murgante, B., Pardede, E., Apduhan, B.O. (eds) Computational Science and Its Applications – ICCSA 2010. ICCSA 2010. Lecture Notes in Computer Science, vol 6019. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-12189-0_36

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-12189-0_36

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-12188-3

  • Online ISBN: 978-3-642-12189-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics