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

@ -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.