Skip to main content
Log in

Efficient algorithms for parallelizing Monte Carlo simulations for 2D Ising spin models

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

In this paper, we design and implement a variety of parallel algorithms for both sweep spin selection and random spin selection. We analyze our parallel algorithms on LogP, a portable and general parallel machine model. We then obtain rigorous theoretical runtime results on LogP for all the parallel algorithms. Moreover, a guiding equation is derived for choosing data layouts (blocked vs. stripped) for sweep spin selection. In regard to random spin selection, we are able to develop parallel algorithms with efficient communication schemes. We introduce two novel schemes, namely the FML scheme and the α-scheme. We analyze randomness of our schemes using statistical methods and provide comparisons between the different schemes.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Amar JG (2006) The Monte Carlo method in science and engineering. Comput Sci Eng 8(2):9–19

    Article  Google Scholar 

  2. Chaikin PM, Lubensky TC (1995) Principles of condensed matter physics. Cambridge University Press, New York

    Google Scholar 

  3. Binder K (1979) Introduction: theory and ‘technical’ aspects of Monte Carlo simulations. In: Binder K (ed) Monte Carlo methods in statistical physics. Springer, New York

    Google Scholar 

  4. Gunton JD, Droz M (1983) Introduction to the theory of metastable and unstable states. Springer, New York

    Google Scholar 

  5. Blote HWJ, Heringa JR, Luijten E (2002) Cluster Monte Carlo: extending the range. Comput Phys Commun 147:58

    Article  Google Scholar 

  6. Binney JJ, Dowrick NJ, Fisher AJ, Newman MEJ (1992) The theory of critical phenomena: an introduction to the renormalization group. Clarendon, Oxford

    MATH  Google Scholar 

  7. Pathria RK (1972) Statistical mechanics. Pergamon, New York

    Google Scholar 

  8. Bortz AB, Kalos MH, Lebowitz JL (1975) J Comput Phys 17:10

    Article  Google Scholar 

  9. Culler DE, Karp RM, Patterson DA, Sahay A, Santos EE, Schauser KE, Subramonian R, von Eicken T (1996) LogP: A practical model of parallel computation. Commun ACM 37(11):78–85

    Article  Google Scholar 

  10. Forster D (1975) Hydrodynamics fluctuations, broken symmetry and correlation functions. Benjamin, Elmsford

    Google Scholar 

  11. Heermann DW, Burkitt AN (1991) Parallel algorithms in computational science. Springer, Berlin

    MATH  Google Scholar 

  12. Ising E (1925) Z Phys 31:253

    Article  Google Scholar 

  13. Iwashitaa T, Uragamia K, Shimizua A, Nagakia A, Kasamab T, Idogakib T (2007) Magnetic properties and spin structure on Ising spin system with two-spin and four-spin interactions. J Magn Magn Mater 310(2):e435–e437

    Article  Google Scholar 

  14. Karp RM, Sahay A, Santos EE, Schauser KE (1993) Optimal broadcast and summation in the LogP model. In: Proceedings of the 5th annual ACM symposium on parallel algorithms and architectures

  15. Lubachevsky BD, Weiss A (2004) Synchronous relaxation for parallel Ising spin simulations. In: CoRR. cs.DC/0405053

  16. Metropolis N, Rosenbluth AW (1953) Equation of state calculations by fast computing machines. J Chem Phys 21:1087–1092

    Article  Google Scholar 

  17. Santos EE (1999) Optimal and near-optimal algorithms for k-item broadcast. J Parallel Distrib Comput 57(2):121–139

    Article  MATH  Google Scholar 

  18. Santos EE, Rickman JM, Muthukrishnan G, Feng S (2003) Efficient algorithms for parallelizing Monte Carlo simulations for 2D Ising spin models. Technical Report LCID-03-105, Laboratory for Computation, Information & Distributed Processing, Virginia Polytechnic Institute & State University

  19. Santos EE, Feng S, Rickman JM (2002) Efficient parallel algorithms for 2-dimensional Ising spin models. In: Proc. IPDPS

  20. Santos EE, Muthukrishnan G (2004) Efficient simulation based on sweep selection for 2D and 3D Ising spin models on hierarchical clusters. In: Proc. IPDPS

  21. Wang J-S, Swendsen RH (1990) Cluster Monte Carlo algorithms. Physica A 167:565–679

    Article  MathSciNet  Google Scholar 

  22. Wolf U (1989) Collective Monte Carlo updating for spin systems. Phys Rev Lett 62:361–364

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gayathri Muthukrishnan.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Santos, E.E., Rickman, J.M., Muthukrishnan, G. et al. Efficient algorithms for parallelizing Monte Carlo simulations for 2D Ising spin models. J Supercomput 44, 274–290 (2008). https://doi.org/10.1007/s11227-007-0163-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-007-0163-z

Keywords