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.
Similar content being viewed by others
References
S.F.Edwards, P.W.Anderson, J. Phys. F 5, 965 (1975)
M.Mézard, G.Parisi, M.A.Virasoro, Spin Glass Theory and Beyond (World Scientific, Singapore, 1987)
E.Marinari, G.Parisi, F.Ricci-Tersenghi, et al., J. Stat. Phys. 98, 973 (2000)
D.S.Fisher, D.A.Huse, Phys. Rev. Lett. 56, 1601 (1986)
A.J.Bray, M.A.Moore, edited by J.L.van Hemmen, I.Morgenstern, Heidelberg Colloquium on Glassy Dynamics (Springer, Heidelberg, 1987), p. 121
J.Houdayer, O.C.Martin, Europhys. Lett. 49, 794 (2000)
F.Krzakala, O.C.Martin, Phys. Rev. Lett. 85, 3013 (2000)
O.L.White, D.S.Fisher, Phys. Rev. Lett. 96, 137204 (2006)
N.Kawashima, A.P.Young, Physical Review B 53, R484 (1996)
H.G.Ballesteros, A.Cruz, L.A.Fernández, et al., Phys. Rev. B 62, 14237 (2000)
R.N.Bhatt, A.P.Young, Phys. Rev. B 37, 5606 (1988)
J.H.Pixley, A.P.Young, Phys. Rev. B 78, 014419 (2008)
L.W.Lee, A.P.Young, Phys. Rev. Lett. 90, 227203 (2003)
I.Campos, M.Cotallo-Aban, V.Martín-Mayor, et al., Phys. Rev. Lett. 97, 217204 (2006)
L.W.Lee, A.P.Young, Phys. Rev. B 76, 024405 (2007)
D.X.Viet, H.Kawamura, Phys. Rev. Lett. 102, 027202 (2009)
J.Villain, edited by R.Balian, R.Maynard, G.Toulouse, Ill condensed matter (North-Holland, Amsterdam, 1979), p. 521
M.Weigel, M.J.P.Gingras, Phys. Rev. Lett. 96, 097206 (2006)
C.J.Geyer, in Computing Science and Statistics: Proceedings of the 23rd Symposium on the Interface (American Statistical Association, New York, 1991), p. 156
K.Hukushima, K.Nemoto, J. Phys. Soc. Jpn. 65, 1604 (1996)
F.Belletti, M.Cotallo, A.Cruz, et al., Comput. Sci. Eng. 11, 48 (2009)
M.Weigel, Comput. Phys. Commun. 182, 1833 (2011)
M.Weigel, T.Yavors’kii, Physics Procedia 15, 92 (2011)
M.Weigel, Phys. Rev. E 84, 036709 (2011)
M.Weigel, J. Comp. Phys. 231, 3064 (2012)
D.Loison, C.L.Qin, K.D.Schotte, et al., Eur. Phys. J. B 41, 395 (2004)
A.Sharma, A.P.Young, Phys. Rev. E 81, 061115 (2010)
M.Bernaschi, G.Parisi, L.Parisi, Comput. Phys. Commun. 182, 1265 (2011)
H.G.Katzgraber, S.Trebst, D.A.Huse, et al., J. Stat. Mech.: Theory Exp. 2006, P03018 (2006)
E.Bittner, A.Nussbaumer, W.Janke, Phys. Rev. Lett. 101, 130603 (2008)
M.Hasenbusch, S.Schaefer, Phys. Rev. E 82, 046707 (2010)
H.G.Ballesteros, L.A.Fernández, V.Martín-Mayor, et al., Phys. Rev. B 58, 2740 (1998)
L.Leuzzi, G.Parisi, F.R.Tersenghi, et al., Phys. Rev. Lett. 103, 267201 (2009)
H.G.Katzgraber, D.Larson, A.P.Young, Phys. Rev. Lett. 102, 177205 (2009)
J.A.Olive, A.P.Young, D.Sherrington, Phys. Rev. B 34, 6341 (1986)
D.B.Kirk, W.W.Hwu, Programming Massively Parallel Processors (Elsevier, Amsterdam, 2010)
CUDA zone, http://developer.nvidia.com/category/zone/cuda-zone
E.Alerstam, T.Svensson, S.Andersson-Engels, J. Biomed. Opt. 13, 060504 (2008)
M.Manssen, M.Weigel, A.K.Hartmann, Eur. Phys. J. Special Topics 210, 53 (2012)
J.J.Moreno, H.G.Katzgraber, A.K.Hartmann, Int. J. Mod. Phys. C 14, 285 (2003)
E.Bittner, W.Janke, Europhys. Lett. 74, 195 (2006)
M.Weigel, Phys. Rev. E 76, 066706 (2007)
Author information
Authors and Affiliations
Rights 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
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1140/epjst/e2012-01644-9