Command Line Options and Configuration Files
Each program requires zero or more options. These options may be supplied on the command line or placed in one or more configuration files.
acuRun -pb channel -inp channel.inp
problem= channel
input_file= channel.inp
acuRun
If both command line argument and configuration options are provided, the former takes precedence.
acuRun -pb channel
acuRun -problem channel
problem= channel
pb= channel
The descriptive name is meant to be used in the configuration files, while the abbreviated name is meant for the command line argument.
setenv ACUSIM_CNF_FILES ./Acusim.cnf:~/Acusim.cnf:/ACUSIM/Acusim.cnf
./Acusim.cnf:~/Acusim.cnf
Empty lines and lines starting with a hash (#) are ignored in configuration files. All unrecognized options are also ignored. Each recognized line consists of one option and its value; they are separated by an "=" and any (or no) amount of white space (tabs and blanks).
acuRun -inp channel.inp -h
acuRun:
acuRun: Usage:
acuRun:
acuRun: acuRun [options]
acuRun:
acuRun: Options:
acuRun:
acuRun: -h print usage and exit
acuRun: help= TRUE [command-line]
acuRun: -pb <str> problem name
acuRun: problem= channel [./Acusim.cnf]
acuRun: -inp <str> input file name (_auto, use <problem>.inp)
acuRun: input_file= channel.inp [command-line]
...
acuRun: -v <int> verbose level
acuRun: verbose= 1 [default]
acuRun:
acuRun: Configuration Files:
acuRun:
acuRun: ./Acusim.cnf:~/Acusim.cnf:/ACUSIM/Acusim.cnf
acuRun:
acuRun: Release: 1.7
acuRun:
verbose= 1
verbose= 1
acuRun.verbose= 0
The verbose value of 1 is used by all programs except AcuRun, which uses the value of 0.
verbose= 1
HP.verbose= 2
HP.acuRun.verbose= 0
acuRun.SUN.verbose= 1
Each option has one of five types.
String (str)
acuRun -problem channel
problem= channel
acuTrans -osis "wall surface"
surface_integral_output_sets= wall surface
Enumerated (enum)
acuTrans -to table
translate_to= table
causes AcuTrans to translate its output data to table format.
Boolean (bool)
acuRun -echo
acuRun -no_echo
echo_input= yes
echo_input= FALSE
Integer (int)
acuRun -np 4
num_processors= 4
Real (real)
acuSurf -angle 89.9
max_angle= 89.9