batchProcess - CLI interface¶
Batch processes a list of cases, executing the specified shell command in all case folders.
batchProcess caseList [options [args]]
batchProcess positional arguments¶
caseList
- name of the text file containing all paths of the cases to be processed. (default:None
)
batchProcess options¶
-e
CMD
,--execute
CMD
- shell command to execute in all case folders surrounded by double quotes, e.g."cosim.exe run OspSystemStructure.xml -b 0 -d 20 --real-time -v"
(default:None
)-t
TIMEOUT
,--timeout
TIMEOUT
- timeout in seconds before an orphaned process gets killed (default:86400
)-c
CPU
,--cpu
CPU
- max number of cpus to be used (default:0
)--log
LOG
- name of log file. If specified, this will activate logging to file. (default:None
)--log-level
LOG_LEVEL
- log level applied to logging to file. (default:WARNING
)
_________________batchProcess___________________