Icon

This is the documentation for an older version of Qube. The latest version of the documentation can be found here: Qube

Skip to end of metadata
Go to start of metadata

The next step is to understand basic dependencies 

In this example, we use the job's dependency field to set up a job-based dependency.  Job based dependencies are those that will wait for the entire dependent job to finish before the current job starts.  There are also subjob (instance) and agenda (frame) based dependencies.

Below is the code with commented explanations of its contents

jobSubmit_dependency-example.py

Running this script will create 2 jobs.  The first will run immediately, the second will be in a blocked state until the first job completes, then it will automatically start running.

For more information on the dependency attribute syntax, see Specifying Job Dependencies

Continue to Advanced Dependencies

  • No labels