arrow
Return

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

delete2022-02-01
delete5
PRE
AI
P
Ping Gao
X
Xiaohui Duan
B
Bertil Schmidt
W
Wusheng Zhang
L
Lin Gan
付
付昊桓 (Haohuan Fu) *
薛
薛巍 (Wei Xue)
刘
刘伟国 (Weiguo Liu) *
G
Guangwen Yang
DOI:10.1109/TPDS.2021.3091408delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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 100x 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.
Keywords:
High performance computing
molecular dynamics
computational science
Sunway TaihuLight supercomputer (TaihuLight)

Journal

IEEE Transactions on Parallel and Distributed Systems cover
IEEE Transactions on Parallel and Distributed Systems
IF:
6
Papers:
5.2K
Citations:
1.1W

Organization

T
tsinghua university
Scholars:
11.9W
Papers: 10.0W
Citations: 137
S
shandong university
Scholars:
9.5W
Papers: 6.4W
Citations: 94
Cited Papers

Cited Papers

errShare
errSave
The Sunway TaihuLight supercomputer: system and applications
err2016-06-21
err381
PREAI
errFu, Haohuan; Liao, Junfeng; Yang, Jinzhe; Wang, Lanning; Song, Zhenya; Huang, Xiaomeng; Yang, Chao; Xue, Wei; Liu, Fangfang; Qiao, Fangli; Zhao, Wei; Yin, Xunqiang; Hou, Chaofeng; Zhang, Chenglong; Ge, Wei; Zhang, Jian; Wang, Yangang; Zhou, Chunbo; Yang, Guangwen
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
errShare
errSave
Millimeter-Scale and Billion-Atom Reactive Force Field Simulation on Sunway Taihulight
err2020-12-01
err13
PREAI
errGao, Ping; Duan, Xiaohui; Zhang, Tingjian; Zhang, Meng; Schmidt, Bertil; Zhang, Xun; Sun, Hongliang; Zhang, Wusheng; Gan, Lin; Xue, Wei; Fu, Haohuan; Liu, Weiguo; Yang, Guangwen
errShare
errSave
GROMACS - A MESSAGE-PASSING PARALLEL MOLECULAR-DYNAMICS IMPLEMENTATION
err1995-09-01
err9.0K
PREAI
errBERENDSEN, HJC; VANDERSPOEL, D; VANDRUNEN, R
errShare
errSave
Optimizing the performance of reactive molecular dynamics simulations for many-core architectures
err2018-01-08
err23
errOAAI
errAktulga, Hasan Metin; Knight, Chris; Coffman, Paul; O'Hearn, Kurt A.; Shan, Tzu-Ray; Jiang, Wei
errShare
errSave
researcher View more