11 PROGRAM COMMAND LINE

lc [-a interval] [-b] [-c chkpt_file] [-C] [-D] [-help] [-i iteration_count] [-q] [-r chkpt_file] [-V] [-w] [-x command_file] [model_file.lc | export_file.lcx]...

-a

Automatic simulation checkpointing interval.

-b

Execute simulation as specified by the –i option in batch mode, with no windows displayed.

-c

Save simulation to a checkpoint file. Used with the –I option. If given without automatic checkpointing, then save the simulation to this file after the last time step. If with automatic checkpointing, save the simulation to this file after each interval of time steps.

-C

Print a report of possible model errors.

-D

Debug mode. In debug mode information is printed showing the options in effect the program execution order, and other data useful for debugging.

-help

Print a short command line usage message.

-i

Run a simulation using the iteration count. This option allows a simulation to be run without interactive input. A simulation is performed on the model given by the first file listed on the command line for the number of time steps given by the iteration count. When the simulation is complete, the program terminates. All of the usual windows are displayed during the simulation, and interactive input is permitted, but not required.

-q

Turn off debug mode (quiet).

-r

Restore a simulation from a checkpoint file. Used with the –I option. After the simulation is started, the checkpoint file is read and the time stepping proceeds from the saved time.

-V

Print program version.

-w

Do not restore the saved window layout. By default, if the first model file listed on the command line contains saved window layout information, then those windows are restored. If –w is given, then this step is skipped, even if saved window information is available.

-x

Execute a command file.

Filenames

Any number of file names may be listed. The files are entered into the Model menu, and the first file is read and becomes the current model. If the file ends in the suffix ".lc", it is assumed to be an LC model file, and if it ends with ".lcx" it is read as an LC export file.