get_dependency: Get the dependency of current jobs

Description Usage Arguments Value Examples

View source: R/dependency.R

Description

Get the dependency of current jobs

Usage

1
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

1
2
3
4
## Not run: 
get_dependency()

## End(Not run)

bsub documentation built on July 1, 2021, 5:07 p.m.