skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Optimizing legacy molecular dynamics software with directive-based offload

Journal Article · · Computer Physics Communications
 [1]; ORCiD logo [2];  [3];  [3];  [4]
  1. Intel Corporation, Portland, OR (United States)
  2. Oak Ridge National Lab. (ORNL), Oak Ridge, TN (United States)
  3. Shell India Markets Private Limited, Bangalore (India)
  4. Sandia National Lab. (SNL-NM), Albuquerque, NM (United States)

The directive-based programming models are one solution for exploiting many-core coprocessors to increase simulation rates in molecular dynamics. They offer the potential to reduce code complexity with offload models that can selectively target computations to run on the CPU, the coprocessor, or both. In our paper, we describe modifications to the LAMMPS molecular dynamics code to enable concurrent calculations on a CPU and coprocessor. We also demonstrate that standard molecular dynamics algorithms can run efficiently on both the CPU and an x86-based coprocessor using the same subroutines. As a consequence, we demonstrate that code optimizations for the coprocessor also result in speedups on the CPU; in extreme cases up to 4.7X. We provide results for LAMMAS benchmarks and for production molecular dynamics simulations using the Stampede hybrid supercomputer with both Intel (R) Xeon Phi (TM) coprocessors and NVIDIA GPUs: The optimizations presented have increased simulation rates by over 2X for organic molecules and over 7X for liquid crystals on Stampede. The optimizations are available as part of the "Intel package" supplied with LAMMPS. (C) 2015 Elsevier B.V. All rights reserved.

Research Organization:
Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States). Oak Ridge Leadership Computing Facility (OLCF)
Sponsoring Organization:
USDOE Office of Science (SC)
Grant/Contract Number:
AC05-00OR22725; AC04-94AL85000
OSTI ID:
1261448
Alternate ID(s):
OSTI ID: 1246679
Journal Information:
Computer Physics Communications, Vol. 195, Issue C; ISSN 0010-4655
Publisher:
ElsevierCopyright Statement
Country of Publication:
United States
Language:
English
Citation Metrics:
Cited by: 26 works
Citation information provided by
Web of Science

References (17)

Implementing molecular dynamics on hybrid high performance computers – short range forces journal April 2011
Implementing molecular dynamics on hybrid high performance computers – Particle–particle particle-mesh journal March 2012
An Evaluation of Molecular Dynamics Performance on the Hybrid Cray XK6 Supercomputer journal January 2012
Implementing molecular dynamics on hybrid high performance computers—Three-body potentials journal December 2013
Fast Parallel Algorithms for Short-Range Molecular Dynamics journal March 1995
A flexible algorithm for calculating pair interactions on SIMD architectures journal December 2013
A generalized Gay-Berne intermolecular potential for biaxial particles journal April 1995
All-Atom Empirical Potential for Molecular Modeling and Dynamics Studies of Proteins journal April 1998
Quiet high-resolution computer models of a plasma journal February 1974
Numerical integration of the cartesian equations of motion of a system with constraints: molecular dynamics of n-alkanes journal March 1977
Molecular Dynamics Simulation of Dark-adapted Rhodopsin in an Explicit Membrane Bilayer: Coupling between Local Retinal and Larger Scale Conformational Change journal October 2003
On the morphology of polymer-based photovoltaics journal March 2012
Development and testing of a general amber force field journal January 2004
Modelling of P3HT:PCBM interface using coarse-grained forcefield derived from accurate atomistic forcefield journal January 2014
Liquid crystal nanodroplets in solution journal January 2009
Rupture mechanism of liquid crystal thin films realized by large-scale molecular simulations journal January 2014
Computational aspects of many-body potentials journal May 2012

Cited By (6)

Design considerations for GPU-aware collective communications in MPI: Design considerations for GPU-Aware collective communications in MPI journal May 2018
Accelerating AIREBO: Navigating the Journey from Legacy to High‐Performance Code journal February 2019
Scaling molecular dynamics beyond 100,000 processor cores for large‐scale biophysical simulations journal April 2019
An Efficient Optimization of Hll Method for the Second Generation of Intel Xeon Phi Processor journal May 2018
Numerical Modeling of Hydrodynamic Turbulence with Self-gravity on Intel Xeon Phi KNL
  • Kulikov, Igor; Chernykh, Igor; Berendeev, Evgeny
  • Parallel Computational Technologies: 13th International Conference, PCT 2019, Kaliningrad, Russia, April 2–4, 2019, Revised Selected Papers, p. 309-322 https://doi.org/10.1007/978-3-030-28163-2_22
book August 2019
Using Compiler Directives for Performance Portability in Scientific Computing: Kernels from Molecular Simulation book January 2019