A Kokkos-Accelerated Moment Tensor Potential Implementation for LAMMPS
Zijian Meng, Karim Zongo, Edmanuel Torres, Christopher Maxwell, Ryan Eric Grant, Laurent Karim Béland
TL;DR
The paper addresses scaling machine-learning interatomic potentials, specifically the Moment Tensor Potential (MTP), to large-scale simulations on heterogeneous HPC hardware. It introduces a Kokkos-enabled MTP implementation for LAMMPS with nine variants across three use cases (inference, configuration-mode, neighborhood-mode) and CPU/GPU execution modes. Benchmark results show strong weak/strong scaling and substantial speedups, including up to $2\times$ on CPUs and efficient thread- and block-parallel GPU variants, while preserving uncertainty quantification and active-learning capabilities. Collectively, this work enables million-atom simulations and on-the-fly active learning on accessible HPC platforms, broadening the practical reach of MTPs in materials modeling.
Abstract
We present a Kokkos-accelerated implementation of the Moment Tensor Potential (MTP) for LAMMPS, designed to improve both computational performance and portability across CPUs and GPUs. This package introduces an optimized CPU variant--achieving up to 2x speedups over existing implementations--and two new GPU variants: a thread-parallel version for large-scale simulations and a block-parallel version optimized for smaller systems. It supports three core functionalities: standard inference, configuration-mode active learning, and neighborhood-mode active learning. Benchmarks and case studies demonstrate efficient scaling to million-atom systems, substantially extending accessible length and time scales while preserving the MTP's near-quantum accuracy and native support for uncertainty quantification.
