Redesign and Accelerate the AIREBO Bond-Order Potential on the New Sunway Supercomputer
- 4 October 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 34 (12) , 3117-3132
Abstract
Molecular dynamics (MD) is one of the most crucial computer simulation methods for understanding real-world processes at the atomic level. Reactive potentials based on the bond order concept have the ability to model dynamic bond breaking and formation with close to quantum mechanical (QM) precision without actually requiring expensive QM calculations. In this article, we focus on the adaptive intermolecular reactive empirical bond-order (AIREBO) potential in LAMMPS for the simulation of carbon and hydrocarbon systems on the new Sunway supercomputer. To achieve scalable performance, we propose a parallel two-level building scheme and periodic buffering strategy for the tailored data design to explore data locality and data reuse. Furthermore, we design two optimized nearest-neighbor access algorithms: the redistribution of accumulated coefficients algorithm and the double-end search connectivity algorithm. Finally, we implement parallel force computation with an AoS data layout and hardware/software co-cache. In addition, we have designed a low-overhead atomic operation-based load balancing method and vectorization. The overall performance of AIREBO achieves a speedup of nearly $20\times$ on a single core group (CG), and more than $5\times$ and $4\times$ over an Intel Xeon E5 2680 v3 core and an Intel Xeon Gold 6138 core, respectively. Compared with the Intel accelerator package in LAMMPS, our performance further achieves $3.0\times$ of an Intel Xeon E5 2680 v3 core and is better than that of an Intel Xeon Gold 6138 core. We complete the validation of the results in no more than 20.5 hours on a single node with 2,000,000 running steps (i.e., 1 ns). Our experiments show that the simulation of 2,139,095,040 atoms on 798,720 ((1MPE+64CPEs) × 12,288 processes) cores exhibits a parallel efficiency of 88% under weak scaling.
Keywords
Funding Information
- National Natural Science Foundation of China (62202119, 62102114, 61972231, U2242210, T2125006)
- China Postdoctoral Science Foundation (2023M731950)
- National Key R&D Program of China (2019YFA0709400)
- Engineering Research Center of Digital Media Technology
- Ministry of education, China
This publication has 35 references indexed in Scilit:
- The Amber biomolecular simulation programsJournal of Computational Chemistry, 2005
- A second-generation reactive empirical bond order (REBO) potential energy expression for hydrocarbonsJournal of Physics: Condensed Matter, 2002
- ReaxFF: A Reactive Force Field for HydrocarbonsThe Journal of Physical Chemistry A, 2001
- Development and Testing of the OPLS All-Atom Force Field on Conformational Energetics and Properties of Organic LiquidsJournal of the American Chemical Society, 1996
- Density Functional and Density Matrix Method Scaling Linearly with the Number of AtomsPhysical Review Letters, 1996
- Charge equilibration for molecular dynamics simulationsThe Journal of Physical Chemistry, 1991
- CHARMM: A program for macromolecular energy, minimization, and dynamics calculationsJournal of Computational Chemistry, 1983
- Computer "Experiments" on Classical Fluids. I. Thermodynamical Properties of Lennard-Jones MoleculesPhysical Review B, 1967
- Self-Consistent Equations Including Exchange and Correlation EffectsPhysical Review B, 1965
- Inhomogeneous Electron GasPhysical Review B, 1964