CUDA programs for GPU computing of Swendsen-Wang multi-cluster spin flip algorithm: 2D and 3D Ising, Potts, and XY models
Nuclear Science and Engineering Directorate, Japan Atomic Energy Agency, 2-4 Shirakata-shirane, Tokai-mura, Naka-gun, Ibaraki 319-1195, Japan
arXiv:1403.7560 [physics.comp-ph], (28 Mar 2014)
@article{2014CoPhC.185.1038K,
author={Komura}, Y. and {Okabe}, Y.},
title={"{CUDA programs for the GPU computing of the Swendsen-Wang multi-cluster spin flip algorithm: 2D and 3D Ising, Potts, and XY models}"},
journal={Computer Physics Communications},
archivePrefix={"arXiv"},
eprint={1403.7560},
primaryClass={"physics.comp-ph"},
year={2014},
month={mar},
volume={185},
pages={1038-1043},
doi={10.1016/j.cpc.2013.10.029},
adsurl={http://adsabs.harvard.edu/abs/2014CoPhC.185.1038K},
adsnote={Provided by the SAO/NASA Astrophysics Data System}
}
We present sample CUDA programs for the GPU computing of the Swendsen-Wang multi-cluster spin flip algorithm. We deal with the classical spin models; the Ising model, the q-state Potts model, and the classical XY model. As for the lattice, both the 2D (square) lattice and the 3D (simple cubic) lattice are treated. We already reported the idea of the GPU implementation for 2D models [Comput. Phys. Commun. 183 (2012) 1155-1161]. We here explain the details of sample programs, and discuss the performance of the present GPU implementation for the 3D Ising and XY models. We also show the calculated results of the moment ratio for these models, and discuss phase transitions.
April 4, 2014 by hgpu