首页 | 本学科首页   官方微博 | 高级检索  
     


Parallel Monte Carlo simulation in the canonical ensemble on the graphics processing unit
Authors:Eyad Hailat  Vincent Russo  Kamel Rushaidat  Jason Mick  Loren Schwiebert  Jeffrey Potoff
Affiliation:1. Department of Computer Science, Wayne State University, Detroit, MI 48202, USA;2. Department of Chemical Engineering and Materials Science, Wayne State University, Detroit, MI 48202, USA
Abstract:Graphics processing units (GPUs) offer parallel computing power that usually requires a cluster of networked computers or a supercomputer to accomplish. While writing kernel code is fairly straightforward, achieving efficiency and performance requires very careful optimisation decisions and changes to the original serial algorithm. We introduce a parallel canonical ensemble Monte Carlo (MC) simulation that runs entirely on the GPU. In this paper, we describe two MC simulation codes of Lennard-Jones particles in the canonical ensemble, a single CPU core and a parallel GPU implementations. Using Compute Unified Device Architecture, the parallel implementation enables the simulation of systems containing over 200,000 particles in a reasonable amount of time, which allows researchers to obtain more accurate simulation results. A remapping algorithm is introduced to balance the load of the device resources and demonstrate by experimental results that the efficiency of this algorithm is bounded by available GPU resource. Our parallel implementation achieves an improvement of up to 15 times on a commodity GPU over our efficient single core implementation for a system consisting of 256k particles, with the speedup increasing with the problem size. Furthermore, we describe our methods and strategies for optimising our implementation in detail.
Keywords:graphics processing unit  Compute Unified Device Architecture  high-performance computing  Monte Carlo simulations  canonical thermodynamic ensemble  Lennard-Jones potential
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号