Quantized bounding volume hierarchies for neighbor search in molecular simulations on graphics processing units

Abstract We present an algorithm for neighbor search in molecular simulations on graphics processing units (GPUs) based on bounding volume hierarchies (BVHs). The BVH is compressed into a low-precision, quantized representation to increase the BVH traversal speed compared to a previous implementation. We find that neighbor search using the quantized BVH is roughly two to four times faster than current state-of-the-art methods using uniform grids (cell lists) for a suite of benchmarks for common molecular simulation models. Based on the benchmark results, we recommend using the BVH instead of a single cell list for neighbor list generation in molecular simulations on GPUs.

[1]  Berk Hess,et al.  A flexible algorithm for calculating pair interactions on SIMD architectures , 2013, Comput. Phys. Commun..

[2]  Pak Lui,et al.  Strong scaling of general-purpose molecular dynamics simulations on GPUs , 2014, Comput. Phys. Commun..

[3]  Joshua A. Anderson,et al.  General purpose molecular dynamics simulations fully implemented on graphics processing units , 2008, J. Comput. Phys..

[4]  Brian Wyvill,et al.  Memory‐Conserving Bounding Volume Hierarchies with Coherent Raytracing , 2006, Comput. Graph. Forum.

[5]  Berk Hess,et al.  GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers , 2015 .

[6]  P ? ? ? ? ? ? ? % ? ? ? ? , 1991 .

[7]  Vijay S. Pande,et al.  Accelerating molecular dynamic simulation on graphics processing units , 2009, J. Comput. Chem..

[8]  Tero Karras,et al.  Efficient incoherent ray traversal on GPUs through compressed wide BVHs , 2017, High Performance Graphics.

[9]  Svetlana Artemova,et al.  A comparison of neighbor search algorithms for large rigid molecules , 2011, J. Comput. Chem..

[10]  Tero Karras,et al.  Maximizing parallelism in the construction of BVHs, octrees, and k-d trees , 2012, EGGH-HPG'12.

[11]  H. C. Andersen,et al.  Role of Repulsive Forces in Determining the Equilibrium Structure of Simple Liquids , 1971 .

[12]  Laxmikant V. Kalé,et al.  Scalable molecular dynamics with NAMD , 2005, J. Comput. Chem..

[13]  Kellogg S. Booth,et al.  Heuristics for ray tracing using space subdivision , 1990, The Visual Computer.

[14]  Hélio Pedrini,et al.  Bounding volume hierarchy optimization through agglomerative treelet restructuring , 2015, HPG '15.

[15]  Andreas Dietrich,et al.  Spatial splits in bounding volume hierarchies , 2009, High Performance Graphics.

[16]  Sharon C. Glotzer,et al.  Efficient neighbor list calculation for molecular simulation of colloidal systems using graphics processing units , 2016, Comput. Phys. Commun..

[17]  Benjamin Segovia,et al.  Memory efficient ray tracing with hierarchical mesh quantization , 2010, Graphics Interface.

[18]  Roberto Torres,et al.  Ray casting using a roped BVH with CUDA , 2009, SCCG.

[19]  Dinesh Manocha,et al.  Fast BVH Construction on GPUs , 2009, Comput. Graph. Forum.

[20]  Jonathan P K Doye,et al.  Hierarchical bounding structures for efficient virial computations: Towards a realistic molecular description of cholesterics. , 2017, The Journal of chemical physics.

[21]  Christer Ericson,et al.  Real-Time Collision Detection , 2004 .

[22]  Sharon C. Glotzer,et al.  Scalable Metropolis Monte Carlo for simulation of hard shapes , 2015, Comput. Phys. Commun..

[23]  Duncan Poole,et al.  Routine Microsecond Molecular Dynamics Simulations with AMBER on GPUs. 1. Generalized Born , 2012, Journal of chemical theory and computation.

[24]  Alauddin Ahmed,et al.  Solid-liquid equilibria and triple points of n-6 Lennard-Jones fluids. , 2009, The Journal of chemical physics.

[25]  Jeffrey J. Potoff,et al.  Critical point and phase behavior of the pure fluid and a Lennard-Jones mixture , 1998 .

[26]  Timo Aila,et al.  Understanding the efficiency of ray traversal on GPUs , 2009, High Performance Graphics.

[27]  Douglas R. Stinson,et al.  Pseudo-random Number Generation , 2005 .

[28]  Berend Smit,et al.  Understanding Molecular Simulation , 2001 .

[29]  Athanassios Z. Panagiotopoulos,et al.  Molecular simulation of phase coexistence: Finite-size effects and determination of critical parameters for two- and three-dimensional Lennard-Jones fluids , 1994 .

[30]  Carsten Kutzner,et al.  GROMACS 4:  Algorithms for Highly Efficient, Load-Balanced, and Scalable Molecular Simulation. , 2008, Journal of chemical theory and computation.

[31]  J. Banavar,et al.  Computer Simulation of Liquids , 1988 .

[32]  Tomas Akenine-Möller,et al.  Watertight ray traversal with reduced precision , 2016, High Performance Graphics.

[33]  G. Greiner,et al.  Multi bounding volume hierarchies , 2008, 2008 IEEE Symposium on Interactive Ray Tracing.

[34]  Steven J. Plimpton,et al.  Accurate and efficient methods for modeling colloidal mixtures in an explicit solvent using molecular dynamics , 2008, Comput. Phys. Commun..

[35]  Alexander Keller,et al.  Shallow Bounding Volume Hierarchies for Fast SIMD Ray Tracing of Incoherent Rays , 2008, Comput. Graph. Forum.

[36]  Sharon C. Glotzer,et al.  Pseudo-random number generation for Brownian Dynamics and Dissipative Particle Dynamics simulations on GPU devices , 2011, J. Comput. Phys..

[37]  Steve Plimpton,et al.  Fast parallel algorithms for short-range molecular dynamics , 1993 .

[38]  Timo Aila,et al.  Fast parallel construction of high-quality bounding volume hierarchies , 2013, HPG '13.

[39]  Michael P. Howard,et al.  Efficient mesoscale hydrodynamics: Multiparticle collision dynamics with massively parallel GPU acceleration , 2018, Comput. Phys. Commun..

[40]  Sean Keely,et al.  Reduced Precision for Hardware Ray Tracing in GPUs , 2014, High Performance Graphics.

[41]  Kirill Garanzha,et al.  Simpler and faster HLBVH with work queues , 2011, HPG '11.

[42]  Felix Höfling,et al.  Highly accelerated simulations of glassy dynamics using GPUs: Caveats on limited floating-point precision , 2009, Comput. Phys. Commun..

[43]  Brian E. Smits Efficiency Issues for Ray Tracing , 1998, J. Graphics, GPU, & Game Tools.

[44]  Stéphane Redon,et al.  Practical modeling of molecular systems with symmetries , 2010, J. Comput. Chem..

[45]  Danna Zhou,et al.  d. , 1934, Microbial pathogenesis.

[46]  Bochang Moon,et al.  RACBVHs: random-accessible compressed bounding volume hierarchies , 2009, SIGGRAPH Talks.

[47]  Loren Schwiebert,et al.  Evaluation of Hybrid Parallel Cell List Algorithms for Monte Carlo Simulation , 2015, 2015 IEEE 17th International Conference on High Performance Computing and Communications, 2015 IEEE 7th International Symposium on Cyberspace Safety and Security, and 2015 IEEE 12th International Conference on Embedded Software and Systems.

[48]  J Ilja Siepmann,et al.  Using the k-d Tree Data Structure to Accelerate Monte Carlo Simulations. , 2017, Journal of chemical theory and computation.