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