View source: R/makeClusterFutureSlurm2.R
| makeClusterFunctionsSlurm2 | R Documentation |
This function enhances batchtools::makeClusterFunctionsSlurm() with
a few patches.
Firstly, it patches the listJobsQueued() cluster function such that it
falls back to querying Slurm's account database (sacct), if the future
was not found in the Slurm job queue (squeue), which might be the case
when Slurm provisions a job that was just submitted to the scheduler.
Secondly, it patches the submitJob() cluster function such that the
system call to sbatch does not capture stderr together with stdout, but
rather separately such that any extra INFO messages from sbatch do
not corrupt the output intended to come from stdout only.
makeClusterFunctionsSlurm2(
template = "slurm",
array.jobs = TRUE,
nodename = "localhost",
scheduler.latency = 1,
fs.latency = 65
)
template |
[
|
array.jobs |
[ |
nodename |
[
|
scheduler.latency |
[ |
fs.latency |
[ |
A batchtools::ClusterFunctions object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.