batchNodeList {nws} | R Documentation |
NodeList Functions
Description
Return the list of nodes that SGE, LSF, or PBS has allocated for our process.
Usage
batchNodeList()
sgeNodeList()
lsfNodeList()
pbsNodeList()
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.
Value
A character vector to pass to sleigh via the nodeList argument.
See Also
Examples
Sys.setenv(LSB_HOSTS="node1 node2 node3")
batchNodeList()
[Package nws version 1.7.0.1 Index]