3. Build LAMMPS
LAMMPS can be built as an executable or library from source code via either traditional makefiles (which may require manual editing) for use with GNU make or gmake, or a build environment generated by CMake (Unix Makefiles, Xcode, Visual Studio, KDevelop or more). As an alternative you can download a package with pre-built executables as described on the Install doc page.
- 3.1. Build LAMMPS with CMake
- 3.2. Build LAMMPS with make
- 3.3. Link LAMMPS as a library to another code
- 3.4. Basic build options
- 3.5. Optional build settings
- 3.6. Include packages in build
- 3.7. Packages with extra build options
- 3.8. Notes for building LAMMPS on Windows
- 3.9. Development build options (CMake only)