Learn R Programming

nws (version 1.7.0.1)

lsfcmd: Sleigh Auxiliary Function

Description

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.

Usage

lsfcmd(host, options)

Arguments

host
Name from the nodeList. This is currently ignored.
options
An environment or list. This is currently ignored.

Value

The character vector c('bsub').

Details

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.

See Also

sleigh

Examples

Run this code
## 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)

Run the code above in your browser using DataLab