SubmitJob

Submits a batch job to a scheduler. When submitting the same project file multiple times, you should have the script wait for each job (or jobs for multi-step) to finish, which can be done via the monitoring functions LaunchJobMonitor() and RefreshJobMonitor(), checking the result of RefreshJobMonitor() in a loop until it returns completed ("Monitor Not Visible") status.

UI Access Tools > Job Management > Submit Job.
Parameters
Name Type Description
<settingsPath> String Path to the settings file (exported from the Submit Job GUI) to use for submission.
<projectPath> String Path to the project file to use in the batch job. This could be an archive (.aedtz file) or an un-archived project.
<design (optional)> String Name of the design to use for batch solve.
<setup (optional)> String Name of the specific setup to solve.
Return Value Array of job ID strings (empty if no jobs submitted).

 

Python Syntax SubmitJob(<settingsPath>, <projectPath>, <design>, <setup>)
Python Example

jobIDs = oDesktop.SubmitJob("C:\\hpc-settings\\Submit_

Job_Settings.areg", "C:\\projects\\basic.aedt"))

moreIDs = oDesktop.SubmitJob("C:\\hpc-settings\\Submit_

Job_Settings.areg", "C:\\projects\\basic.aedt",

"Design1", "Setup1")