2. Install LAMMPS
You can download LAMMPS as an executable or as source code.
With source code, you also have to build LAMMPS. But you have more flexibility as to what features to include or exclude in the build. If you plan to modify or extend LAMMPS, then you need the source code.
- 2.1. Download an executable for Linux
- 2.2. Download an executable for Mac
- 2.3. Download an executable for Windows
- 2.4. Download an executable for Linux or Mac via Conda
- 2.5. Download source and documentation as a tarball
- 2.6. Download source via Git
- 2.7. Download source via SVN
- 2.8. Applying patches
These are the files and sub-directories in the LAMMPS distribution:
README | text file |
LICENSE | GNU General Public License (GPL) |
bench | benchmark problems |
cmake | CMake build files |
doc | documentation |
examples | simple test problems |
lib | additional provided or external libraries |
potentials | interatomic potential files |
python | Python wrapper on LAMMPS |
src | source files |
tools | pre- and post-processing tools |
You will have all of these if you download source. You will only have some of them if you download executables, as explained on the pages listed above.