Build.txt 1.37 KB
Newer Older
1
"Previous Section"_Install.html - "LAMMPS WWW Site"_lws - "LAMMPS
Richard Berger's avatar
Richard Berger committed
2
Documentation"_ld - "LAMMPS Commands"_lc - "Next Section"_Run_head.html :c
3
4
5
6
7
8
9
10
11
12

: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
13
14
15
16
17
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.
18
19
20
21

<!-- RST

.. toctree::
22
   :maxdepth: 1
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

   Build_cmake
   Build_make
   Build_link
   Build_basics
   Build_settings
   Build_package
   Build_extras

END_RST -->

<!-- HTML_ONLY -->

"Build LAMMPS with CMake"_Build_cmake.html
"Build LAMMPS with make"_Build_make.html
38
39
40
"Link LAMMPS as a library to another code"_Build_link.html
"Basic build options"_Build_basics.html
"Optional build settings"_Build_settings.html
41
42
43
44
45
46
47
"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.