bsub (version 1.0.0)

get_dependency: Get the dependency of current jobs

Description

Get the dependency of current jobs

Usage

get_dependency(job_tb = NULL)

Arguments

job_tb

A table from bjobs. Optional.

Value

If there is no dependency of all jobs, it returns NULL. If there are dependencies, it returns a list of three elements:

dep_mat:

a two column matrix containing dependencies from parents to children.

id2name:

a named vector containing mapping from job IDs to job names.

id2stat:

a named vector containing mapping from job IDs to job status.

Examples

Run this code
# NOT RUN {
get_dependency()
# }

Run the code above in your browser using DataLab