-
Notifications
You must be signed in to change notification settings - Fork 11
How To: Run CASSYS from Command Line
CASSYS is capable of executing with zero, one, or three command line arguments. These three formats are described in detail below:
Running the program with no arguments causes CASSYS to run in an interactive mode. The program requests the user to provide the path to the csyx file, input file path, and the output file path individually in the command prompt. Note: The program uses the input and output file schema provided in the csyx file.
When CASSYS is provided a single argument (i.e. the csyx file), the input and output file path specified in the csyx file is used to run the simulation. This format is used when running a simulation through the CASSYS interface. The interface writes to a .csyd file and calls the simulation engine with the single command line argument pointing to the .csyd file.
This three argument format uses the site information, input file schema and output file schema provided in the csyx file. The input file path and output file path are overwritten with the file path provided in the arguments.