We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DC

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Distributed, Parallel, and Cluster Computing

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

Abstract: 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++ molecular dynamics simulation package by restructuring 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 spatially 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 mechanisms of HPX can overcome the overhead of communication resulting in an overall 1.4 times speedup compared to the baseline MPI version.
Comments: 42 pages, 9 figures, SI
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC); Computational Physics (physics.comp-ph)
Journal reference: Comp. Phys. Comm. 290, 108760 (2023)
DOI: 10.1016/j.cpc.2023.108760
Cite as: arXiv:2109.10876 [cs.DC]
  (or arXiv:2109.10876v3 [cs.DC] for this version)

Submission history

From: Zhen-Hao Xu [view email]
[v1] Wed, 22 Sep 2021 17:45:25 GMT (250kb,D)
[v2] Wed, 23 Mar 2022 10:59:53 GMT (327kb,D)
[v3] Thu, 15 Jun 2023 16:29:37 GMT (465kb,D)

Link back to: arXiv, form interface, contact.