You are viewing an old version of this page. View the current version.

    Compare with Current View Page History

    « Previous Version 12 Current »

    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