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 条
  • [21] SKIRT: Hybrid parallelization of radiative transfer simulations
    Verstocken, S.
    Van de Putte, D.
    Camps, P.
    Baes, M.
    ASTRONOMY AND COMPUTING, 2017, 20 : 16 - 33
  • [22] A model for hybrid simulations of molecular dynamics and computational fluid dynamics
    Yasuda, Shugo
    Yamamoto, Ryoichi
    PHYSICS OF FLUIDS, 2008, 20 (11)
  • [23] A DOMAIN DECOMPOSITION PARALLELIZATION STRATEGY FOR MOLECULAR-DYNAMICS SIMULATIONS ON DISTRIBUTED MEMORY MACHINES
    BROWN, D
    CLARKE, JHR
    OKUDA, M
    YAMAZAKI, T
    COMPUTER PHYSICS COMMUNICATIONS, 1993, 74 (01) : 67 - 80
  • [24] Molecular dynamics simulations of hybrid and complex type oligosaccharides
    Balaji, PV
    Qasba, PK
    Rao, VSR
    INTERNATIONAL JOURNAL OF BIOLOGICAL MACROMOLECULES, 1996, 18 (1-2) : 101 - 114
  • [25] Hybrid Spectral/Subspace Clustering of Molecular Dynamics Simulations
    Syzonenko, Ivan
    Phillips, Joshua L.
    ACM-BCB'18: PROCEEDINGS OF THE 2018 ACM INTERNATIONAL CONFERENCE ON BIOINFORMATICS, COMPUTATIONAL BIOLOGY, AND HEALTH INFORMATICS, 2018, : 325 - 330
  • [26] Accelerating molecular dynamics simulations by a hybrid molecular dynamics-continuum mechanical approach
    Bauer, Christof
    Ries, Maximilian
    Pfaller, Sebastian
    SOFT MATERIALS, 2022, 20 (04) : 428 - 443
  • [27] An adaptive load balancing method for parallel molecular dynamics simulations
    Deng, YF
    Peierls, RF
    Rivera, C
    JOURNAL OF COMPUTATIONAL PHYSICS, 2000, 161 (01) : 250 - 263
  • [28] Graphics Processing Unit Acceleration and Parallelization of GENESIS for Large-Scale Molecular Dynamics Simulations
    Jung, Jaewoon
    Naurse, Akira
    Kobayashi, Chigusa
    Sugita, Yuji
    JOURNAL OF CHEMICAL THEORY AND COMPUTATION, 2016, 12 (10) : 4947 - 4958
  • [29] Efficient parallelization of short-range molecular dynamics simulations on many-core systems
    Meyer, R.
    PHYSICAL REVIEW E, 2013, 88 (05):
  • [30] Effective Parallelization of Quantum Simulations: Nanomagnetic Molecular Rings
    Kozlowski, Piotr
    Musial, Grzegorz
    Antkowiak, Michal
    Gatteschi, Dante
    PARALLEL PROCESSING AND APPLIED MATHEMATICS (PPAM 2013), PT II, 2014, 8385 : 418 - 427