Code modernization strategies for short-range non-bonded molecular dynamics simulations

被引:1
作者
Vance, James [1 ]
Xu, Zhen-Hao [1 ]
Tretyakov, Nikita [1 ]
Stuehn, Torsten [2 ]
Rampp, Markus [3 ]
Eibl, Sebastian [3 ]
Junghans, Christoph [4 ]
Brinkmann, Andre [1 ]
机构
[1] Johannes Gutenberg Univ Mainz, Zentrum Datenverarbeitung, Mainz, Germany
[2] Max Planck Inst Polymer Res, Mainz, Germany
[3] Max Planck Comp & Data Facil, Garching, Germany
[4] Los Alamos Natl Lab, Appl Comp Sci Grp, Los Alamos, NM USA
关键词
Molecular dynamics; High performance computing; HPX; MPI; ESPResSo plus plus; HPX;
D O I
10.1016/j.cpc.2023.108760
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Modern HPC systems are increasingly relying on greater core counts and wider vector registers. Thus, applications need to be adapted to fully utilize these hardware capabilities. One class of applications that can benefit from this increase in parallelism are molecular dynamics simulations. In this paper, we describe our efforts at modernizing the ESPResSo++ simulation package for molecular dynamics by re-structuring its particle data layout for efficient memory accesses and applying vectorization techniques to benefit the calculation of short-range non-bonded forces, which results in an overall three times speedup and serves as a baseline for further optimizations. We also implement fine-grained parallelism for multi-core CPUs through HPX, a C++ runtime system which uses lightweight threads and an asynchronous many-task approach to maximize concurrency. Our goal is to evaluate the performance of an HPX-based approach compared to the bulk-synchronous MPI-based implementation. This requires the introduction of an additional layer to the domain decomposition scheme that defines the task granularity. On spa-tially inhomogeneous systems, which impose a corresponding load-imbalance in traditional MPI-based approaches, we demonstrate that by choosing an optimal task size, the efficient work-stealing mecha-nisms of HPX can overcome the overhead of communication resulting in an overall 1.4 times speedup compared to the baseline MPI version.& COPY; 2023 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons .org /licenses /by-nc -nd /4 .0/).
引用
收藏
页数:12
相关论文
共 50 条
[21]   DynaPhoPy: A code for extracting phonon quasiparticles from molecular dynamics simulations [J].
Carreras, Abel ;
Togo, Atsushi ;
Tanaka, Isao .
COMPUTER PHYSICS COMMUNICATIONS, 2017, 221 :221-234
[22]   A novel algorithm for non-bonded-list updating in molecular simulations [J].
Maximova, Tatiana ;
Keasar, Chen .
JOURNAL OF COMPUTATIONAL BIOLOGY, 2006, 13 (05) :1041-1048
[23]   On multiscale non-equilibrium molecular dynamics simulations [J].
Li, Shaofan ;
Sheng, Ni .
INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 2010, 83 (8-9) :998-1038
[24]   Topological and chemical short-range order and their correlation with glass form ability of Mg-Zn metallic glasses: A molecular dynamics study [J].
Foroughi, A. ;
Tavakoli, R. .
COMPUTATIONAL MATERIALS SCIENCE, 2020, 180 (180)
[25]   On the useful range of application of molecular dynamics simulations in the recoil interaction approximation [J].
Hobler, G ;
Betz, G .
NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION B-BEAM INTERACTIONS WITH MATERIALS AND ATOMS, 2001, 180 :203-208
[26]   Short-Range Coherence of Internal Protein Dynamics Revealed by High-Precision in Silico Study [J].
Li, Da-Wei ;
Meng, Dan ;
Brueschweiler, Rafael .
JOURNAL OF THE AMERICAN CHEMICAL SOCIETY, 2009, 131 (41) :14610-+
[27]   Molecular dynamics simulations of RDX and RDX-based plastic-bonded explosives [J].
Zhu, Wei ;
Xiao, Jijun ;
Zhu, Weihua ;
Xiao, Heming .
JOURNAL OF HAZARDOUS MATERIALS, 2009, 164 (2-3) :1082-1088
[28]   The role of short-range Cys171-Cys178 disulfide bond in maintaining cutinase active site integrity: A molecular dynamics simulation [J].
Matak, Mehdi Youssefi ;
Moghaddam, Majid Erfani .
BIOCHEMICAL AND BIOPHYSICAL RESEARCH COMMUNICATIONS, 2009, 390 (02) :201-204
[29]   Evolution of short-range order and dynamics of medium-range order influence on the glass-forming ability of CuZrAg alloys [J].
Huang, Lisha ;
Liang, Yongchao ;
Zhou, Lili ;
Tian, Zean .
JOURNAL OF MATERIALS RESEARCH AND TECHNOLOGY-JMR&T, 2024, 31 :1626-1636
[30]   VECTORIZED PROGRAM OF ORDER N FOR MOLECULAR-DYNAMICS SIMULATION OF CONDENSED MATTER .2. MDSLAB1 - SLAB, SHORT-RANGE INTERACTIONS [J].
RYCERZ, ZA ;
JACOBS, PWM .
COMPUTER PHYSICS COMMUNICATIONS, 1991, 62 (01) :145-161