Learn R Programming

nws (version 1.7.0.1)

batchNodeList: NodeList Functions

Description

Return the list of nodes that SGE, LSF, or PBS has allocated for our process.

Usage

batchNodeList() sgeNodeList() lsfNodeList() pbsNodeList()

Arguments

Value

A character vector to pass to sleigh via the nodeList argument.

Details

These functions should only be called from an R program that has been submitted as a parallel batch job by SGE, LSF, or PBS/Torque. The batchNodeList function calls either sgeNodeList, lsfNodeList, or pbsNodeList depending on what environment variables are defined. The resulting list should be passed to the sleigh function via the nodeList argument.

See Also

sleigh

Examples

Run this code
Sys.setenv(LSB_HOSTS="node1 node2 node3")
batchNodeList()

Run the code above in your browser using DataLab