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 条
[31]   AMR-based molecular dynamics for non-uniform, highly dynamic particle simulations [J].
Prat, Raphael ;
Carrard, Thierry ;
Soulard, Laurent ;
Durand, Olivier ;
Namyst, Raymond ;
Colombet, Laurent .
COMPUTER PHYSICS COMMUNICATIONS, 2020, 253
[32]   Non-equilibrium dynamics in disordered materials: ab initio molecular dynamics simulations [J].
Ohmura, Satoshi ;
Nagaya, Kiyonobu ;
Shimojo, Fuyuki ;
Yao, Makoto .
PROCEEDINGS FOR THE XV LIQUID AND AMORPHOUS METALS (LAM-15) INTERNATIONAL CONFERENCE, 2015, 1673
[33]   Implementing molecular dynamics on hybrid high performance computers - short range forces [J].
Brown, W. Michael ;
Wang, Peng ;
Plimpton, Steven J. ;
Tharrington, Arnold N. .
COMPUTER PHYSICS COMMUNICATIONS, 2011, 182 (04) :898-911
[34]   SPILADY: A parallel CPU and GPU code for spin-lattice magnetic molecular dynamics simulations [J].
Ma, Pui-Wai ;
Dudarev, S. L. ;
Woo, C. H. .
COMPUTER PHYSICS COMMUNICATIONS, 2016, 207 :350-361
[35]   Long-time protein folding dynamics from short-time molecular dynamics simulations [J].
Chodera, John D. ;
Swope, William C. ;
Pitera, Jed W. ;
Dill, Ken A. .
MULTISCALE MODELING & SIMULATION, 2006, 5 (04) :1214-1226
[36]   VECTORIZED PROGRAM OF ORDER N FOR MOLECULAR-DYNAMICS SIMULATION OF CONDENSED MATTER .1. MDPYRV1 - VECTOR PYRAMID, SHORT-RANGE INTERACTIONS [J].
RYCERZ, ZA ;
JACOBS, PWM .
COMPUTER PHYSICS COMMUNICATIONS, 1991, 62 (01) :125-144
[37]   Chemical and topological short-range orders in the ternary Ni-Zr-Al metallic glasses studied by Monte Carlo simulations [J].
Zhao, S. Z. ;
Li, J. H. ;
Liu, B. X. .
JOURNAL OF PHYSICS-CONDENSED MATTER, 2013, 25 (09)
[38]   Intricate short-range order in GeSn alloys revealed by atomistic simulations with highly accurate and efficient machine-learning potentials [J].
Chen, Shunda ;
Jin, Xiaochen ;
Zhao, Wanyu ;
Li, Tianshu .
PHYSICAL REVIEW MATERIALS, 2024, 8 (04)
[39]   The conformation of dehydroalanine in short homopeptides:: molecular dynamics simulations of a 6-residue chain [J].
Zanuy, D ;
Casanovas, J ;
Alemán, C .
BIOPHYSICAL CHEMISTRY, 2002, 98 (03) :301-312
[40]   Parallel molecular dynamics simulations for short-ranged many-body potentials [J].
Cornwell, CF ;
Wille, LT .
COMPUTER PHYSICS COMMUNICATIONS, 2000, 128 (1-2) :477-491