Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ _site
.jekyll-cache
.jekyll-metadata
vendor
.DS_Store
3 changes: 2 additions & 1 deletion _data/featured-stories.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Impact stories to feature on main page
- /impacts/2025-01-warpx
- /impacts/2025-01-wdmapp
- /impacts/2025-01-dod-hpc
- /impacts/2026-01-lammps
# - /impacts/2025-01-dod-hpc
# - /impacts/2025-01-sw-ecosystem-power
# - /impacts/2024-12-pnetcdf
Binary file added _impacts/.DS_Store
Binary file not shown.
66 changes: 66 additions & 0 deletions _impacts/2026-01-lammps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
title: "LAMMPS & Kokkos: Using Kokkos in LAMMPS to enable performance portable molecular dynamics simulations across scales of accuracy, length, and time"
date: 2026-01-07
#
teaser: 2026-01-lammps/lammps-ecp-fusion-graphic.png
#
authors:
- Terece L. Turton
- Michael Heroux
- David E. Bernholdt
- Lois Curfman McInnes
acknowledgment: the LAMMPS team
#
# The excerpt is used on the main Impacts page.
# The heading at the beginning of the body messes up the automatic excerpting process.
#
excerpt: LAMMPS is a classical molecular dynamics code widely used across the DOE complex. Leveraging Kokkos, LAMMPS can run on a wide range of high-performance computing resources.
#
software_mentioned:
- Kokkos
---

## The science

[LAMMPS](https://www.lammps.org/) (Large-scale Atomic/Molecular Massively Parallel Simulator) is a classical molecular dynamics simulation that is important for materials modeling. LAMMPS is a critical code within the DOE Office of Science (SC), funded over many years, in part by the DOE SC Advanced Scientific Computing Research (ASCR) and Biological and Environmental Research (BER) programs. Widely used across many physics domains, LAMMPS can be applied to solid-state materials such as metals and semiconductors, as well as to soft matter such as biomolecules and polymers. It can be used to model systems at the atomic, meso, or continuum scale.

Additionally, LAMMPS is designed to run on systems ranging from single processors to the largest accelerator-based supercomputers. To achieve extreme scales, LAMMPS relies on the Kokkos performance portability library.

## The enabling software: Kokkos

Kokkos is a performance-portability ecosystem, written primarily in C++, that provides abstraction layers to enable efficient execution across diverse computer architectures, including CPUs, GPUs, and emerging data flow devices from various vendors.
{% include sw-link-mention.html product="Kokkos" %} also provides data abstractions to change the memory layout of data structures, such as 2D and 3D arrays, to optimize performance on different hardware.

LAMMPS documentation includes extensive details on using Kokkos as the accelerator package to improve LAMMPS performance.

Long-term funding from both the DOE Office of Science and the DOE National Nuclear Security Administration (NNSA) has contributed to the success of Kokkos and, by extension, its clients, such as LAMMPS.


{% capture img %}{% include hl-image-path image="2026-01-lammps/lammps-kokkos-documentation.png" %}{% endcapture %}
{% include figure class="align-right" width="50%" popup=true image_path=img alt="Image showing Kokkos usage in LAMMPS documentation"
caption="A screenshot from the LAMMPS documentation on how to include and use Kokkos within LAMMPS." %}

Kokkos supports LAMMPS by targeting the full range of possible backend programming models used by LAMMPS: CUDA, HIP, SYCL, HPX, OpenMP, and C++ threads, allowing applications such as LAMMPS to run on all major HPC platforms.

The billion-atom simulation (Ngyen-Cong, et al. 2021) shown in the second figure uses a machine learned model for the descriptions of interatomic bonding. Versions of this simulation have been run, for example, on a small local cluster of NVidia H100 GPUs, on Oak Ridge National Laboratory's (ORNL) Summit V100 GPUs, and on ORNL's Frontier exascale supercomputer using AMD MI250X GPUs.

{% capture img %}{% include hl-image-path image="2026-01-lammps/lammps-ecp-fusion-graphic.png" %}{% endcapture %}
{% include figure class="align-right" width="50%" popup=true image_path=img alt="Image showing a LAMMPS and Kokkos use case. This is a close-up with He, W and ZrC molecules."
caption="An image from a billion atom LAMMPS molecular dynamics simulation. Utilizing Kokkos, this simulation was run on ORNL's Frontier supercomputing, using more than 8000 of the machine's MI250X GPUs. Images curtesy of Mitchell Wood (SNL) and the LAMMPS team." %}

The LAMMPS/Kokkos integration exemplifies the benefits of collaboration across the Department of Energy. During the Exascale Computing Project (ECP), LAMMPS was funded through the Office of Science (SC) EXAALT project, while Kokkos was funded through both SC and the NNSA. Open science codes and NNSA mission-related codes across the DOE scientific landscape leverage Kokkos' core abstractions for parallel execution and data management. Increasing Kokkos adoption by targeting both SC and NNSA applications promotes Kokkos' sustainability by broadening its user and developer base. A broader user base, for example, provides incentives to develop more extensive documentation, tutorials, and a larger web presence, as demonstrated by the [Kokkos homepage](https://kokkos.org).


The long-term sustained funding of Kokkos to support both Office of Science codes and NNSA mission work signals to the external community that they can trust that Kokkos will be supported for years to come, making it easier for teams to adopt Kokkos and for SC to trust that sponsorship of Kokkos-related projects will be part of a robust ecosystem. Multiple funding sources for Kokkos improve sustainability and resilience to funding changes. This robust funding and the expectation to support external users provide resources and motivation that enable a user-focused mindset and encourage projects to pursue outward-facing indicators of sustainability, such as Kokkos' recent OpenSSF Best Practices *Passing* badge and the Kokkos team’s efforts to establish and join the [High Performance Software Foundation](https://hpsf.io).


## Additional resources

**LAMMPS citations:**

LAMMPS - a flexible simulation tool for particle-based materials modeling at the atomic, meso, and continuum scales, A. P. Thompson, H. M. Aktulga, R. Berger, D. S. Bolintineanu, W. M. Brown, P. S. Crozier, P. J. in 't Veld, A. Kohlmeyer, S. G. Moore, T. D. Nguyen, R. Shan, M. J. Stevens, J. Tranchida, C. Trott, S. J. Plimpton, Comp Phys Comm, 271 (2022) 10817.
[https://doi.org/10.1016/j.cpc.2021.108171](https://doi.org/10.1016/j.cpc.2021.108171)

K. Nguyen-Cong, J. T. Willman, S. G. Moore, A. B. Belonoshko, R. Gayatri, E. Weinberg, M. A. Wood, A. P. Thompson, and I I. Oleynik. 2021. Billion atom molecular dynamics simulations of carbon at extreme conditions and experimental time and length scales. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (SC '21). Association for Computing Machinery, New York, NY, USA, Article 4, 1–12.
[https://doi.org/10.1145/3458817.3487400](https://doi.org/10.1145/3458817.3487400)

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading