arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1007.3726physics.comp-phcs.GRmath-phmath.MP
收藏

多GPU加速的二维伊辛模型多自旋蒙特卡罗模拟

Multi-GPU Accelerated Multi-Spin Monte Carlo Simulations of the 2D Ising Model

Benjamin Block, Peter Virnau, Tobias Preis

摘要:

现代图形处理单元(GPU)能够以低成本执行大规模并行科学计算。本文将棋盘格算法推广到二维伊辛模型[T. Preis等人,J.Comp.Phys.228,4468(2009)],以克服单个GPU的存储器限制,这使得我们能够模拟明显更大的系统。使用多自旋编码技术,与采用多自旋编码的优化的单个中央处理器(CPU)核心实现相比,我们能够将单个GPU上的模拟加速高达35倍。通过在CPU级别上将计算统一设备架构(CUDA)与消息解析接口(MPI)相结合,单个Ising lattice可以由GPU集群并行更新。对于大型系统,计算时间几乎与所使用的GPU数量成线性关系。作为概念的证明,我们使用有限尺寸标度技术再现了2D伊辛模型的临界温度。

英文摘要:

A modern graphics processing unit (GPU) is able to perform massively parallel scientific computations at low cost. We extend our implementation of the checkerboard algorithm for the two dimensional Ising model [T. Preis et al., J. Comp. Phys. 228, 4468 (2009)] in order to overcome the memory limitations of a single GPU which enables us to simulate significantly larger systems. Using multi-spin coding techniques, we are able to accelerate simulations on a single GPU by factors up to 35 compared to an optimized single Central Processor Unit (CPU) core implementation which employs multi-spin coding. By combining the Compute Unified Device Architecture (CUDA) with the Message Parsing Interface (MPI) on the CPU level, a single Ising lattice can be updated by a cluster of GPUs in parallel. For large systems, the computation time scales nearly linearly with the number of GPUs used. As proof of concept we reproduce the critical temperature of the 2D Ising model using finite size scaling techniques.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑