View source: R/BatchtoolsTemplateFutureBackend-class.R
| BatchtoolsTemplateFutureBackend | R Documentation |
Batchtools futures for LSF, OpenLava, SGE, Slurm, TORQUE etc. are asynchronous multiprocess futures that will be evaluated on a compute cluster via a job scheduler.
BatchtoolsTemplateFutureBackend(
type,
scheduler.latency = 1,
fs.latency = 65,
resources = list(),
delete = getOption("future.batchtools.delete", "on-success"),
template = NULL,
makeClusterFunctions = NULL,
workers = getOption("future.batchtools.workers", default = 100L),
...
)
type |
(character string) Type of job scheduler. |
scheduler.latency |
[ |
fs.latency |
[ |
resources |
(optional) A named list passed to the batchtools
job-script template as variable
|
delete |
Controls if and when the batchtools job registry folder is
deleted.
If |
template |
(optional) A batchtools template file or a template string (in brew format). If not specified, it is left to the batchtools package to locate such file using its search rules. |
workers |
The maximum number of workers the batchtools backend may
use at any time, which for HPC schedulers corresponds to the maximum number
of queued jobs. The default is
|
... |
Additional arguments passed to |
These type of batchtools futures rely on batchtools backends set up using the following batchtools functions:
batchtools::makeClusterFunctionsLSF() for
Load Sharing Facility (LSF)
batchtools::makeClusterFunctionsOpenLava() for
OpenLava
batchtools::makeClusterFunctionsSGE() for
Sun/Oracle Grid Engine (SGE)
batchtools::makeClusterFunctionsSlurm() for
Slurm
batchtools::makeClusterFunctionsTORQUE() for
TORQUE / PBS
An object of class BatchtoolsFutureBackend.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.