View source: R/config_miscwrappers.R
rsbatch | R Documentation |
sbatch setup and submit
Creates slurm sbatch submission string, and optionally submits the job using system
rsbatch(
sh.path,
partition = NA,
nodes = 1,
ntasksPerNode = 1,
memGb = 50,
time = c(0, 6, 0, 0),
submit = FALSE,
intern = FALSE
)
sh.path |
Character string with path to bash script |
partition |
Character string with name of partition to submit the job to. Passed to sbatch argument '–partition'. Default NA. |
nodes |
Number of nodes to split the job across. Default 1. |
ntasksPerNode |
Number of tasks (cores) to use per node. Default 1. |
memGb |
Total amount of memory to allocate for the job. Default 50Gb. |
time |
Numerical vector with length 4, with the number of days, hours, minutes, and seconds, respectively, to allocate for the job. |
submit |
Logical with whether or not to submit the jobs to the cluster. |
Either vector of character strings that can be piped to system, or NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.