Batch Execution
Options for Parallel Execution
If you are running a model in batch mode on a machine that has a multicore processor, different design points and replications are executed in parallel on different cores by default. This is equivalent to selecting the Parallel Mode icon on the toolbar in the GUI. When using parallel mode during a batch run, you can specify the upper bound for the number of parallel executions by using the -numthreads option. If the -numthreads option is not specified, the maximum available threads (which is less than or equal to the number of logical processors available on the local machine) are used for parallel execution. If you include the optional argument -nonparallel in your batch run command, then one single core is used to run the model, and the multiple design points and replications are executed sequentially. In parallel mode, you should use SAS to read or write data during a simulation run and to execute code by using the SAS Program block. If you are using JMP to load data, write data, or execute a JSL script, then you should use the -nonparallel option when running your model in batch mode.