Previous Section - LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands - Next Section

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.

Build LAMMPS with CMake
Build LAMMPS with make
Link LAMMPS as a library to another code
Basic build options
Optional build settings
Include packages in build
Packages with extra build options
Notes for building LAMMPS on Windows

If you have problems building LAMMPS, it is often due to software issues on your local machine. If you can, find a local expert to help. If you're still stuck, send an email to the LAMMPS mail list.