CONTENTS  

Running Simulations in Batch Mode

Simulations can be run in batch mode using a saved workspace. The command line arguments are:

-b Run in batch mode (required).

-i WORKSPACE Input workspace file (required).

-o RUNNAME Name stem for the output files (optional, defaults to workspace name).

-d OUTPUT_DIR The directory for the output files (optional, defaults to workspace directory, the directory must exist).

-x Overwrite existing data file (optional).

-data-only Only save plot data information in batch run.

-image-only Only save plot images in batch run.

-h Prints this help message.

For example:

SpectraPLOT -b -i /test_path/test_workspace.svw -o test_run -d /results_path -x

This line will open the SpectraPLOT workspace "test_workspace.svw" and save image files and data files for each plot in said workspace. The output files will be placed in the location designated by "results_path" and will each use "test_run" as a base name.

Note, for line plots a single image is made for all line plots in a single widget, and each line plot in said widget has it's own data file. For contour plots each plot has it's own image and data file.

Note: in batch mode, user-specified ("Other") paths for atomic data and opacity files are read from the workspace file (.spw) instead of the Preferences file, while the corresponding default paths are still read from the Preferences file. The flag specifying whether to use the user-spefied vs. the default path is also read from the workspace in this case (not the Preferences file).

 


Copyright © 2000-2023 Prism Computational Sciences, Inc. PrismPLOT