Skip to content

cluster/snow question

5 messages · tolga.i.uzuner at jpmorgan.com, Markus Schmidberger, Luke Tierney

#
Hi Tolga,

in SNOW you have to start a cluster with the command

 > library(snow)
 > cluster <- makeCluster(#nodes)

The object "cluster" is a list with an object for each node and each 
object again is a list with all informations (rank, comm, tags)
The size of the cluster is the length of the list.

 > #nodes == length(cluster)

E.g. the rank for node one you can get by
 > cluster[[1]]$rank

Best
Markus

tolga.i.uzuner at jpmorgan.com schrieb:

  
    
#
On Tue, 9 Sep 2008, tolga.i.uzuner at jpmorgan.com wrote:

            
No -- that isn't the way snow works.  With snow the partitioning is
done on the master. If you need a node to know how many other nodes
there are or which index it represents in a clusterApply call then you
need to pass that information in the arguments.

luke