Command-line Arguments

 

Table 4. grid command-line argument summary

flag

optional argument

behavior

-i

input_file

INPUT FILE -- Input parameters extracted from input_file, or grid.in if not specified

-o

output_file

OUTPUT FILE -- Output written to output_file, or grid.out if not specified

-s

 

STANDARD INPUT -- Input parameters entered interactively

-t

 

TERSE -- Reduced output level

-v

 

VERBOSE -- Increased output level

grid may be executed in either interactive or batch mode, depending on whether output is written to a file. In interactive mode, the user is requested only for parameters relevant to the particular run and default values are provided. This mode is recommended for the initial construction of the input file. In batch mode, input parameters are read in from the input file and all output is written to the output file. This mode is recommended once an input file has been generated interactively.

Interactive mode

When launched this way, grid will extract all relevant parameters from grid.in (or any file supplied by the user). If additional parameters are needed (or if the grid.in file is non-existent or empty), grid will request them one at a time from the user. Reasonable default values are presented. Any parameters supplied by the user will be automatically appended to the grid.in file. If the user would like to change any previously entered values, the user can edit in the grid.in file using a text editor.

grid will behave as above, but will assume the input file to be grid.in.

grid will run interactively, but will not check any input file for parameters and will not append any entered parameters to a file.

Batch mode

grid will run in batch mode, extracting all relevant parameters from grid.in (or any file supplied by the user) and will write out all output to grid.out (or any file supplied by the user). If any parameters are missing or incorrect, then execution will halt and an appropriate error message will be reported in grid.out.

grid will behave as above, but will assume the i/o files to be grid.in and grid.out.

© UC Regents 1998
Top / Up / Previous / Next