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 条
  • [41] Constant pressure hybrid molecular dynamics-Monte Carlo simulations
    Faller, R
    de Pablo, JJ
    JOURNAL OF CHEMICAL PHYSICS, 2002, 116 (01): : 55 - 59
  • [42] MDSLB:A new static load balancing method for parallel molecular dynamics simulations
    武云龙
    徐新海
    杨学军
    邹顺
    任小广
    Chinese Physics B, 2014, (02) : 632 - 647
  • [43] Hybrid resolution molecular dynamics simulations of amyloid proteins interacting with membranes
    Hashemi, Mohtadin
    Lyubchenko, Yuri L.
    METHODS, 2022, 197 : 89 - 96
  • [45] HYBRID MOLECULAR-DYNAMICS - AN APPROACH TO LOW-DENSITY SIMULATIONS
    REED, MSC
    FLURCHICK, KM
    COMPUTER PHYSICS COMMUNICATIONS, 1994, 81 (1-2) : 56 - 64
  • [46] 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
  • [47] MDSLB: A new static load balancing method for parallel molecular dynamics simulations
    Wu Yun-Long
    Xu Xin-Hai
    Yang Xue-Jun
    Zou Shun
    Ren Xiao-Guang
    CHINESE PHYSICS B, 2014, 23 (02)
  • [48] Hierarchical parallelization of divide-and-conquer density functional tight-binding molecular dynamics and metadynamics simulations
    Nishimura, Yoshifumi
    Nakai, Hiromi
    JOURNAL OF COMPUTATIONAL CHEMISTRY, 2020, 41 (19) : 1759 - 1772
  • [49] Simulations by molecular dynamics
    不详
    BIOFUTUR, 2013, (347) : 38 - 38
  • [50] Molecular dynamics simulations
    Binder, K
    Horbach, J
    Kob, W
    Paul, W
    Varnik, F
    JOURNAL OF PHYSICS-CONDENSED MATTER, 2004, 16 (05) : S429 - S453