Regular Lattice and Small-World Spin Model Simulations Using CUDA and GPUs

Data-parallel accelerator devices such as Graphical Processing Units (GPUs) are providing dramatic performance improvements over even multi-core CPUs for lattice-oriented applications in computational physics. Models such as the Ising and Potts models continue to play a role in investigating phase transitions on small-world and scale-free graph structures. These models are particularly well-suited to the performance gains possible using GPUs and relatively high-level device programming languages such as NVIDIA’s Compute Unified Device Architecture (CUDA). We report on algorithms and CUDA data-parallel programming techniques for implementing Metropolis Monte Carlo updates for the Ising model using bit-packing storage, and adjacency neighbour lists for various graph structures in addition to regular hypercubic lattices. We report on parallel performance gains and also memory and performance tradeoffs using GPU/CPU and algorithmic combinations.

[1]  Wolfgang Paul,et al.  GPU accelerated Monte Carlo simulation of the 2D and 3D Ising model , 2009, J. Comput. Phys..

[2]  Denis Boyer,et al.  Interface motion and pinning in small-world networks. , 2002, Physical review. E, Statistical, nonlinear, and soft matter physics.

[3]  Ken A. Hawick,et al.  Mixing multi-core CPUs and GPUs for scientific simulation software , 2010 .

[4]  Kenneth A. Hawick,et al.  Exploiting graphical processing units for data‐parallel scientific applications , 2009, Concurr. Comput. Pract. Exp..

[5]  L. Onsager Crystal statistics. I. A two-dimensional model with an order-disorder transition , 1944 .

[6]  Philip W. Anderson,et al.  New Approach to the Theory of Superexchange Interactions , 1959 .

[7]  Gyan Bhanot,et al.  A fast algorithm for the Cyber 205 to simulate the 3D Ising model , 1986 .

[8]  Robert H. Swendsen,et al.  Monte Carlo Renormalization Group Calculations of Critical Behavior in the Simple Cubic Ising Model , 1984 .

[9]  Ken A. Hawick,et al.  Domain growth in alloys , 1991 .

[10]  P Minnhagen,et al.  XY model in small-world networks. , 2001, Physical review. E, Statistical, nonlinear, and soft matter physics.

[11]  M. .. Moore Exactly Solved Models in Statistical Mechanics , 1983 .

[12]  A. Compagner,et al.  Monte Carlo renormalization of the three-dimensional Ising model , 1989 .

[13]  K. Binder The Monte Carlo method for the study of phase transitions: A review of some recent progress , 1985 .

[14]  George Marsaglia,et al.  Toward a universal random number generator , 1987 .

[15]  Kenneth A. Hawick,et al.  Hypercubic storage layout and transforms in arbitrary dimensions using GPUs and CUDA , 2011, Concurr. Comput. Pract. Exp..

[16]  Gupta,et al.  Monte Carlo renormalization-group study of the three-dimensional Ising model. , 1992, Physical review. B, Condensed matter.

[17]  Beom Jun Kim,et al.  Phase transition in the Ising model on a small-world network with distance-dependent interactions. , 2003, Physical review. E, Statistical, nonlinear, and soft matter physics.

[18]  E. Ising Beitrag zur Theorie des Ferromagnetismus , 1925 .

[19]  Beom Jun Kim,et al.  Comment on "Ising model on a small world network". , 2002, Physical review. E, Statistical, nonlinear, and soft matter physics.

[20]  H. A. James,et al.  Ising Model Scaling Behaviour on z-Preserving Small-World Networks , 2006 .

[21]  A. Pekalski,et al.  Ising model on a small world network. , 2001, Physical review. E, Statistical, nonlinear, and soft matter physics.

[22]  Martin Niss,et al.  History of the Lenz-Ising Model 1920–1950: From Ferromagnetic to Cooperative Phenomena , 2005 .

[23]  Hangmo Yi,et al.  Effect of quantum fluctuations in an Ising system on small-world networks. , 2003, Physical review. E, Statistical, nonlinear, and soft matter physics.

[24]  U. Wolff Comparison Between Cluster Monte Carlo Algorithms in the Ising Model , 1989 .

[25]  Wolff,et al.  Collective Monte Carlo updating for spin systems. , 1989, Physical review letters.

[26]  C. Herrero Ising model in small-world networks. , 2002, Physical review. E, Statistical, nonlinear, and soft matter physics.