[R] snow's makeCluster hanging (using Rmpi)

Luke Tierney luke at stat.uiowa.edu
Tue Nov 7 18:03:25 CET 2006


The most likely culprit is firewall settings. Something like tcpdump
may help to confirm that.  Working with a stand-alone example from
Rmpi may also help.

Best,

luke

On Tue, 7 Nov 2006, Randall C Johnson [Contr.] wrote:

> Hello everyone,
> I've been fiddling around with the snow and Rmpi packages on my new Intel
> Mac, and have run into a few problems. When I make a cluster on my machine,
> both slaves start up just fine, and everything works as expected. When I try
> to make a cluster including another networked machine it hangs. I've
> followed the suggestions at
> http://finzi.psych.upenn.edu/R/Rhelp02a/archive/83086.html and
> http://www.stat.uiowa.edu/~luke/R/cluster/cluster.html but to no avail.
> Everything seems to start up fine using lamboot, but then hangs when making
> the cluster in R. Making a cluster with 2 slaves seems to work fine, but if
> I increase the number (to use the networked machines) it hangs again.
>
> I've tried networking to another Mac, and also to a machine running Red Hat
> Linux. Both machines can set up their own local clusters. Does anyone have
> any ideas?
>
> Thanks,
> Randy
>
>> sessionInfo()
> R version 2.4.0 Patched (2006-10-03 r39576)
> i386-apple-darwin8.8.2
>
> locale:
> C
>
> attached base packages:
> [1] "methods"   "stats"     "graphics"  "grDevices" "utils"     "datasets"
> [7] "base"
>
> other attached packages:
>   Rmpi    snow
> "0.5-3" "0.2-2"
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Randall C Johnson
> Bioinformatics Analyst
> SAIC-Frederick, Inc (Contractor)
> Laboratory of Genomic Diversity
> NCI-Frederick, P.O. Box B
> Bldg 560, Rm 11-85
> Frederick, MD 21702
> Phone: (301) 846-1304
> Fax: (301) 846-1686
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Luke Tierney
Chair, Statistics and Actuarial Science
Ralph E. Wareham Professor of Mathematical Sciences
University of Iowa                  Phone:             319-335-3386
Department of Statistics and        Fax:               319-335-3017
    Actuarial Science
241 Schaeffer Hall                  email:      luke at stat.uiowa.edu
Iowa City, IA 52242                 WWW:  http://www.stat.uiowa.edu



More information about the R-help mailing list