betaFeedback

WorksPhysics and Astronomy

Wisevolve Potential Engine: Machine-Learning Molecular Dynamics at 100 Million Atom-Steps per Second on a Single GPU

Abstract

General-purpose molecular dynamics software supports diverse interatomic potentials and simulation requirements. Within a simulation stage, the loaded potential model and the required calculations typically remain fixed as the atomic configuration evolves. We present the Wisevolve Potential Engine (WPE), which uses this information from GPUMD to select and reuse a GPU execution policy tailored to the model and simulation stage. GPUMD retains simulation control and ownership of the simulation data. On a single NVIDIA RTX 5090, WPE-enabled GPUMD (GPUMD-WPE) achieves a median throughput of 109 million atom-step/s across 106 neuroevolution potential (NEP) workloads. For a 15.1-million-atom diamond Si system, it sustains 142 million atom-step/s. Relative to GPUMD, geometric-mean speedups are 3.49x across these NEP workloads, 3.61x across 16 workloads using NEP with dynamic charges (qNEP), 1.24x across 28 classical-potential workloads, and 10.5x across 56 path-integral molecular dynamics (PIMD) configurations. End-to-end calculations of water structure, lattice thermal conductivity, and PIMD thermal expansion show close agreement with corresponding GPUMD results and published simulation results. A separate 12.5-million-atom Cu shock-compression simulation demonstrates its applicability to large-scale nonequilibrium dynamics. These results support model- and stage-specific specialization as a practical way to accelerate GPU potential evaluation in general-purpose molecular dynamics workflows.

Introduction

Molecular dynamics (MD) probes structural, thermodynamic, mechanical, and transport properties of materials by simulating atomic motion. Repeated interatomic force evaluations often account for a substantial fraction of the computational cost. Much of this work can run concurrently over atoms and their local environments, making MD well suited to graphics processing unit (GPU) acceleration. Graphics Processing Units Molecular Dynamics (GPUMD) is a general-purpose GPU-based MD package for large-scale atomistic simulations [1, 2]. Its applications span thermal transport, mechanical response, radiation damage, phase transitions, shock compression, and ion transport across a wide range of materials [2].

GPUMD supports these applications with diverse interatomic potentials and simulation methods. Its empirical potentials, including Lennard-Jones (LJ), embedded-atom method (EAM), and Tersoff, describe atomic interactions through prescribed analytical forms [2, 3, 4, 5]. For more flexible interaction models, GPUMD provides the native neuroevolution potential (NEP) framework, combining local structural descriptors with a compact neural network for efficient GPU evaluation [1, 6]. Within this framework, general-purpose models such as UNEP-v1 [7] and NEP89 [8] broaden the chemical coverage. To treat charge redistribution and long-range electrostatics explicitly, the neuroevolution potential with dynamic charges (qNEP) extension introduces environment-dependent charges and an electrostatic contribution to the interaction energy [9]. GPUMD also supports path-integral molecular dynamics (PIMD) for nuclear quantum effects [2, 10].

These models and simulation methods require GPUMD to support potential-evaluation workloads that differ in potential family, model shape, and simulation requirements. Within a simulation stage, however, the loaded model and required computations typically remain fixed while the atomic configuration evolves. This stability allows a specialized execution policy to be selected and reused across GPU potential evaluations.

We present the Wisevolve Potential Engine (WPE), which specializes GPU potential evaluation within GPUMD using the loaded model and the simulation-stage requirements. We benchmark GPUMD-WPE across multiple potential families and simulation methods and validate its simulation results through representative end-to-end calculations. To the best of our knowledge, this is the first reported demonstration of MD with machine-learned interatomic potentials at over 100 million atom-step/s on a single GPU. On an NVIDIA RTX 5090, GPUMD-WPE sustains 142 million atom-step/s for a 15.1-million-atom diamond Si system. A 12.5-million-atom Cu shock-compression simulation also demonstrates the use of GPUMD-WPE in large-scale nonequilibrium dynamics.

Background and Wisevolve Potential Engine Framework

Interatomic Potentials and Path-Integral Molecular Dynamics

For a total potential energy UU, the conservative force on atom ii is

Fi=−∇iU({r}),(1)\mathbf{F}_i=-\nabla_i U(\{\mathbf{r}\}), \tag*{(1)}

where {r}\{\mathbf{r}\} denotes the atomic configuration. Despite this common force-energy relation, different representations of UU require distinct operations and dependencies when evaluating energies, forces, and virials.

Classical empirical potentials describe atomic interactions through prescribed functional forms with parameters fitted to reference data. Writing the total energy as U=∑iUiU = \sum_i U_i, a simple example is the LJ potential [3], whose site energy depends only on pairwise separations,

UiLJ=12∑j≠i4ϵIJ[(σIJrij)12−(σIJrij)6](2)U_i^{\mathrm{LJ}} = \frac{1}{2}\sum_{j \ne i} 4\epsilon_{IJ}\left[\left(\frac{\sigma_{IJ}}{r_{ij}}\right)^{12} - \left(\frac{\sigma_{IJ}}{r_{ij}}\right)^6\right] \tag*{(2)}

where rijr_{ij} is the distance between atoms ii and jj, II and JJ denote their species, and ϵIJ\epsilon_{IJ} and σIJ\sigma_{IJ} set the energy and length scales of the interaction. Each pair contribution can therefore be evaluated directly from the interatomic distance. Incorporating the local environment introduces additional computational dependencies. In the EAM [4], developed for metallic systems, the site energy combines a pair contribution with an embedding energy that depends on the local electron density,

UiEAM=12∑j≠iϕIJ(rij)+FI(ρi),ρi=∑j≠ifJ(rij),(3)U_i^{\mathrm{EAM}} = \frac{1}{2}\sum_{j \ne i}\phi_{IJ}(r_{ij}) + F_I(\rho_i), \qquad\rho_i = \sum_{j \ne i} f_J(r_{ij}), \tag*{(3)}

where ϕIJ\phi_{IJ} is the pair potential, FIF_I is the embedding-energy function, and fJf_J gives the density contribution from a neighboring atom of species JJ. The density must be accumulated before the embedding energy and its derivative can be evaluated, so force evaluation depends on density accumulation. Within this general framework, EAM variants differ in the functional forms of the pair interaction, density contribution, and embedding energy. Examples include the Zhou-2004 EAM formulation [11] and the Dai-2006 extended Finnis-Sinclair formulation [12]. For covalent systems, bond-order potentials account for the surrounding bonding geometry. In the Tersoff-1989 potential used here [5], the site energy is

UiT89=12∑j≠ifC(rij)[fR(rij)−bijfA(rij)](4)U_i^{\mathrm{T89}} = \frac{1}{2}\sum_{j \ne i} f_C(r_{ij})\left[f_R(r_{ij}) - b_{ij}f_A(r_{ij})\right] \tag*{(4)}

where fCf_C is a cutoff function, fRf_R and fAf_A are repulsive and attractive radial terms, and bijb_{ij} modulates the attractive interaction according to the local environment,

bij=χIJ(1+βInIζijnI)−1/(2nI),ζij=∑k≠i,jfC(rik)gijk.(5)b_{ij} = \chi_{IJ}\left(1 + \beta_I^{n_I}\zeta_{ij}^{n_I}\right)^{-1/(2n_I)}, \qquad\zeta_{ij} = \sum_{k \ne i,j} f_C(r_{ik})g_{ijk}. \tag*{(5)}

Here, gijkg_{ijk} describes the dependence on the bond angle θijk\theta_{ijk}, while χIJ\chi_{IJ}, βI\beta_I, and nIn_I are model parameters. Evaluating each bond therefore requires an additional sum over surrounding atoms. These examples illustrate how pairwise interactions, density-dependent embedding, and bond-order modulation lead to distinct neighborhood calculations and data dependencies.

Unlike empirical potentials with prescribed analytical forms, machine-learned interatomic potentials use flexible function approximators, particularly neural networks, to capture complex nonlinear relationships between atomic environments and energies. Within GPUMD, the NEP framework [1, 6] implements this approach by encoding the local environment of each atom in a descriptor vector and mapping it to a site energy using a compact neural network. The total energy is

U=∑iUi,Ui=Nθ(qi),(6)U = \sum_i U_i,\qquad U_i = \mathcal{N}_{\theta}(\mathbf{q}_i), \tag*{(6)}

where qi\mathbf{q}_i is the descriptor vector of atom ii and θ\theta denotes the neural-network parameters. The descriptor combines radial components that encode neighbor distances with angular components that capture correlations among neighboring bonds. Representative radial and three-body angular components are

qni=∑j≠ignR(rij),(7)q_n^i = \sum_{j\ne i} g_n^{\mathrm{R}}(r_{ij}), \tag*{(7)}
qnli=2l+14π∑j≠i∑k≠ignA(rij)gnA(rik)Pl(cos⁡θijk),(8)q_{nl}^i = \frac{2l+1}{4\pi}\sum_{j\ne i}\sum_{k\ne i}g_n^{\mathrm{A}}(r_{ij})g_n^{\mathrm{A}}(r_{ik})P_l(\cos\theta_{ijk}), \tag*{(8)}

where gnRg_n^{\mathrm{R}} and gnAg_n^{\mathrm{A}} are radial functions constructed from basis expansions with learned coefficients and separately specified cutoff distances; their species dependence is left implicit. Here, PlP_l is the Legendre polynomial of order ll, and θijk\theta_{ijk} is the angle between bonds ijij and ikik. Four-body and five-body angular components can also be included to capture higher-order correlations in the local environment [1]. The species count, radial and angular basis sizes, descriptor orders, included body-order components, cutoff distances, and neural-network width govern the dimensions of descriptor and network evaluation, the range of local neighborhoods, and intermediate-storage requirements. These properties define the model shape.

Standard NEP describes atomic interactions through local environments within finite cutoffs. The qNEP framework [9] adds explicit long-range electrostatics through an environment-dependent partial charge as a second neural-network output,

(Ui,Qi)=Nθ(qi),(9)(U_i,Q_i)=\mathcal{N}_{\theta}(\mathbf{q}_i), \tag*{(9)}

where UiU_i and QiQ_i denote the short-range site energy and predicted partial charge, respectively. A total-charge correction enforces charge conservation before electrostatic evaluation. The total energy combines the local NEP and electrostatic contributions,

Utot=UNEP+UES,UNEP=∑iUi.(10)U^{\mathrm{tot}}=U^{\mathrm{NEP}}+U^{\mathrm{ES}},\qquad U^{\mathrm{NEP}}=\sum_i U_i. \tag*{(10)}

Under periodic boundary conditions, qNEP provides two formulations of UESU^{\mathrm{ES}} that differ in their explicit treatment of short-range electrostatics:

UES={Ur+Uk+Us,Mode 1,Uk,Mode 2,(11)U^{\mathrm{ES}} = \begin{cases} U^{\mathrm{r}} + U^{\mathrm{k}} + U^{\mathrm{s}}, & \text{Mode 1}, \\ U^{\mathrm{k}}, & \text{Mode 2}, \end{cases} \tag*{(11)}

where UrU^{\mathrm{r}} and UkU^{\mathrm{k}} are the real- and reciprocal-space contributions, respectively, and UsU^{\mathrm{s}} is the self-energy correction. Mode 2 leaves short-range interactions to the local NEP term and includes only the reciprocal-space contribution explicitly. In both modes, UkU^{\mathrm{k}} can be evaluated using direct Ewald summation or the particle-particle-particle-mesh (PPPM) method. The charges also provide access to polarization and Born effective charge (BEC) tensors [9]. Thus, the electrostatic formulation, reciprocal-space solver, and requested charge-related quantities also affect potential evaluation requirements.

While the potentials above specify interatomic interactions, accounting for nuclear quantum effects additionally requires a quantum statistical treatment of the nuclei. In PIMD, each nucleus is represented as a ring polymer of PP beads connected by harmonic springs [10]. For a system of NN nuclei, each bead index defines a configuration containing one bead from each nucleus, and the same interatomic potential UU is applied to every such configuration. The physical-potential contribution to the ring-polymer Hamiltonian is therefore

UP=∑s=1PU(rs(1),…,rs(N)),(12)U_{\mathrm{P}} = \sum_{s=1}^{P} U\left(\mathbf{r}_{s}^{(1)}, \ldots, \mathbf{r}_{s}^{(N)}\right), \tag*{(12)}

where rs(i)\mathbf{r}_{s}^{(i)} denotes the position of bead ss of nucleus ii. Each force step thus requires PP evaluations of the same potential, one for each bead configuration. These evaluations share the model parameters but retain separate coordinates, forces, energies, and virials for each bead. The bead count consequently determines the extent of repeated work in potential evaluation.

The potentials and simulation methods discussed above may also be used for systems containing only a few atoms in small periodic cells. When the cell is small relative to the interaction cutoff, an atom’s neighborhood may contain multiple periodic images of the same atom. In sufficiently small cells, the central atom’s own images can also lie within the cutoff. All such image contributions must be included in potential evaluation. At the same time, small systems typically require much less work per evaluation than large-scale simulations and offer limited atom-level parallelism. Execution schemes designed for large systems may therefore underutilize the GPU.

These requirements can occur in combination. For example, qNEP in PIMD requires both local and electrostatic evaluation for each bead configuration, while small periodic cells require periodic-image handling in either conventional MD or PIMD.

WPE Framework

WPE performs potential evaluation, while GPUMD handles input processing, time integration, ensemble control, and observable scheduling, and retains ownership of the simulation data. GPUMD supplies the model and stage requirements that WPE uses to select an execution policy. Figure 1 compares native GPUMD’s dispatch by potential family and box type with WPE’s selection and reuse of execution policies through persistent contexts, including batched evaluation of compatible PIMD bead configurations.

Figure 1. Native GPUMD and WPE potential-evaluation workflows. Colored routes trace workloads A–G. (a) Native GPUMD dispatches by potential family and box type; different model shapes can share an evaluation path, and PIMD beads are evaluated separately. (b) WPE selects and reuses execution policies through persistent contexts containing potential family, model shape, stage requirements, and execution structure. Compatible PIMD bead configurations can be evaluated in batches. GPUMD retains simulation control and data ownership.

We implemented the interface between GPUMD and WPE through a versioned pure-C application binary interface (ABI) with an opaque backend context. The context is associated with the loaded potential model. As GPUMD processes run.in sequentially, the integration layer collects the settings needed to describe the current stage. When GPUMD reaches an execution command such as run or minimize, this layer assembles the computational requirements for that stage and passes them to WPE through activate. The same model context can be retained when activate is called again for a subsequent stage. During an active stage, bind supplies box information and references to GPUMD-owned device arrays, while compute performs potential evaluation using the current binding and selected execution policy. An unchanged binding can be reused across repeated compute calls. The context is released through destroy when the potential is destroyed.

Native GPUMD routes potential evaluation by potential family and box type, as reflected in the kernel labels in Figure 1(a). For example, workloads B and C share the NEP large-box implementation, with their different model dimensions handled through runtime parameters. In panel (b), the numbered WPE kernels represent specialized implementations selected for the corresponding workload contexts. Each kernel box may involve multiple GPU kernel launches. WPE uses this interface to select an execution policy based on four dimensions: potential family, model shape, stage requirements, and execution structure. The potential family determines the evaluation path for NEP, qNEP, LJ, EAM, or Tersoff-1989. Model shape specifies the fixed computational dimensions of the loaded model. WPE uses these dimensions to select an execution path and organize reusable working memory, while atomic coordinates and neighbor-list state remain dynamic. Stage requirements specify the outputs and, for qNEP, the active electrostatic treatment and requested charge-related quantities. Execution structure describes how the work is organized across atoms and repeated evaluations, accounting for system size, periodic-image handling in small cells, and the bead dimension in PIMD. In eligible PIMD stages, WPE batches potential evaluations for multiple bead configurations. Model parameters are shared, while the data

for each bead remain separate.

WPE currently provides execution paths for supported NEP, qNEP, LJ, EAM, and Tersoff-1989 models, including the PIMD configurations evaluated here. Simulation and analysis functions can be used when WPE supports their potential-evaluation requirements. Other GPUMD workloads can use its native potential implementations. WPE handles kernel selection and hardware-specific tuning internally.

Performance Evaluation

Benchmark Design and Overview

In this section, we evaluate GPUMD-WPE against GPUMD v5.9 on a single NVIDIA RTX 5090 GPU with CUDA 12.8. Both implementations use mixed precision, with single precision for potential calculations and double precision for all other calculations. The qNEP benchmarks use PPPM for reciprocal-space electrostatics. The evaluation includes four paired benchmark suites covering ordinary NEP, qNEP, classical potentials, and PIMD, together with a water-NEP system-size scaling study and a cross-family throughput survey. The non-PIMD suites include both canonical ensemble (NVT) and isothermal-isobaric ensemble (NPT) workloads, whereas the PIMD suite uses NVT-PIMD. Throughput is calculated as the number of atom-steps divided by the total MD production time, including potential evaluation, time integration, and ensemble control. Both implementations use identical inputs for each paired workload, with three repeated measurements per implementation. The reported throughput is the arithmetic mean of the three measurements. All benchmarks use 20 warm-up steps before production timing and a time step of 1 fs, except for water systems, for which a time step of 0.5 fs is used. Table I summarizes the benchmark systems, atom counts, and production lengths. For PIMD, production lengths vary with system size and bead count, with measured production times exceeding 2 s.

Let SmS_m denote the speedup for paired workload mm, defined as the ratio of the mean throughput of GPUMD-WPE to that of GPUMD. The overall speedup across a benchmark suite containing MM workloads is reported as the geometric mean

G=exp⁡(1M∑m=1Mln⁡Sm)(13)G = \exp\left(\frac{1}{M}\sum_{m=1}^{M}\ln S_m\right) \tag*{(13)}

which gives equal weight to the multiplicative speedup of each workload [13]. For PIMD, throughput is normalized by the number of physical atoms without multiplying by the bead count.

SuiteWorkloadsSystems / casesAtomsSteps
Ordinary NEP10653 model-system cases331,776–1,221,240500
NEP scaling44Water81–11,490,336300–50,000
qNEP16Water; BaTiO3\mathrm{BaTiO_3}50,400; 53,2405000
LJ6Ar; Kr; Xe442,3685000
EAM189 material-potential cases432,000–442,3685000
Tersoff-19894Si; SiGe512,0005000
PIMD56Water756–41,472 physical atoms500–5000

Table 1. Benchmark systems, atom counts, and production lengths. All step counts exclude warm-up.

We complement the paired benchmarks with an absolute-throughput survey across potential families, system sizes, and execution modes, shown in Figure 2. The survey covers representative NVT simulations of Cu and Si with NEP, water with NEP and qNEP, Cu with EAM, and Si with Tersoff. The Cu, Si, and water NEP cases use the NEP89 model [8], while the water qNEP case uses the model reported by Fan et al. [9]. It also includes small-box water NEP systems containing 81–375 atoms and 32-bead water PIMD. Each throughput is based on three production runs, with lengths adjusted to system size.

Figure 2. Absolute throughput across potential families, system sizes, and execution modes on a single NVIDIA RTX 5090. Solid lines and filled symbols represent GPUMD-WPE, while dashed lines and open symbols represent GPUMD. Dashed boxes highlight small-box water NEP and 32-bead water PIMD, and the inset shows water qNEP. Horizontal lines indicate Cu EAM and Si Tersoff reference measurements; stars mark out-of-memory (OOM) runs. OOM markers are placed at the throughput of the preceding successful run for visualization only and the connecting dotted segments do not represent measured throughput.

For the large-scale NEP workloads, GPUMD-WPE achieves throughputs of 110, 142, and 75.7 million atom-step/s for Cu, Si, and water systems containing 11.5, 15.1, and 10.0 million atoms, respectively. The horizontal lines show GPUMD-WPE reference throughputs of 605 and 395 million atom-step/s for Cu EAM and Si Tersoff at approximately five million atoms, rather than scaling trends. The out-of-memory (OOM) markers denote failed runs at selected sizes, not definitive memory-capacity limits. These survey results are not included in the paired-suite geometric means.

The four paired benchmark suites comprise 206 workloads. Their geometric-mean speedups and ranges are summarized in Table II.

Workload familyWorkloadsGeometric meanSpeedup range
NEP1063.49×2.36–5.62×
qNEP163.61×2.70–4.82×
Classical281.24×1.02–2.18×
PIMD5610.5×2.75–37.7×

Table 2. Performance summary for GPUMD-WPE relative to GPUMD on a single NVIDIA RTX 5090. Geometric means and ranges are calculated over the workloads in each paired suite.

NEP Performance and Scaling

Across the 106 ordinary NEP workloads, GPUMD-WPE achieves a median throughput of 109 million atom-step/s and accelerates every workload, with individual speedups ranging from 2.36×2.36 \times to 5.62×5.62 \times, as shown in Figure 3(a). When grouped by ensemble, the geometric-mean speedups are 3.69×3.69 \times for NVT and 3.31×3.31 \times for NPT. NEP throughput reaches 195 million atom-step/s for a 404,352-atom PbTe system under NVT.

Figure 3. Ordinary NEP performance and system-size scaling on a single NVIDIA RTX 5090. (a) GPUMD-WPE speedups and throughput comparisons with GPUMD for 53 model-system cases under NVT and NPT (106 workloads). (b) Throughput scaling of GPUMD and GPUMD-WPE with system size for a fixed water NEP model under NVT and NPT. In separate memory-capacity tests, GPUMD runs out of GPU memory at 6,001,128 atoms. Accordingly, GPUMD throughput is reported for 38 of the 44 workloads shown.

The 53 model-system cases combine 27 initial structures and 21 potential files, spanning metals and alloys, oxides, ionic compounds, water, and layered materials. The potentials include the general-purpose NEP89 [8] and UNEP-v1 [7] models, as well as models from GPUMD and PIMD studies [1, 10]. Additional models and configurations are drawn from published studies of carbon [14], water [15, 16], PbTe and Si [17], oxides [18, 19], ionic frameworks [20], and graphene-hBN heterostructures [21], together with companion qNEP resources [9]. These workloads span a range of chemical compositions and NEP model shapes.

We examine system-size scaling using a fixed water NEP model under NVT and NPT, with 81 to 11,490,336 atoms, as shown in Figure 3(b). For the workloads measured with both implementations, GPUMD-WPE achieves a geometric-mean speedup of 3.55×3.55 \times. At the largest paired system size of 3,989,088 atoms, GPUMD-WPE reaches throughputs of 105.8 and 94.6 million atom-step/s for NVT and NPT, respectively, compared with 31.4 and 30.8 million atom-step/s for GPUMD. These speedups of 3.37×3.37 \times and 3.07×3.07 \times show that the gains persist at the largest paired scale evaluated. At 11,490,336 atoms, GPUMD-WPE maintains throughputs of 105.0 and 94.5 million atom-step/s under NVT and NPT, respectively.

qNEP and Classical Potentials

The qNEP benchmarks cover water and BaTiO3\mathrm{BaTiO_3} under NVT and NPT, using two charge modes with and without BEC coupling [9]. Across the 16 workloads, GPUMD-WPE achieves speedups ranging from 2.70×2.70 \times to 4.82×4.82 \times, as shown in Figure 4. The BEC-disabled and BEC-enabled subsets yield geometric-mean speedups of 3.24×3.24 \times and 4.03×4.03 \times, respectively. These results characterize the complete qNEP execution paths and do not isolate the contribution of BEC evaluation.

Figure 4. GPUMD-WPE speedups relative to GPUMD 5.9 for 16 qNEP workloads involving water and BaTiO3\mathrm{BaTiO_3}, two charge modes, with and without BEC coupling, under NVT and NPT.

We next benchmark LJ, EAM, and Tersoff-1989 potentials (Figure 5). The LJ subset comprises 442,368-atom face-centered-cubic (FCC) crystals of Ar, Kr, and Xe at 70, 95, and 130 K, respectively, using the Lennard-Jones interaction [3]. The Ar benchmark is based on the public GPUMD Ar_10A example [1]. Across the six NVT/NPT workloads, GPUMD-WPE achieves a geometric-mean speedup of 1.12×.

Figure 5. GPUMD-WPE speedups relative to GPUMD 5.9 for 28 classical-potential workloads covering LJ, EAM, and Tersoff-1989 under NVT and NPT.

The EAM subset covers FCC Cu, Ni, and Al, body-centered-cubic (BCC) Fe and W, and hexagonal close-packed (HCP) Mg and Ti using the embedded-atom method [4]. Most cases employ the Zhou parameterizations [11], including two Cu variants with cutoff distances of 5 and 6.5 Å. An additional Cu case uses the extended Finnis-Sinclair potential of Dai et al. [12]. Together, these form nine material-potential cases and 18 NVT/NPT workloads, yielding a geometric-mean speedup of 1.16×.

The Tersoff subset includes diamond Si and zincblende SiGe, each with 512,000 atoms, under NVT and NPT using the Tersoff-1989 potential [5]. Across the four workloads, GPUMD-WPE achieves a geometric-mean speedup of 1.94×. GPUMD-WPE accelerates all 28 classical-potential workloads, with larger gains for Tersoff than for LJ and EAM.

PIMD Performance

We also benchmark GPUMD-WPE for PIMD, where multiple beads require repeated potential evaluations. The benchmark comprises 56 NVT-PIMD water workloads, combining seven physical system sizes (N=756N = 756–41,472 atoms) and eight bead counts (P=4P = 4–128), using the water model and simulation workflow from the published GPUMD PIMD study [10]. GPUMD-WPE accelerates all configurations, with speedups ranging from 2.75×2.75 \times to 37.7×37.7 \times, as shown in Figure 6.

Figure 6. GPUMD-WPE speedups relative to GPUMD 5.9 for 56 water NVT-PIMD workloads spanning physical system size NN and bead count PP.

The performance gains depend strongly on physical system size. Taking the geometric mean over bead counts at each size, the speedup decreases from 28.1×28.1 \times at N=756N = 756 to 3.56×3.56 \times at N=41,472N = 41{,}472, while remaining between 2.75×2.75 \times and 4.55×4.55 \times at the largest system size. This trend is consistent with a greater relative benefit from bead batching in smaller systems, where individual bead evaluations offer limited GPU parallelism. At fixed NN, speedup does not increase monotonically with bead count PP. Because GPUMD-WPE combines specialized NEP evaluation, bead batching, and other execution optimizations, these results reflect their combined performance and do not isolate the contribution of batching.

Validation and Large-Scale Application

We compare water structural correlations, PIMD thermal expansion, and homogeneous nonequilibrium molecular dynamics (HNEMD) thermal conductivity obtained with GPUMD-WPE against GPUMD results, experimental data, and published computational results. We then present a large-scale Cu shock-compression simulation.

Structural Validation

We calculate the O-O, O-H, and H-H radial distribution functions (RDFs) of water using classical MD and PIMD with GPUMD-WPE. Both simulations use a 1,536-atom water system described by an NEP model [15], with an equilibration temperature of 300 K and a time step of 0.5 fs. For classical MD, 25 ps of NPT equilibration is followed by 50 ps of microcanonical sampling. For PIMD, 24 beads are employed, with 5 ps of pressure-controlled equilibration followed by 3 ps of constant-volume RDF sampling [10]. The GPUMD-WPE RDFs closely agree with those obtained from GPUMD, as shown in Figure 7. The RDFs are also broadly consistent with experimental measurements by Skinner et al. [22, 23] for O-O correlations and Soper [24] for O-H and H-H correlations.

O-O, O-H, and H-H radial distribution functions for classical water and PIMD

Figure 7. O-O, O-H, and H-H radial distribution functions for classical water and PIMD. GPUMD-WPE results are compared with those obtained using GPUMD and with experimental data. O-O experimental data are taken from Skinner et al. [22, 23]; the O-H/H-H experimental comparison follows Soper [24]. The intramolecular O-H peak extends beyond the displayed vertical range.

Thermophysical Validation

We use pressure-controlled PIMD to calculate the thermal expansion coefficients in Li1H\mathrm{Li}^{1}\mathrm{H} and MOF-5 and compare them with the published PIMD results [10]. The results are shown in Figure 8. At fixed pressure, the thermal expansion coefficients are

PIMD thermal-expansion validation with GPUMD-WPE

Figure 8. PIMD thermal-expansion validation with GPUMD-WPE. (a) Li1^{1}H lattice parameter versus temperature. (b) MOF-5 volume per conventional cell versus temperature; the line is obtained by fitting ln⁡V(T)\ln V(T) and transforming the fit back to volume. The Li1^{1}H estimates use 5-ps blocks. The annotations compare the calculated expansion coefficients with the corresponding published PIMD values from Ying et al. [10].

αl=(∂ln⁡a∂T)p,αV=(∂ln⁡V∂T)p,(14)\alpha_l = \left(\frac{\partial\ln a}{\partial T}\right)_p,\qquad\alpha_V = \left(\frac{\partial\ln V}{\partial T}\right)_p, \tag*{(14)}

where aa is the lattice parameter and VV is the volume.

For Li1^{1}H, we simulate an 8,000-atom system with 40 beads. A centered finite-difference estimate using the lattice parameters at 250 and 350 K gives αl=30.37×10−6 K−1\alpha_l = 30.37 \times10^{-6}\ \mathrm{K}^{-1} at 300 K, differing by only 0.24% from the published PIMD value of 30.3×10−6 K−130.3 \times10^{-6}\ \mathrm{K}^{-1} [10]. For MOF-5, we simulate a 27,136-atom system with 64 beads at zero pressure over 100–500 K. The simulation-box volume is normalized by the 64 conventional cells in the 4×4×44 \times4 \times4 supercell, and fitting ln⁡V(T)\ln V(T) yields αV=−35.80×10−6 K−1\alpha_V = -35.80 \times10^{-6}\ \mathrm{K}^{-1}, differing by 0.56% from the published PIMD value of −36.0×10−6 K−1-36.0 \times10^{-6}\ \mathrm{K}^{-1} [10].

Thermal-Transport Validation

We employ the HNEMD method [25], in which an external driving field induces a nonequilibrium heat current related to the thermal conductivity tensor through

⟨Jμ⟩neTV=∑νκμνFeν,(15)\frac{\langle J^\mu\rangle_{\mathrm{ne}}}{TV} = \sum_\nu\kappa^{\mu\nu} F^\nu_e, \tag*{(15)}

where ⟨Jμ⟩ne\langle J^\mu\rangle_{\mathrm{ne}} is the nonequilibrium average heat current, TT is the temperature, VV is the system volume, κμν\kappa^{\mu\nu} is the thermal conductivity tensor, and FeνF^\nu_e is the external driving-field component. The method involves force and virial evaluations throughout the simulation. We consider two representative systems covering different potential families: monolayer molybdenum disulfide (MoS2_2) modeled with a fine-tuned NEP89 potential and bulk FCC copper (Cu) modeled with the Zhou EAM potential.

For MoS2\mathrm{MoS}_2, an 11,484-atom system is equilibrated at 300 K for 2 ns, followed by 10 ns of HNEMD production sampling with a time step of 1 fs and a driving field of Fey=10−5 A˚−1F_{\mathrm{e}}^{y}=10^{-5}\ \mathrm{\mathring{A}}^{-1}. For the monolayer system, the volume used to normalize the heat current is defined as V=AheffV=A h_{\mathrm{eff}}, where AA is the in-plane area and heff=6.15 A˚h_{\mathrm{eff}}=6.15\ \mathrm{\mathring{A}} is the effective thickness, consistent with the reference model [26]. Three GPUMD-WPE runs yield a lattice thermal conductivity of 151.2±7.8 W m−1 K−1151.2\pm7.8\ \mathrm{W\,m^{-1}\,K^{-1}}, as shown in Figure 9(a), in agreement with the public GPUMD tutorial result of 152.1±6.7 W m−1 K−1152.1\pm6.7\ \mathrm{W\,m^{-1}\,K^{-1}} obtained from ten runs [26]. For Cu, a 32,000-atom system is equilibrated at 300 K and zero pressure for 1 ns, followed by 10 ns of HNEMD production sampling with a time step of 4 fs and a driving field of Fex=10−4 A˚−1F_{\mathrm{e}}^{x}=10^{-4}\ \mathrm{\mathring{A}}^{-1}. Both production simulations employ the NVT ensemble with a Nosé-Hoover chain thermostat. The three GPUMD-WPE runs for Cu yield a lattice thermal conductivity of 6.76±0.08 W m−1 K−16.76\pm0.08\ \mathrm{W\,m^{-1}\,K^{-1}}, as shown in Figure 9(b), consistent with the reported value of 6.9±0.2 W m−1 K−16.9\pm0.2\ \mathrm{W\,m^{-1}\,K^{-1}} from Cao et al. [27].

HNEMD lattice thermal conductivity for monolayer MoS2 and bulk Cu

Figure 9. HNEMD lattice thermal conductivity for (a) monolayer MoS2\mathrm{MoS}_2 with fine-tuned NEP89 and (b) bulk Cu with the Zhou EAM potential. Thin curves represent three independent GPUMD-WPE runs, while the red curve and shaded band show their mean and pointwise standard error, respectively. Reference values are taken from the public GPUMD tutorial for MoS2\mathrm{MoS}_2 [26] and Cao et al. for Cu [27].

Large-Scale Shock Compression in Cu

We simulate shock compression of FCC Cu using the UNEP-v1 potential [7]. The specimen contains 12,477,247 atoms after introducing a spherical void of radius 2 nm and measures approximately 142.25×36.46×29.17 nm3142.25 \times36.46 \times29.17\ \mathrm{nm}^{3}. The void is centered about 60 nm from the loaded end, with shock propagation along the [100] direction. A moving piston with a velocity of vp=0.35 km s−1v_{\mathrm{p}}=0.35\ \mathrm{km\,s^{-1}} drives the shock. Following preparation and relaxation, the system is evolved for 20 ps using a time step of 0.5 fs (40,000 steps). Longitudinal pressure profiles are sampled every 0.1 ps using 1-nm spatial bins. For local structural analysis, we save 400 snapshots at 0.05-ps intervals of an atom group initially selected around the void, as shown in Figure 10(c).

Large-scale Cu shock-compression simulation using GPUMD-WPE with the UNEP-v1 potential

Figure 10. Large-scale Cu shock-compression simulation using GPUMD-WPE with the UNEP-v1 potential. (a) Schematic of the approximately 12.5-million-atom Cu specimen, showing the [100][100] shock-propagation direction, piston velocity vp=0.35v_{\mathrm{p}} = 0.35 km/s, and spherical void of radius 2 nm. (b) Longitudinal pressure profiles at selected times, with the dashed vertical line marking the initial void-center position. (c) Local atomic configurations around the void at 12, 13, 14, and 15 ps, colored according to adaptive common-neighbor analysis: green, FCC; red, HCP-like; blue, BCC-like; and white, other or unclassified environments.

The longitudinal pressure profiles show an advancing compression front, with a compressed region reaching approximately 15 GPa behind the front, as shown in Figure 10(b). As the shock approaches the void, adaptive common-neighbor analysis [28] reveals the formation and outward extension of HCP-like atomic layers between 12 and 15 ps, as shown in Figure 10(c). The complete 40,000-step simulation achieves a throughput of 86.2 million atom-step/s on a single NVIDIA RTX 5090. Unlike streamlined benchmarks, this production simulation includes spatially resolved thermodynamic calculations and atomic trajectory output, while shock-induced compression increases the local atomic density and can increase the number of neighbors involved in potential evaluation.

Conclusion

We have presented WPE, a GPU potential-evaluation engine that specializes repeated evaluations according to the loaded model and simulation-stage requirements while preserving GPUMD’s general-purpose simulation workflow. On a single NVIDIA RTX 5090, GPUMD-WPE achieves a median throughput of 109 million atom-step/s across 106 ordinary NEP workloads and sustains 142 million atom-step/s for a 15.1-million-atom diamond Si system. The geometric-mean speedups over GPUMD v5.9 are 3.49×3.49 \times, 3.61×3.61 \times, 1.24×1.24 \times, and 10.5×10.5 \times for the ordinary NEP, qNEP, classical-potential, and PIMD benchmark suites, respectively. Representative structural, thermal-transport, and thermophysical calculations show close agreement with corresponding GPUMD, experimental, or published simulation results. A 12.5-million-atom Cu shock-compression simulation using UNEPv1 [7] further demonstrates the use of GPUMD-WPE for large-scale nonequilibrium dynamics and the analysis of defect evolution around the void. These results support a broader design principle for high-performance scientific software: general-purpose flexibility can coexist with workload-specialized execution.

Code and Data Availability

GPUMD v5.9 is available from the GPUMD repository (https://github.com/brucefan1983/GPUMD). WPE is available from the official WPE repository (https://github.com/Wisevolve/Wisevolve-Potential-Engine). The WPE repository provides the C application programming interface, GPUMD adapter, benchmark inputs, and the WPE 1.0.0 shared library. provenance: commit 068db4d649d6c71d56981aae7977b33c402c707d.

References

  1. [1]Zheyong Fan, Yanzhou Wang, Penghua Ying, Keke Song, Junjie Wang, Yong Wang, Zеzhu Zeng, Ke Xu, Eric Lindgren, J. Magnus Rahm, Alexander J. Gabourie, Jiahui Liu, Haikuan Dong, Jianyang Wu, Yue Chen, Zheng Zhong, Jian Sun, Paul Erhart, Yanjing Su, and Tapio Ala-Nissila, “GPUMD: A package for constructing accurate machine-learned potentials and performing highly efficient atomistic simulations,” The Journal of Chemical Physics 157, 114801 (2022).DOI
  2. [2]Ke Xu, Hekai Bu, Shuning Pan, Eric Lindgren, Yongchao Wu, Yong Wang, Jiahui Liu, Keke Song, Bin Xu, Yifan Li, Tobias Hainer, Lucas Svensson, Julia Wiktor, Rui Zhao, Hongfu Huang, Cheng Qian, Shuo Zhang, Zеzhu Zeng, Bohan Zhang, Benrui Tang, Yang Xiao, Zihan Yan, Jiuyang Shi, Zhixin Liang, Junjie Wang, Ting Liang, Shuo Cao, Yanzhou Wang, Penghua Ying, Nan Xu, Chengbing Chen, Yuwen Zhang, Zherui Chen, Xin Wu, Wenwu Jiang, Esme Berger, Yanlong Li, Shunda Chen, Alexander J. Gabourie, Haikuan Dong, Shiyun Xiong, Ning Wei, Yue Chen, Jianbin Xu, Feng Ding, Zhimei Sun, Tapio Ala-Nissila, Ari Harju, Jincheng Zheng, Pengfei Guan, Paul Erhart, Jian Sun, Wengen Ouyang, Yanjing Su, and Zheyong Fan, “GPUMD 4.0: A high-performance molecular dynamics package for versatile materials simulations with machine-learned potentials,” Materials Genome Engineering Advances 3, e70028 (2025).
  3. [3]J. E. Jones, “On the determination of molecular fields. II. from the equation of state of a gas,” Proceedings of the Royal Society of London. Series A 106, 463–477 (1924).DOI
  4. [4]Murray S. Daw and M. I. Baskes, “Embedded-atom method: Derivation and application to impurities, surfaces, and other defects in metals,” Physical Review B 29, 6443–6453 (1984).DOI
  5. [5]J. Tersoff, “Modeling solid-state chemistry: Interatomic potentials for multicomponent systems,” Physical Review B 39, 5566–5568 (1989).pubmed.ncbi.nlm.nih.gov/9948964
  6. [6]Zheyong Fan, Zhezhu Zeng, Cunzhi Zhang, Yanzhou Wang, Keke Song, Haikuan Dong, Yue Chen, and Tapio Ala-Nissila, “Neuroevolution machine learning potentials: Combining high accuracy and low cost in atomistic simulations and application to heat transport,” Physical Review B 104, 104309 (2021).DOI
  7. [7]Keke Song, Rui Zhao, Jiahui Liu, Yanzhou Wang, Eric Lindgren, et al., “General-purpose machine-learned potential for 16 elemental metals and their alloys,” Nature Communications 15, 10208 (2024).DOI
  8. [8]Ting Liang, Ke Xu, Eric Lindgren, Zherui Chen, Rui Zhao, Jiahui Liu, Esmée Berger, Benrui Tang, Bohan Zhang, Yanzhou Wang, Keke Song, Penghua Ying, Nan Xu, Haikuan Dong, Shunda Chen, Paul Erhart, Zheyong Fan, Tapio Ala-Nissila, and Jianbin Xu, “NEP89: universal neuroevolution potential for inorganic and organic materials across 89 elements,” Nature Computational Science 6, 789–801 (2026).DOI
  9. [9]Zheyong Fan, Benrui Tang, Esmée Berger, Ethan Berger, Erik Fransson, Ke Xu, Zihan Yan, Zhoulin Liu, Zichen Song, Haikuan Dong, Shunda Chen, Lei Li, Ziliang Wang, Yizhou Zhu, Julia Wiktor, and Paul Erhart, “qNEP: A highly efficient neuroevolution potential with dynamic charges for large-scale atomistic simulations,” Journal of Chemical Theory and Computation 22, 4787–4801 (2026).
  10. [10]Penghua Ying, Wenjiang Zhou, Lucas Svensson, Esmée Berger, Erik Fransson, Fredrik Eriksson, Ke Xu, Ting Liang, Jianbin Xu, Bai Song, Shunda Chen, Paul Erhart, and Zheyong Fan, “Highly efficient path-integral molecular dynamics simulations with GPUMD using neuroevolution potentials: Case studies on thermal properties of materials,” The Journal of Chemical Physics 162, 064109 (2025).DOI
  11. [11]X. W. Zhou, R. A. Johnson, and H. N. G. Wadley, “Misfit-energy-increasing dislocations in vapor-deposited CoFe/NiFe multilayers,” Physical Review B 69, 144113 (2004).DOI
  12. [12]X. D. Dai, Y. Kong, J. H. Li, and B. X. Liu, “Extended Finnis–Sinclair potential for bcc and fcc metals and alloys,” Journal of Physics: Condensed Matter 18, 4527–4542 (2006).DOI
  13. [13]Torsten Hoefler and Roberto Belli, “Scientific benchmarking of parallel computing systems: Twelve ways to tell the masses when reporting performance results,” in Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, SC ’15 (ACM, 2015) pp. 73:1–73:12.
  14. [14]Zheyong Fan, Yang Xiao, Yanzhou Wang, Penghua Ying, Shunda Chen, and Haikuan Dong, “Combining linear-scaling quantum transport and machine-learning molecular dynamics to study thermal and electronic transports in complex materials,” Journal of Physics: Condensed Matter 36, 245901 (2024).DOI
  15. [15]Ke Xu, Yongchao Hao, Ting Liang, Penghua Ying, Jianbin Xu, Jiany ang Wu, and Zheyong Fan, “Accurate prediction of heat conductivity of water by a neuroevolution potential,” The Journal of Chemical Physics 158, 204114 (2023).DOI
  16. [16]Ke Xu, Ting Liang, Nan Xu, Penghua Ying, Shunda Chen, Ning Wei, Jianbin Xu, and Zheyong Fan, “NEP-MB-pol: a unified machine-learned framework for fast and accurate prediction of water’s thermodynamic and transport properties,” npj Computational Materials 11, 279 (2025).
  17. [17]Xiguang Wu, Wenjiang Zhou, Haikuan Dong, Penghua Ying, Yanzhou Wang, Bai Song, Zheyong Fan, and Shiyun Xiong, “Correcting force error-induced underestimation of lattice thermal conductivity in machine learning molecular dynamics,” The Journal of Chemical Physics 161, 014103 (2024).
  18. [18]Honggang Zhang, Xiaokun Gu, Zheyong Fan, and Hua Bao, “Vibrational anharmonicity results in decreased thermal conductivity of amorphous HfO2 at high temperature,” Physical Review B 108, 045422 (2023).DOI
  19. [19]Rui Yang, Qiaoling Si, Qiang Sheng, Mingyang Yang, Mu Du, Hu Zhang, Xiao-Lei Shi, Guihua Tang, and Zhi-Gang Chen, “Atomic armor for thermal stability in nanoporous structures,” Proceedings of the National Academy of Sciences 122, e2510746122 (2025).DOI
  20. [20]Ke Li and Hao Ma, “Decoding the thermal conductivity of ionic covalent organic frameworks: Optical phonons as key determinants revealed by neuroevolution potential,” Materials Today Physics 54, 101724 (2025).
  21. [21]Ting Liang, Ke Xu, Penghua Ying, Wenwu Jiang, Meng Han, Xin Wu, Wengen Ouyang, Yimin Yao, Xiaoliang Zeng, Zhenqiang Ye, Zheyong Fan, and Jianbin Xu, “Probing the ideal limit of interfacial thermal conductance in two-dimensional van der waals heterostructures,” npj Computational Materials 12, 11 (2026).DOI
  22. [22]Lawrie B. Skinner, Congcong Huang, Daniel Schlesinger, Lars G. M. Pettersson, Anders Nilsson, and Chris J. Benmore, “Benchmark oxygen-oxygen pair-distribution function of ambient water from X-ray diffraction measurements with a wide Q-range,” The Journal of Chemical Physics 138, 074506 (2013).DOI
  23. [23]Lawrie B. Skinner, Chris J. Benmore, J. C. Neuefeind, and J. B. Parise, “The structure of water around the compressibility minimum,” The Journal of Chemical Physics 141, 214507 (2014).DOI
  24. [24]A. K. Soper, “The radial distribution functions of water and ice from 220 to 673 K and at pressures up to 400 MPa,” Chemical Physics 258, 121–137 (2000).DOI
  25. [25]Zheyong Fan, Haikuan Dong, Ari Harju, and Tapio Ala-Nissila, “Homogeneous nonequilibrium molecular dynamics method for heat transport and spectral decomposition with many-body potentials,” Physical Review B 99, 064308 (2019).DOI
  26. [26]GPUMD Developers, “GPUMD tutorials,” https://github.com/brucefan1983/GPUMD-Tutorials/tree/068db4d649d6c71d56981aae7977b33c402c707d (2026), project snapshot used for validation provenance: commit 068db4d649d6c71d56981aae7977b33c402c707d.
  27. [27]Shuo Cao, Ao Wang, Zheyong Fan, Hua Bao, Ping Qian, Ye Su, and Yu Yan, “Lattice thermal conductivity of 16 elemental metals from molecular dynamics simulations with a unified neuroevolution potential,” Journal of Applied Physics 137, 225101 (2025).arxiv.org/abs/2505.13179
  28. [28]Alexander Stukowski, “Structure identification methods for atomistic simulations of crystalline materials,” Modelling and Simulation in Materials Science and Engineering 20, 045021 (2012).DOI

Paper details

vlnc:W_6u7u9gwq
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents