In the following example, the script submits
myJob1 = mdb.Job(name='Job-1') myJob2 = mdb.Job(name='Job-2') myJob1.submit() myJob1.waitForCompletion() myJob2.submit() myJob2.waitForCompletion() If you submit more than one job and then issue a
waitForCompletion statement,
Abaqus
waits until the job associated with the waitForCompletion
statement is complete before checking the status of the second job. If the
second job has already completed, the waitForCompletion
method returns immediately. In the following example the script will not check
the status of myJob1 = mdb.Job(name='Job-1') myJob2 = mdb.Job(name='Job-2') myJob1.submit() myJob2.submit() myJob1.waitForCompletion() myJob2.waitForCompletion() | |||||||