Hybrid parallelization of molecular dynamics simulations to reduce load imbalance
| dc.contributor.author | Morillo, Julian |
| dc.contributor.author | Vassaux, Maxime |
| dc.contributor.author | Coveney, Peter V. |
| dc.contributor.author | Garcia Gasulla, Marta |
| dc.contributor.other | Barcelona Supercomputing Center |
| dc.date.accessioned | 2022-03-24T11:42:29Z |
| dc.date.available | 2023-01-17T01:27:38Z |
| dc.date.issued | 2022 |
| dc.description.abstract | 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. |
| dc.description.peerreviewed | Peer Reviewed |
| dc.description.sponsorship | This work is partially supported by the Spanish Government through Programa Severo Ochoa (SEV-2015-0493), by the Spanish Ministry of Science and Technology (TIN2015-65316-P), by the Generalitat de Catalunya (2017-SGR-1414), and by the European POP CoE (GA n. 824080). This work is also funded as part of the European Union Horizon 2020 research and innovation program under grant agreement nos. 800925 (VECMA project; www.vecma.eu) and 823712 (CompBioMed2 Centre of Excellence; www.compbiomed.eu), as well as the UK EPSRC for the UK High-End Computing Consortium (grant no. EP/R029598/1). |
| dc.description.version | Postprint (author's final draft) |
| dc.identifier.citation | Morillo, J. [et al.]. Hybrid parallelization of molecular dynamics simulations to reduce load imbalance. "Journal of Supercomputing", 2022, |
| dc.identifier.doi | 10.1007/s11227-021-04214-4 |
| dc.identifier.issn | 0920-8542 |
| dc.identifier.issn | 1573-0484 |
| dc.identifier.other | https://rdcu.be/cE8iB |
| dc.identifier.uri | https://hdl.handle.net/2117/364810 |
| dc.language.iso | eng |
| dc.publisher | Springer |
| dc.relation.projectid | info:eu-repo/grantAgreement/EC/H2020/824080/EU/Performance Optimisation and Productivity 2/POP2 |
| dc.relation.publisherversion | https://link.springer.com/article/10.1007/s11227-021-04214-4 |
| dc.rights.access | Open Access |
| dc.subject | Àrees temàtiques de la UPC::Informàtica::Enginyeria del software |
| dc.subject.lcsh | OpenMP (Application program interface) |
| dc.subject.lcsh | Molecular dynamics. |
| dc.subject.lemac | Simulació per ordinador |
| dc.subject.other | Load Balance |
| dc.subject.other | Parallel computing |
| dc.subject.other | Molecular dynamics |
| dc.subject.other | MPI |
| dc.subject.other | OpenMP |
| dc.subject.other | Hybrid programming model |
| dc.title | Hybrid parallelization of molecular dynamics simulations to reduce load imbalance |
| dc.type | Article |
| dspace.entity.type | Publication |
| local.citation.publicationName | Journal of Supercomputing |
Fitxers
Paquet original
1 - 1 de 1
Carregant...
- Nom:
- LB_lammps_postprint.pdf
- Mida:
- 2.74 MB
- Format:
- Adobe Portable Document Format
- Descripció:



