Skip to main content
Log in

Optimized GPU simulation of continuous-spin glass models

  • Regular Article
  • Published:
The European Physical Journal Special Topics Aims and scope Submit manuscript

Abstract

We develop a highly optimized code for simulating the Edwards-Anderson Heisenberg model on graphics processing units (GPUs). Using a number of computational tricks such as tiling, data compression and appropriate memory layouts, the simulation code combining over-relaxation, heat bath and parallel tempering moves achieves a peak performance of 0.29 ns per spin update on realistic system sizes, corresponding to a more than 150 fold speed-up over a serial CPU reference implementation. The optimized implementation is used to study the spin-glass transition in a random external magnetic field to probe the existence of a de Almeida-Thouless line in the model, for which we give benchmark results.

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

Access this article

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. S.F.Edwards, P.W.Anderson, J. Phys. F 5, 965 (1975)

    Article  ADS  Google Scholar 

  2. M.Mézard, G.Parisi, M.A.Virasoro, Spin Glass Theory and Beyond (World Scientific, Singapore, 1987)

  3. E.Marinari, G.Parisi, F.Ricci-Tersenghi, et al., J. Stat. Phys. 98, 973 (2000)

    Article  MathSciNet  ADS  MATH  Google Scholar 

  4. D.S.Fisher, D.A.Huse, Phys. Rev. Lett. 56, 1601 (1986)

    Article  ADS  Google Scholar 

  5. A.J.Bray, M.A.Moore, edited by J.L.van Hemmen, I.Morgenstern, Heidelberg Colloquium on Glassy Dynamics (Springer, Heidelberg, 1987), p. 121

  6. J.Houdayer, O.C.Martin, Europhys. Lett. 49, 794 (2000)

    Article  ADS  Google Scholar 

  7. F.Krzakala, O.C.Martin, Phys. Rev. Lett. 85, 3013 (2000)

    Article  ADS  Google Scholar 

  8. O.L.White, D.S.Fisher, Phys. Rev. Lett. 96, 137204 (2006)

    Article  ADS  Google Scholar 

  9. N.Kawashima, A.P.Young, Physical Review B 53, R484 (1996)

    Article  ADS  Google Scholar 

  10. H.G.Ballesteros, A.Cruz, L.A.Fernández, et al., Phys. Rev. B 62, 14237 (2000)

    Article  ADS  Google Scholar 

  11. R.N.Bhatt, A.P.Young, Phys. Rev. B 37, 5606 (1988)

    Article  ADS  Google Scholar 

  12. J.H.Pixley, A.P.Young, Phys. Rev. B 78, 014419 (2008)

    Article  ADS  Google Scholar 

  13. L.W.Lee, A.P.Young, Phys. Rev. Lett. 90, 227203 (2003)

    Article  MathSciNet  ADS  Google Scholar 

  14. I.Campos, M.Cotallo-Aban, V.Martín-Mayor, et al., Phys. Rev. Lett. 97, 217204 (2006)

    Article  ADS  Google Scholar 

  15. L.W.Lee, A.P.Young, Phys. Rev. B 76, 024405 (2007)

    Article  ADS  Google Scholar 

  16. D.X.Viet, H.Kawamura, Phys. Rev. Lett. 102, 027202 (2009)

    Article  ADS  Google Scholar 

  17. J.Villain, edited by R.Balian, R.Maynard, G.Toulouse, Ill condensed matter (North-Holland, Amsterdam, 1979), p. 521

  18. M.Weigel, M.J.P.Gingras, Phys. Rev. Lett. 96, 097206 (2006)

    Article  ADS  Google Scholar 

  19. C.J.Geyer, in Computing Science and Statistics: Proceedings of the 23rd Symposium on the Interface (American Statistical Association, New York, 1991), p. 156

  20. K.Hukushima, K.Nemoto, J. Phys. Soc. Jpn. 65, 1604 (1996)

    Article  ADS  Google Scholar 

  21. F.Belletti, M.Cotallo, A.Cruz, et al., Comput. Sci. Eng. 11, 48 (2009)

    Article  Google Scholar 

  22. M.Weigel, Comput. Phys. Commun. 182, 1833 (2011)

    Article  ADS  Google Scholar 

  23. M.Weigel, T.Yavors’kii, Physics Procedia 15, 92 (2011)

    Article  Google Scholar 

  24. M.Weigel, Phys. Rev. E 84, 036709 (2011)

    Article  ADS  Google Scholar 

  25. M.Weigel, J. Comp. Phys. 231, 3064 (2012)

    Article  ADS  MATH  Google Scholar 

  26. D.Loison, C.L.Qin, K.D.Schotte, et al., Eur. Phys. J. B 41, 395 (2004)

    Article  ADS  Google Scholar 

  27. A.Sharma, A.P.Young, Phys. Rev. E 81, 061115 (2010)

    Article  ADS  Google Scholar 

  28. M.Bernaschi, G.Parisi, L.Parisi, Comput. Phys. Commun. 182, 1265 (2011)

    Article  ADS  Google Scholar 

  29. H.G.Katzgraber, S.Trebst, D.A.Huse, et al., J. Stat. Mech.: Theory Exp. 2006, P03018 (2006)

    Article  Google Scholar 

  30. E.Bittner, A.Nussbaumer, W.Janke, Phys. Rev. Lett. 101, 130603 (2008)

    Article  ADS  Google Scholar 

  31. M.Hasenbusch, S.Schaefer, Phys. Rev. E 82, 046707 (2010)

    Article  ADS  Google Scholar 

  32. H.G.Ballesteros, L.A.Fernández, V.Martín-Mayor, et al., Phys. Rev. B 58, 2740 (1998)

    Article  ADS  Google Scholar 

  33. L.Leuzzi, G.Parisi, F.R.Tersenghi, et al., Phys. Rev. Lett. 103, 267201 (2009)

    Article  ADS  Google Scholar 

  34. H.G.Katzgraber, D.Larson, A.P.Young, Phys. Rev. Lett. 102, 177205 (2009)

    Article  ADS  Google Scholar 

  35. J.A.Olive, A.P.Young, D.Sherrington, Phys. Rev. B 34, 6341 (1986)

    Article  ADS  Google Scholar 

  36. D.B.Kirk, W.W.Hwu, Programming Massively Parallel Processors (Elsevier, Amsterdam, 2010)

  37. CUDA zone, http://developer.nvidia.com/category/zone/cuda-zone

  38. E.Alerstam, T.Svensson, S.Andersson-Engels, J. Biomed. Opt. 13, 060504 (2008)

    Article  ADS  Google Scholar 

  39. M.Manssen, M.Weigel, A.K.Hartmann, Eur. Phys. J. Special Topics 210, 53 (2012)

    Article  Google Scholar 

  40. J.J.Moreno, H.G.Katzgraber, A.K.Hartmann, Int. J. Mod. Phys. C 14, 285 (2003)

    Article  ADS  Google Scholar 

  41. E.Bittner, W.Janke, Europhys. Lett. 74, 195 (2006)

    Article  MathSciNet  ADS  Google Scholar 

  42. M.Weigel, Phys. Rev. E 76, 066706 (2007)

    Article  ADS  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Yavors’kii, T., Weigel, M. Optimized GPU simulation of continuous-spin glass models. Eur. Phys. J. Spec. Top. 210, 159–173 (2012). https://doi.org/10.1140/epjst/e2012-01644-9

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1140/epjst/e2012-01644-9

Keywords

Navigation