DOE OSTI · 1261448
Optimizing legacy molecular dynamics software with directive-based offload
Abstract
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Michael Brown, W., Carrillo, Jan-Michael Y., Gavhane, Nitin, Thakkar, Foram M., Plimpton, Steven J.. 2015-05-14. Optimizing legacy molecular dynamics software with directive-based offload. https://doi.org/10.1016/j.cpc.2015.05.004
Cite the original work for its findings. Save a collection to share your selection of sources.