Programs in Physics & Physical Chemistry
|[Licence| Download | New Version Template] aerm_v1_0.tar.gz(14 Kbytes)|
|Manuscript Title: CUDA programs for GPU computing of Swendsen-Wang multi-cluster spin flip algorithm: 2D and 3D Ising, Potts, and XY models|
|Authors: Yukihiro Komura, Yutaka Okabe|
|Program title: SWspin|
|Catalogue identifier: AERM_v1_0|
Distribution format: tar.gz
|Journal reference: Comput. Phys. Commun. 185(2014)1038|
|Programming language: C, CUDA.|
|Computer: System with an NVIDIA CUDA enabled GPU.|
|Operating system: System with an NVIDIA CUDA enabled GPU.|
|Keywords: Monte Carlo simulation, Cluster algorithm, Ising model, XY model, Parallel computing, GPU.|
External routines: NVIDIA CUDA Toolkit 3.0 or newer
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.
GPU-based Swendsen-Wang multi-cluster spin flip Monte Carlo method. The CUDA implementation for the cluster-labeling is based on the work by Hawick et al.  and that by Kalentev et al .
The system size is limited depending on the memory of a GPU.
For the parameters used in the sample programs, it takes about a minute for each program. Of course, it depends on the system size, the number of Monte Carlo steps, etc.
|||K.A. Hawick, A. Leist, and D. P. Playne, Parallel Computing 36 (2010) 655-678|
|||O. Kalentev, A. Rai, S. Kemnitzb, and R. Schneider, J. Parallel Distrib. Comput. 71 (2011) 615-620|
|Disclaimer | ScienceDirect | CPC Journal | CPC | QUB|