template.file
. This
file is processed with brew and then submitted to the queue using the
bsub
command. Jobs are killed using the bkill
command and the
list of running jobs is retrieved using bjobs -u $USER -w
. The user
must have the appropriate privileges to submit, delete and list jobs on the
cluster (this is usually the case).The template file can access all resources passed to submitJobs
as well as all variables stored in the JobCollection
.
It is the template file's job to choose a queue for the job and handle the desired resource
allocations.
makeClusterFunctionsLSF(template = findTemplateFile("lsf"))
character(1)
]
Path to a brew template file that can be used for the job description.
Alternatively, the template as a single string (including at least one newline “\n”).
Defaults to a heuristic which looks for a template file in the following locations and picks
the first one found:
user_config_dir
); on linux is is usually “~/.config/batchtools/lsf.tmpl”.
ClusterFunctions
].makeClusterFunctionsDocker
,
makeClusterFunctionsInteractive
,
makeClusterFunctionsMulticore
,
makeClusterFunctionsOpenLava
,
makeClusterFunctionsSGE
,
makeClusterFunctionsSSH
,
makeClusterFunctionsSlurm
,
makeClusterFunctionsSocket
,
makeClusterFunctionsTorque
,
makeClusterFunctions