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

التفاصيل البيبلوغرافية
العنوان: Code modernization strategies for short-range non-bonded molecular dynamics simulations
المؤلفون: James Vance, Zhen-Hao Xu, Nikita Tretyakov, Torsten Stuehn, Markus Rampp, Sebastian Eibl, Christoph Junghans, André Brinkmann
المصدر: Computer Physics Communications
بيانات النشر: Elsevier BV, 2023.
سنة النشر: 2023
مصطلحات موضوعية: FOS: Computer and information sciences, Computer Science - Distributed, Parallel, and Cluster Computing, Hardware and Architecture, FOS: Physical sciences, General Physics and Astronomy, Distributed, Parallel, and Cluster Computing (cs.DC), Computational Physics (physics.comp-ph), Physics - Computational Physics
الوصف: 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.
Comment: 42 pages, 9 figures, SI
وصف الملف: application/pdf
تدمد: 0010-4655
URL الوصول: https://explore.openaire.eu/search/publication?articleId=doi_dedup___::5b29fe6014463823026c9cbaef359a2f
https://doi.org/10.1016/j.cpc.2023.108760
حقوق: OPEN
رقم الأكسشن: edsair.doi.dedup.....5b29fe6014463823026c9cbaef359a2f
قاعدة البيانات: OpenAIRE