Skip to main content
QUICK REVIEW

[Paper Review] Accelerating glassy dynamics using graphics processing units

Peter H. Colberg, Felix Höfling|arXiv (Cornell University)|Dec 20, 2009
Theoretical and Computational PhysicsPhysics and Astronomy1 references2 citations
TL;DR

This paper presents a GPU-accelerated molecular dynamics (MD) implementation using CUDA to simulate systems of up to 1 million particles, achieving speedups of up to 80× over serial CPU code. It addresses numerical instability from single-precision floating-point arithmetic by employing double-single precision emulation, ensuring strict energy conservation over 10⁸ MD steps and preventing physically incorrect results in supercooled Lennard-Jones mixtures.

ABSTRACT

Modern graphics processing units (GPUs) provide impressive computing resources, which can be accessed conveniently through the CUDA programming interface. We describe how GPUs can be used to considerably speed up molecular dynamics (MD) simulations for system sizes ranging up to about 1 million particles. Particular emphasis is put on the numerical long-time stability in terms of energy and momentum conservation, and caveats on limited floating-point precision are issued. Strict energy conservation over 10^8 MD steps is obtained by double-single emulation of the floating-point arithmetic in accuracy-critical parts of the algorithm. For the slow dynamics of a supercooled binary Lennard-Jones mixture, we demonstrate that the use of single-floating point precision may result in quantitatively and even physically wrong results. For simulations of a Lennard-Jones fluid, the described implementation shows speedup factors of up to 80 compared to a serial implementation for the CPU, and a single GPU was found to compare with a parallelised MD simulation using 64 distributed cores.

Motivation & Objective

  • To accelerate molecular dynamics simulations of glassy systems using modern GPUs.
  • To ensure long-term numerical stability in energy and momentum conservation despite limited GPU floating-point precision.
  • To demonstrate that single-precision arithmetic can produce physically incorrect results in slow dynamics of supercooled liquids.
  • To achieve performance comparable to 64-core distributed CPU clusters using a single GPU.

Proposed method

  • Leveraging the CUDA programming interface to port MD simulations to GPU architectures.
  • Implementing double-single precision arithmetic in accuracy-critical sections to emulate higher-precision floating-point operations.
  • Using a binary Lennard-Jones mixture as a test system to evaluate long-time stability and physical accuracy.
  • Benchmarking performance against serial CPU code and a 64-core parallelized CPU implementation.
  • Applying standard MD integration schemes with force calculations optimized for GPU memory hierarchy and parallelism.

Experimental results

Research questions

  • RQ1Can GPU acceleration achieve significant speedups in molecular dynamics simulations of glass-forming systems?
  • RQ2Does single-precision floating-point arithmetic introduce physically incorrect behavior in long-time MD simulations of supercooled liquids?
  • RQ3Can double-single precision emulation ensure energy conservation over 10⁸ MD steps on GPU?
  • RQ4How does GPU performance compare to highly parallelized CPU clusters in MD simulations?

Key findings

  • The GPU implementation achieved speedup factors of up to 80× compared to a serial CPU implementation.
  • A single GPU delivered performance comparable to a 64-core distributed CPU parallelization.
  • Double-single precision emulation enabled strict energy conservation over 10⁸ MD steps, ensuring numerical stability.
  • Single-precision arithmetic led to quantitatively and physically incorrect results in simulations of a supercooled binary Lennard-Jones mixture.
  • The method maintained momentum conservation and was stable over long simulation timescales.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.