Improved CUDA programs for GPU computing of Swendsen–Wang multi-cluster spin flip algorithm: 2D and 3D Ising, Potts, and XY models

Published: 1 March 2016| Version 1 | DOI: 10.17632/7fnfbtsgrn.1
Yukihiro Komura, Yutaka Okabe


Abstract We present new versions of sample CUDA programs for the GPU computing of the Swendsen–Wang multi-cluster spin flip algorithm. In this update, we add the method of GPU-based cluster-labeling algorithm without the use of conventional iteration (Komura, 2015) to those programs. For high-precision calculations, we also add a random-number generator in the cuRAND library. Moreover, we fix several bugs and remove the extra usage of shared memory in the kernel functions. Title of program: SWspin_v2_0 Catalogue Id: AERM_v2_0 Nature of problem Monte Carlo simulation of classical spin systems. Ising, q-state Potts model, and the classical XY model are treated for both two-dimensional and three-dimensional lattices. Versions of this program held in the CPC repository in Mendeley Data AERM_v1_0; SWspin; 10.1016/j.cpc.2013.10.029 AERM_v2_0; SWspin_v2_0; 10.1016/j.cpc.2015.10.003 This program has been imported from the CPC Program Library held at Queen's University Belfast (1969-2019)



Statistical Physics, Computational Physics, Thermodynamics