skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Scalable Metropolis Monte Carlo for simulation of hard shapes

Journal Article · · Computer Physics Communications

We design and implement a scalable hard particle Monte Carlo simulation toolkit (HPMC), and release it open source as part of HOOMD-blue. HPMC runs in parallel on many CPUs and many GPUs using domain decomposition. We employ BVH trees instead of cell lists on the CPU for fast performance, especially with large particle size disparity, and optimize inner loops with SIMD vector intrinsics on the CPU. Our GPU kernel proposes many trial moves in parallel on a checkerboard and uses a block-level queue to redistribute work among threads and avoid divergence. HPMC supports a wide variety of shape classes, including spheres/disks, unions of spheres, convex polygons, convex spheropolygons, concave polygons, ellipsoids/ellipses, convex polyhedra, convex spheropolyhedra, spheres cut by planes, and concave polyhedra. NVT and NPT ensembles can be run in 2D or 3D triclinic boxes. Additional integration schemes permit Frenkel–Ladd free energy computations and implicit depletant simulations. In a benchmark system of a fluid of 4096 pentagons, HPMC performs 10 million sweeps in 10 min on 96 CPU cores on XSEDE Comet. The same simulation would take 7.6 h in serial. HPMC also scales to large system sizes, and the same benchmark with 16.8 million particles runs in 1.4 h on 2048 GPUs on OLCF Titan.

Research Organization:
Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States). Oak Ridge Leadership Computing Facility (OLCF); UT-Battelle LLC/ORNL, Oak Ridge, TN (United States)
Sponsoring Organization:
USDOE Office of Science (SC)
DOE Contract Number:
AC05-00OR22725
OSTI ID:
1565429
Journal Information:
Computer Physics Communications, Vol. 204, Issue C; ISSN 0010-4655
Publisher:
Elsevier
Country of Publication:
United States
Language:
English

Similar Records

Developing And Scaling an OpenFOAM Model to Study Turbulent Flow in a HFIR Coolant Channel
Technical Report · Fri Mar 01 00:00:00 EST 2024 · OSTI ID:1565429

Implementation of metal-friendly EAM/FS-type semi-empirical potentials in HOOMD-blue: A GPU-accelerated molecular dynamics software
Journal Article · Fri Jan 12 00:00:00 EST 2018 · Journal of Computational Physics · OSTI ID:1565429

Strong scaling of general-purpose molecular dynamics simulations on GPUs
Journal Article · Wed Mar 11 00:00:00 EDT 2015 · Computer Physics Communications · OSTI ID:1565429

Related Subjects