Implementing molecular dynamics on hybrid high performance computers - Short range forces

W. Michael Brown, Peng Wang, Steven J. Plimpton, Arnold N. Tharrington

Research output: Contribution to journalArticlepeer-review

564 Scopus citations

Abstract

The use of accelerators such as graphics processing units (GPUs) has become popular in scientific computing applications due to their low cost, impressive floating-point capabilities, high memory bandwidth, and low electrical power requirements. Hybrid high-performance computers, machines with more than one type of floating-point processor, are now becoming more prevalent due to these advantages. In this work, we discuss several important issues in porting a large molecular dynamics code for use on parallel hybrid machines - (1) choosing a hybrid parallel decomposition that works on central processing units (CPUs) with distributed memory and accelerator cores with shared memory, (2) minimizing the amount of code that must be ported for efficient acceleration, (3) utilizing the available processing power from both multi-core CPUs and accelerators, and (4) choosing a programming model for acceleration. We present our solution to each of these issues for short-range force calculation in the molecular dynamics package LAMMPS, however, the methods can be applied in many molecular dynamics codes. Specifically, we describe algorithms for efficient short range force calculation on hybrid high-performance machines. We describe an approach for dynamic load balancing of work between CPU and accelerator cores. We describe the Geryon library that allows a single code to compile with both CUDA and OpenCL for use on a variety of accelerators. Finally, we present results on a parallel test cluster containing 32 Fermi GPUs and 180 CPU cores.

Original languageEnglish
Pages (from-to)898-911
Number of pages14
JournalComputer Physics Communications
Volume182
Issue number4
DOIs
StatePublished - Apr 2011

Funding

This research was conducted in part under the auspices of the Office of Advanced Scientific Computing Research, Office of Science, U.S. Department of Energy under Contract No. DE-AC05-00OR22725 with UT-Battelle, LLC. This research used resources of the Leadership Computing Facility at Oak Ridge National Laboratory, which is supported by the Office of Science of the U.S. Department of Energy under Contract No. DE-AC05-00OR22725 with UT-Battelle, LLC. Accordingly, the U.S. Government retains a non-exclusive, royalty-free license to publish or reproduce the published form of this contribution, or allow others to do so, for U.S. Government purposes. Sandia is a multipurpose laboratory operated by Sandia Corporation, a Lockheed-Martin Co., for the U.S. Department of Energy under Contract No. DE-AC04-94AL85000 . Support for this work was provided by the CSRF program at Sandia National Laboratories .

FundersFunder number
Lockheed-Martin Co.
U.S. Department of Energy
Office of Science
Advanced Scientific Computing Research
Sandia National Laboratories
Collaborative Spine Research Foundation

    Keywords

    • GPU
    • Hybrid parallel computing
    • Molecular dynamics

    Fingerprint

    Dive into the research topics of 'Implementing molecular dynamics on hybrid high performance computers - Short range forces'. Together they form a unique fingerprint.

    Cite this