Commit 3ad614b0 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5590 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 328acf20
Loading
Loading
Loading
Loading
+22 −11
Original line number Diff line number Diff line
@@ -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>
+22 −11
Original line number Diff line number Diff line
@@ -737,12 +737,21 @@ more processors or setup a smaller problem.
2.6 Command-line options :h4,link(2_6)

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:

-echo or -e
-partition or -p
-in or -i
-log or -l
-screen or -s
-var or -v :ul

For example, lmp_ibm might be launched as follows:

mpirun -np 16 lmp_ibm -var f tmp.out -log my.log -screen none < in.alloy :pre

These are the command-line options:
Here are the details on the options:

-echo style :pre

@@ -815,18 +824,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.

-var name value :pre
-var name value1 value2 ... :pre

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 "variable"_variable.html command for
more info on defining index and other kinds of variables and "this
string (referenced as $\{abc\}).  An "index-style
variable"_variable.html 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 "variable"_variable.html command for more info on
defining index and other kinds of variables and "this
section"_Section_commands.html#3_2 for more info on using variables in
input scripts.