Improved CUDA programs for GPU computing of Swendsen–Wang multi-cluster spin flip algorithm: 2D and 3D Ising, Potts, and XY models
收藏资源简介:
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)
摘要 本文提供了用于Swendsen–Wang多集团自旋翻转算法的新版示例CUDA程序。本次更新中,我们为这些程序加入了基于GPU的无需传统迭代的集团标记算法(Komura, 2015)。针对高精度计算需求,我们还在cuRAND库中新增了随机数生成器(random-number generator)。此外,我们修复了若干程序漏洞,并移除了核函数(kernel functions)中额外的共享内存使用。 程序名称:SWspin_v2_0 目录编号:AERM_v2_0 适用问题 经典自旋系统的蒙特卡洛(Monte Carlo)模拟。可针对二维与三维晶格,实现伊辛(Ising)模型、q态波特(Potts)模型及经典XY模型的相关计算。 Mendeley数据平台CPC程序库中存档的该程序版本: AERM_v1_0; SWspin; 10.1016/j.cpc.2013.10.029 AERM_v2_0; SWspin_v2_0; 10.1016/j.cpc.2015.10.003 本程序源自贝尔法斯特女王大学馆藏的CPC程序库(1969-2019)



