# LAMMPS
[LAMMPS](https://docs.lammps.org/Manual.html) is a production-grade molecular dynamics engine.
The NequIP framework provides two different integrations for LAMMPS.
## `pair_nequip_allegro`
The [`pair_nequip_allegro` page](pair_styles.md) provides details on using the LAMMPS plugins hosted in the [`pair_nequip_allegro` repository](https://github.com/mir-group/pair_nequip_allegro) provides pair styles to use NequIP framework interatomic potentials directly in LAMMPS.
This repository contains:
- `pair_nequip` for the NequIP message-passing GNN model
- `pair_allegro` for the strictly local Allegro model
## ML-IAP
LAMMPS [ML-IAP](https://docs.lammps.org/Packages_details.html#pkg-ml-iap) is a separate LAMMPS integration that provides a different interface for using machine learning potentials.
The NequIP framework provides a wrapper and workflow tools for ML-IAP.
See [ML-IAP](mliap.md) for detailed instructions.
## Summary
The following table summarizes key differences between the integration approaches:
|
Feature | [`pair_nequip_allegro`](pair_styles.md) | ML-IAP |
|:-------:|:-------------------------:|:------:|
| **LAMMPS Compilation** | See [`pair_nequip_allegro` repo](https://github.com/mir-group/pair_nequip_allegro) | See ["Building ML-IAP"](mliap.md#building-ml-iap) |
| **Multirank Support** | `pair_nequip`: Single rank only
`pair_allegro`: Multirank | Multirank |
| **Model Preparation** | [`nequip-compile`](../../guide/getting-started/workflow.md#compilation) | [`nequip-prepare-lmp-mliap`](mliap.md#preparing-models-with-nequip-prepare-lmp-mliap) |
| **Acceleration Modifiers** | `pair_nequip`: None
`pair_allegro`: [`enable_TritonContracter`](https://nequip.readthedocs.io/projects/allegro/en/latest/guide/triton.html) | NequIP: [`enable_OpenEquivariance`](../../guide/accelerations/openequivariance.md)
Allegro: [`enable_CuEquivarianceContracter`](https://nequip.readthedocs.io/projects/allegro/en/latest/guide/cuequivariance.html), [`enable_TritonContracter`](https://nequip.readthedocs.io/projects/allegro/en/latest/guide/triton.html) |
```{toctree}
:maxdepth: 1
pair_styles
mliap
```