906

Multi-GPU accelerated multi-spin Monte Carlo simulations of the 2D Ising model

Benjamin Block,Peter Virnau,Tobias Preis
Comp. Phys. Commun., Vol. 181, No. 9. (24 May 2010), pp. 1549-1556

@article{block2010multi,

   title={Multi-GPU accelerated multi-spin Monte Carlo simulations of the 2D Ising model},

   author={Block, B. and Virnau, P. and Preis, T.},

   journal={Computer Physics Communications},

   year={2010},

   publisher={Elsevier}

}

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., Journal of Chemical Physics 228 (2009) 4468–4477] 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.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: