Hybrid parallelization of molecular dynamics simulations to reduce load imbalance

被引:0
|
作者
Julian Morillo
Maxime Vassaux
Peter V. Coveney
Marta Garcia-Gasulla
机构
[1] Barcelona Supercomputing Center - Centro Nacional de Supercomputacion,
[2] Centre for Computational Sciences - University College London,undefined
来源
关键词
Load Balance; Parallel computing; Molecular dynamics; MPI; OpenMP; Hybrid programming model;
D O I
暂无
中图分类号
学科分类号
摘要
The most widely used technique to allow for parallel simulations in molecular dynamics is spatial domain decomposition, where the physical geometry is divided into boxes, one per processor. This technique can inherently produce computational load imbalance when either the spatial distribution of particles or the computational cost per particle is not uniform. This paper shows the benefits of using a hybrid MPI+OpenMP model to deal with this load imbalance. We consider LAMMPS (Large-scale Atomic/Molecular Massively Parallel Simulator), a prototypical molecular dynamics simulator that provides its own balancing mechanism and an OpenMP implementation for many of its modules, allowing for a hybrid setup. In this work, we extend the current OpenMP implementation of LAMMPS and optimize it and evaluate three different setups: MPI-only, MPI with the LAMMPS balance mechanism, and hybrid setup using our improved OpenMP version. This comparison is made using the five standard benchmarks included in the LAMMPS distribution plus two additional test cases. Results show that the hybrid approach can deal with load balancing problems better and more effectively (50% improvement versus MPI-only for a highly imbalanced test case) than the LAMMPS balance mechanism (only 43% improvement) and improve simulations with issues other than load imbalance.
引用
收藏
页码:9184 / 9215
页数:31
相关论文
共 50 条
  • [1] Hybrid parallelization of molecular dynamics simulations to reduce load imbalance
    Morillo, Julian
    Vassaux, Maxime
    Coveney, Peter V.
    Garcia-Gasulla, Marta
    JOURNAL OF SUPERCOMPUTING, 2022, 78 (07): : 9184 - 9215
  • [2] Hybrid particle-field molecular dynamics simulations: Parallelization and benchmarks
    Zhao, Ying
    De Nicola, Antonio
    Kawakatsu, Toshihiro
    Milano, Giuseppe
    JOURNAL OF COMPUTATIONAL CHEMISTRY, 2012, 33 (08) : 868 - 880
  • [3] Heterogeneous parallelization and acceleration of molecular dynamics simulations in GROMACS
    Pall, Szilard
    Zhmurov, Artem
    Bauer, Paul
    Abraham, Mark
    Lundborg, Magnus
    Gray, Alan
    Hess, Berk
    Lindahl, Erik
    JOURNAL OF CHEMICAL PHYSICS, 2020, 153 (13):
  • [4] Midpoint Cell Method for Hybrid ( MPI1OpenMP) Parallelization of Molecular Dynamics Simulations
    Jung, Jaewoon
    Mori, Takaharu
    Sugita, Yuji
    JOURNAL OF COMPUTATIONAL CHEMISTRY, 2014, 35 (14) : 1064 - 1072
  • [5] A Comparison between Parallelization Approaches in Molecular Dynamics Simulations on GPUs
    Rovigatti, Lorenzo
    Sulc, Petr
    Reguly, Istvan Z.
    Romano, Flavio
    JOURNAL OF COMPUTATIONAL CHEMISTRY, 2015, 36 (01) : 1 - 8
  • [6] Mashing load balancing algorithm to boost hybrid kernels in molecular dynamics simulations
    Raúl Nozal
    Jose Luis Bosque
    The Journal of Supercomputing, 2023, 79 : 1065 - 1080
  • [7] Mashing load balancing algorithm to boost hybrid kernels in molecular dynamics simulations
    Nozal, Raul
    Luis Bosque, Jose
    JOURNAL OF SUPERCOMPUTING, 2023, 79 (01): : 1065 - 1080
  • [8] Automatic Parallelization of Probabilistic Models with Varying Load Imbalance
    Nemeth, Balazs
    Haber, Tom
    Liesenborgs, Jori
    Lamotte, Wim
    2020 20TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID 2020), 2020, : 752 - 759
  • [9] Compiler estimation of load imbalance overhead in speculative parallelization
    Dou, JL
    Cintra, M
    13TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURE AND COMPILATION TECHNIQUES, PROCEEDINGS, 2004, : 203 - 214
  • [10] Efficient parallelization of molecular dynamics simulations with short-ranged forces
    Meyer, Ralf
    HIGH PERFORMANCE COMPUTING SYMPOSIUM 2013 (HPCS 2013), 2014, 540