Description Usage Arguments Details Value Author(s) Examples
Returns a string for the of command line corresponding to submitting a job with the given command to the cluster.
1 2 3 4 5 6 7 8 9 10 11 |
object |
|
cmd.tokens |
a character vector specifying the executable command that should be wrapped in the cluster submission command |
log |
file name and path of the log file that the submitted job writes to |
job.name |
name of the submitted job |
res.req |
named vector of requested resources. Two options are available: |
depend.jobs |
character vector containg names or ids of jobs the submitted job will depend on. |
sub.binary |
flag indicating if the command is to be submitted using the |
quote.cmd |
Flag indicating whether the submitted cammed should also be wrapped in quotes |
For a concrete child class implementation for a SLURM architecture specification see ClusterArchitectureSLURM
A character vector containing the submission command tokens
Michael Scherer
1 2 3 4 | arch <- new("ClusterArchitectureSLURM",
name="my_slurm_architecture"
)
getSubCmdTokens(arch,c("Rscript","my_great_script.R"),"my_logfile.log")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.