Back to Search Start Over

Optimization of Reactive Force Field Simulation: Refactor, Parallelization, and Vectorization for Interactions.

Authors :
Gao, Ping
Duan, Xiaohui
Schmidt, Bertil
Zhang, Wusheng
Gan, Lin
Fu, Haohuan
Xue, Wei
Liu, Weiguo
Yang, Guangwen
Source :
IEEE Transactions on Parallel & Distributed Systems; Feb2022, Vol. 33 Issue 2, p359-373, 15p
Publication Year :
2022

Abstract

Molecular dynamics (MD) simulations are playing an increasingly important role in many areas ranging from chemical materials to biological molecules. With the continuing development of MD models, the potentials are getting larger and more complex. In this article, we focus on the reactive force field (ReaxFF) potential from LAMMPS to optimize the computation of interactions. We present our efforts on refactoring for neighbor list building, bond order computation, as well as valence angles and torsion angles computation. After redesigning these kernels, we develop a vectorized implementation for non-bonded interactions, which is nearly $100 \times$ 100 × faster than the management processing element (MPE) on the Sunway TaihuLight supercomputer. Furthermore, we have implemented the three-body-list free torsion angles computation, and propose a line-locked software cache method to eliminate write conflicts in the torsion angle and valence angle interactions resulting in an order-of-magnitude speedup on a single Sunway TaihuLight node. In addition, we achieve a speedup of up to 3.5 compared to the KOKKOS package on an Intel Xeon Gold 6148 core. When executed on 1,024 processes, our implementation enables the simulation of 21,233,664 atoms on 66,560 cores with a performance of 0.032 ns/day and a weak scaling efficiency of 95.71 percent. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
10459219
Volume :
33
Issue :
2
Database :
Complementary Index
Journal :
IEEE Transactions on Parallel & Distributed Systems
Publication Type :
Academic Journal
Accession number :
153095241
Full Text :
https://doi.org/10.1109/TPDS.2021.3091408