Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aexu_v1_0.tar.gz(9 Kbytes)
Manuscript Title: OpenACC programs of the Swendsen-Wang multi-cluster spin flip algorithm
Authors: Yukihiro Komura
Program title: SWspin_OpenACC
Catalogue identifier: AEXU_v1_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 197(2015)298
Programming language: C, OpenACC.
Computer: Any computer with an OpenACC-enabled accelerator (tested on NVIDIA GPU).
Operating system: No limits (tested on Linux).
RAM: About 1MiB for the parameters used in the sample programs.
Keywords: Monte Carlo simulation, cluster algorithm, Ising model, XY model, parallel computing, OpenACC.
Classification: 23.

Nature of problem:
Monte Carlo simulation of classical spin systems. Ising model, q-state Potts model, and the classical XY model are treated for both two-dimensional and three-dimensional lattices.

Solution method:
Swendsen-Wang multi-cluster spin flip Monte Carlo method. The OpenACC implementation for the cluster-labeling is based on the work by Kalentev et al. [J. Parallel Distrib. Comput. 71 (2011) 615-620].

Restrictions:
The system size is limited depending on the memory of an accelerator

Running time:
A few minutes per each program for the parameters used in the sample program.