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

被引:0
|
作者
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 条
  • [1] Discrete gradients in short-range molecular dynamics simulations
    Grimm, Volker
    Kliesch, Tobias
    Quispel, G. R. W.
    NUMERICAL ALGORITHMS, 2024, 96 (03) : 1189 - 1220
  • [2] The interplay between protein dynamics and frustration of non-bonded interactions as revealed by molecular dynamics simulations
    Tavernelli, I
    Di Iorio, EE
    CHEMICAL PHYSICS LETTERS, 2001, 345 (3-4) : 287 - 294
  • [3] PHYS 36-A non-bonded description of metalloprotein sites in molecular dynamics simulations
    Dal Peraro, Matteo
    Spiegel, Katrin
    Lamoureux, Guillaume
    De Vivo, Marco
    DeGrado, William F.
    Klein, Michael L.
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2006, 232
  • [4] A new method for calculating non-bonded interactions in molecular dynamics simulations of biomembranes.
    Ledauphin, V
    Vergoten, G
    SPECTROSCOPY OF BIOLOGICAL MOLECULES: NEW DIRECTIONS, 1999, : 407 - 408
  • [5] Kernel Optimization on Short-Range Potentials Computations in Molecular Dynamics Simulations
    Wang, Xianmeng
    Li, Jianjiang
    Wang, Jue
    He, Xinfu
    Nie, Ningming
    BIG DATA TECHNOLOGY AND APPLICATIONS, 2016, 590 : 269 - 281
  • [6] Dynamic load balancing for short-range parallel molecular dynamics simulations
    Mo, ZY
    Zhang, JL
    Cai, QD
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 2002, 79 (02) : 165 - 177
  • [7] MDScale: Scalable multi-GPU bonded and short-range molecular dynamics
    Nicolas Barreales, Gonzalo
    Novalbos, Marcos
    Otaduy, Miguel A.
    Sanchez, Alberto
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2021, 157 (157) : 243 - 255
  • [8] Water-Graphene non-bonded interaction parameters: Development and influence on molecular dynamics simulations
    Liao, Shouwei
    Ke, Qia
    Wei, Yanying
    Li, Libo
    APPLIED SURFACE SCIENCE, 2022, 603
  • [9] Short-range density functionals in combination with local long-range ab initio methods: Application to non-bonded complexes
    Goll, Erich
    Werner, Hans-Joachim
    Stoll, Hermann
    CHEMICAL PHYSICS, 2008, 346 (1-3) : 257 - 265
  • [10] An algorithm for computing short-range forces in molecular dynamics simulations with non-uniform particle densities
    Law, T. R.
    Hancox, J.
    Wright, S. A.
    Jarvis, S. A.
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2019, 130 : 1 - 11