The Tersoff many-body potential: Sustainable performance through vectorization

10/02/2017
by   Markus Höhnerbach, et al.
0

Molecular dynamics models materials by simulating each individual particle's trajectory. Many-body potentials lead to a more accurate trajectory simulation, and are used in materials science and computational chemistry. We present optimization results for one multi-body potential on a range of vector instruction sets, targeting both CPUs and accelerators like the Intel Xeon Phi. Parallelization of MD simulations is well-studied; by contrast, vectorization is relatively unexplored. Given the prevalence and power of modern vector units, exploiting them is imperative for high performance software. When running on a highly parallel machine, any improvement to the scalar performance is paid back in hundreds or thousands of saved core hours. Vectorization is already commonly used in the optimization or pair potentials; multi-body potentials pose new, unique challenges. Indeed, their optimization pushes the boundaries of current compilers, forcing us to use explicit vectorization techniques for now. In this study, we add an optimized implementation of Tersoff potential to the LAMMPS molecular dynamics simulation package. To reduce the burden of explicit vectorization, we abstract from the specific vector instruction set and desired precision: From one algorithm, we get optimized implementations for many platforms, from SSE4.2 to AVX512, and the Intel Xeon Phi. We compare the kernels across different architectures, and determine suitable architecture-dependent parameters. Our optimizations benefit any architecture, but have a disproportionate effect on the Intel Xeon Phi, which beats the CPU (2xE5-2650) after optimization.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/11/2016

The Vectorization of the Tersoff Multi-Body Potential: An Exercise in Performance Portability

Molecular dynamics simulations, an indispensable research tool in comput...
research
06/04/2019

Raising the Performance of the Tinker-HP Molecular Modeling Package [Article v1.0]

This living paper reviews the present High Performance Computing (HPC) c...
research
06/04/2019

Raising the Performance of the Tinker-HP Molecular Modeling Package on Intel's HPC Architectures: a Living Review [Article v1.0]

This living paper reviews the present High Performance Computing (HPC) c...
research
06/13/2018

SIMD Vectorization for the Lennard-Jones Potential with AVX2 and AVX-512 instructions

This work describes the SIMD vectorization of the force calculation of t...
research
02/14/2017

LAMMPS' PPPM Long-Range Solver for the Second Generation Xeon Phi

Molecular Dynamics is an important tool for computational biologists, ch...
research
02/26/2021

A Variable Vector Length SIMD Architecture for HW/SW Co-designed Processors

Hardware/Software (HW/SW) co-designed processors provide a promising sol...

Please sign up or login with your details

Forgot password? Click here to reset