# LAMMPS setup

Install a LAMMPS build with the MANYBODY and MEAM packages. Check the package list with `lmp -h`; executable names can differ by installation. Use `python -m pip install numpy matplotlib` for the analysis scripts.

- **Windows:** Use an [official Windows installer](https://www.lammps.org/download.html), or install the [LAMMPS Python package](https://docs.lammps.org/Install_pip.html) with `python -m pip install lammps`. The pip package may require the Microsoft MPI runtime. MPI launch syntax and package availability depend on the installed build.
- **macOS:** `brew install lammps`. Check `lmp -h` for packages.
- **Linux:** `conda install -c conda-forge lammps numpy matplotlib`.
- **Google Colab:** `!pip install lammps numpy matplotlib`. Use the Python interface if the wheel does not provide an `lmp` executable: `from lammps import lammps; lammps(cmdargs=['-in','in.inconel.lmp'])`. Upload both the input and its potential files first.

For a four-process run where MPI is configured, use `mpiexec -n 4 lmp -in in.inconel.lmp`, with any required `-var` arguments. Package builds, MPI libraries and potential support must match.
