batchNodeList {nws} | R Documentation |
Return the list of nodes that SGE, LSF, or PBS has allocated for our process.
batchNodeList() sgeNodeList() lsfNodeList() pbsNodeList()
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.
A character vector to pass to sleigh via the nodeList argument.
Sys.setenv(LSB_HOSTS="node1 node2 node3") batchNodeList()