git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5590 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-02-04 19:13:00 +00:00
parent 328acf2040
commit 3ad614b04a
2 changed files with 44 additions and 22 deletions

View File

@ -747,12 +747,21 @@ more processors or setup a smaller problem.
<H4><A NAME = "2_6"></A>2.6 Command-line options
</H4>
<P>At run time, LAMMPS recognizes several optional command-line switches
which may be used in any order. For example, lmp_ibm might be
launched as follows:
which may be used in any order. Either the full word or the
one-letter abbreviation can be used:
</P>
<UL><LI>-echo or -e
<LI>-partition or -p
<LI>-in or -i
<LI>-log or -l
<LI>-screen or -s
<LI>-var or -v
</UL>
<P>For example, lmp_ibm might be launched as follows:
</P>
<PRE>mpirun -np 16 lmp_ibm -var f tmp.out -log my.log -screen none < in.alloy
</PRE>
<P>These are the command-line options:
<P>Here are the details on the options:
</P>
<PRE>-echo style
</PRE>
@ -825,18 +834,20 @@ writes screen information to a file.N. For both one-partition and
multi-partition mode, if the specified file is "none", then no screen
output is performed.
</P>
<PRE>-var name value
<PRE>-var name value1 value2 ...
</PRE>
<P>Specify a variable that will be defined for substitution purposes when
the input script is read. "Name" is the variable name which can be a
single character (referenced as $x in the input script) or a full
string (referenced as ${abc}). The value can be any string. Using
this command-line option is equivalent to putting the line "variable
name index value" at the beginning of the input script. Defining an
index variable as a command-line argument overrides any setting for
the same index variable in the input script, since index variables
cannot be re-defined. See the <A HREF = "variable.html">variable</A> command for
more info on defining index and other kinds of variables and <A HREF = "Section_commands.html#3_2">this
string (referenced as ${abc}). An <A HREF = "variable.html">index-style
variable</A> will be created and populated with the
subsequent values, e.g. a set of filenames. Using this command-line
option is equivalent to putting the line "variable name index value1
value2 ..." at the beginning of the input script. Defining an index
variable as a command-line argument overrides any setting for the same
index variable in the input script, since index variables cannot be
re-defined. See the <A HREF = "variable.html">variable</A> command for more info on
defining index and other kinds of variables and <A HREF = "Section_commands.html#3_2">this
section</A> for more info on using variables in
input scripts.
</P>