LSF, OpenLava, SGE, Slurm and Torque BatchJobs futures are asynchronous multiprocess futures that will be evaluated on a compute cluster via a job scheduler.
batchjobs_lsf(
expr,
envir = parent.frame(),
substitute = TRUE,
globals = TRUE,
label = "BatchJobs",
pathname = NULL,
resources = list(),
workers = Inf,
job.delay = FALSE,
...
)batchjobs_openlava(
expr,
envir = parent.frame(),
substitute = TRUE,
globals = TRUE,
label = "BatchJobs",
pathname = NULL,
resources = list(),
workers = Inf,
job.delay = FALSE,
...
)
batchjobs_sge(
expr,
envir = parent.frame(),
substitute = TRUE,
globals = TRUE,
label = "BatchJobs",
pathname = NULL,
resources = list(),
workers = Inf,
job.delay = FALSE,
...
)
batchjobs_slurm(
expr,
envir = parent.frame(),
substitute = TRUE,
globals = TRUE,
label = "BatchJobs",
pathname = NULL,
resources = list(),
workers = Inf,
job.delay = FALSE,
...
)
batchjobs_torque(
expr,
envir = parent.frame(),
substitute = TRUE,
globals = TRUE,
label = "BatchJobs",
pathname = NULL,
resources = list(),
workers = Inf,
job.delay = FALSE,
...
)
The R expression to be evaluated
The environment in which global environment should be located.
Controls whether expr should be
substitute():d or not.
(optional) a logical, a character vector, a named list, or a Globals object. If TRUE, globals are identified by code inspection based on expr and tweak searching from environment envir. If FALSE, no globals are used. If a character vector, then globals are identified by lookup based their names globals searching from environment envir. If a named list or a Globals object, the globals are used as is.
(optional) Label of the future (where applicable, becomes the job name for most job schedulers).
A BatchJobs template file (brew formatted).
A named list passed to the BatchJobs template (available as variable resources).
(optional) Additional specification for the BatchJobs backend.
(optional) Passed as is to submitJobs().
Additional arguments passed to BatchJobsFuture().
An object of class BatchJobsFuture.
These type of BatchJobs futures rely on BatchJobs backends set up using the following BatchJobs functions:
makeClusterFunctionsOpenLava() for OpenLava
makeClusterFunctionsTorque() for TORQUE / PBS