Long range forces in a performance portable Molecular Dynamics framework

William Saunders, James Grant, Eike Müller

Research output: Chapter or section in a book/report/conference proceedingBook chapter

4 Citations (SciVal)

Abstract

Molecular Dynamics (MD) codes predict the fundamental properties of matter by following the trajectories of a collection of interacting model particles. To exploit diverse modern manycore hardware, efficient codes must use all available parallelism. At the same time they need to be portable and easily extendible by the domain specialist (physicist/chemist) without detailed knowledge of this hardware. To address this challenge, we recently described a new Domain Specific Language (DSL) for the development of performance portable MD codes based on a "Separation of Concerns": a Python framework automatically generates efficient parallel code for a range of target architectures. Electrostatic interactions between charged particles are important in many physical systems and often dominate the runtime. Here we discuss the inclusion of long-range interaction algorithms in our code generation framework. These algorithms require global communications and careful consideration has to be given to any impact on parallel scalability. We implemented an Ewald summation algorithm for electrostatic forces, present scaling comparisons for different system sizes and compare to the performance of existing codes. We also report on further performance optimisations delivered with OpenMP shared memory parallelism.
Original languageEnglish
Title of host publicationParallel Computing is Everywhere
Subtitle of host publicationProceedings of the ParCo2017 Parallel Computing Conference
EditorsSanzio Bassini, Marco Danelutto, Patrizio Dazzi, Gerhard R. Joubert, Frans Peters
PublisherIOS Press
Pages37 - 46
Number of pages9
Volume32
ISBN (Electronic)978-1-61499-843-3
ISBN (Print)978-1-61499-842-6
DOIs
Publication statusPublished - Mar 2018
EventParCo 2017 Parallel Computing Conference - Bologna, Italy
Duration: 12 Sept 201715 Sept 2017

Publication series

NameAdvances in Parallel Computing
PublisherIOS Press
Volume32

Conference

ConferenceParCo 2017 Parallel Computing Conference
Country/TerritoryItaly
CityBologna
Period12/09/1715/09/17

Keywords

  • Domain Specific Language
  • Electrostatic
  • Ewald Summation
  • Molecular Dynamics
  • Parallel Computing

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'Long range forces in a performance portable Molecular Dynamics framework'. Together they form a unique fingerprint.

Cite this