Related Experiment Video
Updated: Sep 19, 2026

Rapid in-silico Battery Electrolyte Electrochemical Reaction Generation using 3T-VASP Multi-Scale Energy Minimization
Published on: August 22, 2025
Optimized M-SHAKE Constraint Implementations for GPU-Accelerated Molecular Dynamics: Balancing Precision and
Jaewoon Jung1,2, Diego Ugarte La Torre1, Chigusa Kobayashi1
1Computational Biophysics Team, RIKEN Center for Computational Science, Kobe, Japan.
Abstract:
In molecular dynamics (MD) simulations, enforcing holonomic constraints on specific interatomic distances is crucial to extend the integration time step while maintaining numerical stability. While double-precision arithmetic has traditionally been used to ensure numerical accuracy, there is a growing demand for single- and mixed-precision calculations as GPU-accelerated MD simulations become increasingly widespread. In this study, we present improvements to the constraint solvers through an analytical treatment for bonds involving a single hydrogen atom ( groups). For more complex groups with multiple hydrogens ( and ), we introduce two precision-level implementation strategies: (1) a mixed-precision approach, where variables are generally described in single-precision while temporary coordinate updates are handled in double-precision and (2) a pairwise arithmetic approach, where temporary coordinate variables are represented as pairs of single-precision values to reduce rounding errors. These implementation strategies reduce velocity-update errors compared with schemes using single precision for all variables. Energy drift analysis in microcanonical simulations confirms that these strategies maintain accuracy comparable to full double-precision implementations. Performance benchmarks on GPUs with limited FP64 throughput (RTX 3080 and A6000 Ada) show that our proposed implementation strategies substantially reduce runtime compared with full double-precision calculations. Conversely, on architectures with balanced FP32 and FP64 performance, such as CPUs or H100 GPUs, full double-precision arithmetic remains the preferred choice for the constraint kernels evaluated in this study. Overall, these findings demonstrate that the proposed strategies provide an effective balance between numerical accuracy and computational performance on GPUs with limited FP64 throughput.
Related Concept Videos
Equilibrium Conditions for a Particle
To understand the concept of equilibrium, let us first consider the forces acting on an object. When different forces act on an object, they can...
Rigid Body Equilibrium Problems - II
Consider two children sitting on a seesaw, which has negligible mass. The first child has a mass (m1) of 26 kg and sits at point A, which is 1.6 meters (r1) from the pivot point B; the second child has a mass (m2) of 32 kg and sits at point C. How far from the pivot point B should the second child sit (r2) to balance the seesaw?
Rigid Body Equilibrium Problems - I
Equilibrium and Balance
Multimachine Stability
In analyzing the system, the nodal equations represent the relationship between bus voltages, machine voltages, and machine currents. The nodal equation is given by:
Stability of Equilibrium Configuration
A stable equilibrium occurs when a system tends to return to its original position when given a small displacement, and the potential energy is at its minimum. An example of a stable equilibrium is when a cantilever beam is fixed at one end and a weight is attached to the other end. If the weight...
