These functions are used to find and filter jobs, depending on either their parameters (findJobs
and
findExperiments
), their tags (findTagged
), or their computational status (all other functions,
see getStatus
for an overview).
Note that findQueued
, findRunning
, findOnSystem
and findExpired
are somewhat heuristic
and may report misleading results, depending on the state of the system and the ClusterFunctions
implementation.
See JoinTables
for convenient set operations (unions, intersects, differences) on tables with job ids.
findJobs(expr, ids = NULL, reg = getDefaultRegistry()) findExperiments( ids = NULL, prob.name = NA_character_, prob.pattern = NA_character_, algo.name = NA_character_, algo.pattern = NA_character_, prob.pars, algo.pars, repls = NULL, reg = getDefaultRegistry() ) findSubmitted(ids = NULL, reg = getDefaultRegistry()) findNotSubmitted(ids = NULL, reg = getDefaultRegistry()) findStarted(ids = NULL, reg = getDefaultRegistry()) findNotStarted(ids = NULL, reg = getDefaultRegistry()) findDone(ids = NULL, reg = getDefaultRegistry()) findNotDone(ids = NULL, reg = getDefaultRegistry()) findErrors(ids = NULL, reg = getDefaultRegistry()) findOnSystem(ids = NULL, reg = getDefaultRegistry()) findRunning(ids = NULL, reg = getDefaultRegistry()) findQueued(ids = NULL, reg = getDefaultRegistry()) findExpired(ids = NULL, reg = getDefaultRegistry()) findTagged(tags = character(0L), ids = NULL, reg = getDefaultRegistry())
expr | [ |
---|---|
ids | [ |
reg | [ |
prob.name | [ |
prob.pattern | [ |
algo.name | [ |
algo.pattern | [ |
prob.pars | [ |
algo.pars | [ |
repls | [ |
tags | [ |
[data.table
] with column “job.id” containing matched jobs.
#>#>#>ids = findNotSubmitted(reg = tmp) # get all jobs: findJobs(reg = tmp)#> job.id #> 1: 1 #> 2: 2 #> 3: 3# filter for jobs with parameter i >= 2 findJobs(i >= 2, reg = tmp) # filter on the computational status findSubmitted(reg = tmp)#> Empty data.table (0 rows and 1 cols): job.idfindNotDone(reg = tmp)#> job.id #> 1: 1 #> 2: 2 #> 3: 3#> job.id #> 1: 2 #> 2: 3# combine filter functions using joins # -> jobs which are not done and not tagged (using an anti-join): ajoin(findNotDone(reg = tmp), findTagged("my_tag", reg = tmp))#> job.id #> 1: 1