diff --git a/doc/Section_start.html b/doc/Section_start.html index 419414938f..5715339297 100644 --- a/doc/Section_start.html +++ b/doc/Section_start.html @@ -747,12 +747,21 @@ more processors or setup a smaller problem.

2.6 Command-line options

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: +

+ +

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 
 
-

These are the command-line options: +

Here are the details on the options:

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

-
-var name value 
+
-var name value1 value2 ... 
 

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

diff --git a/doc/Section_start.txt b/doc/Section_start.txt index 4faa069315..1b1769046c 100644 --- a/doc/Section_start.txt +++ b/doc/Section_start.txt @@ -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.