diff --git a/doc/Section_modify.html b/doc/Section_modify.html index 0cb7ace31a..aaf3d42279 100644 --- a/doc/Section_modify.html +++ b/doc/Section_modify.html @@ -601,13 +601,13 @@ via the print, fix print -

thermo keywords = ke, vol, atoms, ... +

thermo keywords = ke, vol, atoms, ...
 other variables = v_a, v_myvar, ...
 math functions = div(x,y), mult(x,y), add(x,y), ...
 group functions = mass(group), xcm(group,x), ...
-atom values = x123, y3, vx34, ...
-compute values = c_mytemp0, c_thermo_press3, ...
-

+atom values = x[123], y[3], vx[34], ... +compute values = c_mytemp[0], c_thermo_press[3], ... +

Adding keywords for the thermo_style custom command (which can then be accessed by variables) was discussed here on this page. diff --git a/doc/Section_modify.txt b/doc/Section_modify.txt index ed04384e17..b1e64d1ba0 100644 --- a/doc/Section_modify.txt +++ b/doc/Section_modify.txt @@ -580,8 +580,8 @@ thermo keywords = ke, vol, atoms, ... other variables = v_a, v_myvar, ... math functions = div(x,y), mult(x,y), add(x,y), ... group functions = mass(group), xcm(group,x), ... -atom values = x[123], y[3], vx[34], ... -compute values = c_mytemp[0], c_thermo_press[3], ... +atom values = x\[123\], y\[3\], vx\[34\], ... +compute values = c_mytemp\[0\], c_thermo_press\[3\], ... :pre Adding keywords for the "thermo_style custom"_thermo_style.html command (which can then be accessed by variables) was discussed diff --git a/doc/Section_start.html b/doc/Section_start.html index 0321152035..270f7985a0 100644 --- a/doc/Section_start.html +++ b/doc/Section_start.html @@ -901,11 +901,24 @@ interface and how to extend it for your needs.

2.6 Running LAMMPS

-

By default, LAMMPS runs by reading commands from stdin; e.g. lmp_linux -< in.file. This means you first create an input script (e.g. in.file) -containing the desired commands. This section -describes how input scripts are structured and what commands they -contain. +

By default, LAMMPS runs by reading commands from standard input. Thus +if you run the LAMMPS executable by itself, e.g. +

+
lmp_linux 
+
+

it will simply wait, expecting commands from the keyboard. Typically +you should put commands in an input script and use I/O redirection, +e.g. +

+
lmp_linux < in.file 
+
+

For parallel environments this should also work. If it does not, use +the '-in' command-line switch, e.g. +

+
lmp_linux -in in.file 
+
+

This section describes how input scripts are +structured and what commands they contain.

You can test LAMMPS on any of the sample inputs provided in the examples or bench directory. Input scripts are named in.* and sample @@ -921,8 +934,9 @@ cp lmp_linux ../bench cd ../bench mpirun -np 4 lmp_linux < in.lj -

See this page for timings for this and the other benchmarks -on various platforms. +

See this page for timings for this and the other benchmarks on +various platforms. Note that some of the example scripts require +LAMMPS to be built with one or more of its optional packages.

@@ -951,12 +965,13 @@ with the name of your LAMMPS input script.

For the MPI version, which allows you to run LAMMPS under Windows on multiple processors, follow these steps:

-