Skip to content
Snippets Groups Projects
Build.txt 1.46 KiB
"Previous Section"_Install.html - "LAMMPS WWW Site"_lws - "LAMMPS
Documentation"_ld - "LAMMPS Commands"_lc - "Next Section"_Run.html :c

:link(lws,http://lammps.sandia.gov)
:link(ld,Manual.html)
:link(lc,Commands_all.html)

:line

Build LAMMPS :h2

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"_Install.html doc page.

<!-- RST

.. toctree::

   Build_cmake
   Build_make
   Build_link

.. toctree::

   Build_basics
   Build_settings
   Build_package

.. toctree::

   Build_extras

END_RST -->

<!-- HTML_ONLY -->

"Build LAMMPS with CMake"_Build_cmake.html
"Build LAMMPS with make"_Build_make.html
"Link LAMMPS as a library to another code"_Build_link.html :all(b)

Build options:

"Basic build options: serial/parallel, compilers, executable/library"_Build_basics.html
"Optional build settings"_Build_settings.html :all(b)
"Include packages in build"_Build_package.html
"Packages with extra build options"_Build_extras.html :all(b)

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"_http://lammps.sandia.gov/mail.html.