lsfcmd {nws} | R Documentation |
This function is used by the sleigh constructor when starting workers on remote nodes using the LSF bsub command. Note that it doesn't actually start any workers directly: it simply returns the program name and arguments to start a worker on the specified node.
lsfcmd(host, options)
host |
Name from the nodeList. This is currently ignored. |
options |
An environment or list. This is currently ignored. |
lsfcmd simply returns the value "bsub".
The character mode vector c('bsub').
lsfcmd is not intended to be called by the user. It is called by the sleigh constructor when specified via the sleigh launch argument. You may want to execute it when debugging your sleigh option settings, but that can also be accomplished by setting the sleigh verbose argument to TRUE.
## Not run: # Create a sleigh with workers on nodes n1 and n2 started via lsf: s <- sleigh(launch=lsfcmd, nodeList=rep('fake', 10)) ## End(Not run)