Dependencies and pipelines | HPC Center

Here are the most common types of dependencies you can specify:

after:job_id[:jobid…]

                     This job can begin execution after the specified jobs have begun execution.

afterany:job_id[:jobid…]

                     This job can begin execution after the specified jobs have terminated.

afternotok:job_id[:jobid…]

                     This job can begin execution after the specified jobs have terminated in some failed state (non-zero exit code, node failure, timed out, etc).

afterok:job_id[:jobid…]

                     This job can begin execution after the specified jobs have successfully executed (ran to completion with an exit code of zero).

singleton

                     This job can begin execution after any previously launched jobs sharing the same job name and user have terminated.  In other words, only one job by that name and owned by that user can be running or suspended at any point in time.

Read more here: Source link