[R-sig-hpc] snow clusters on Windows

Noah Charney noah at bio.umass.edu
Mon Jan 18 20:58:42 CET 2010


R-HPC list members,

I am wondering if anyone could help us with the setup for snow clusters on
windows machines.  Is there something specific we need to do to set up SSH
so that R can access it in the absence of linux?  We are working on
Windows Server 2003, and on Vista, the problem is the same on both.  We
can create local clusters using the name "localhost" on any computer, but
no other name/IP address we substitute for "localhost" works.  Example
code is below.

#This works fine
> cl<-makeCluster('localhost',type='SOCK')
> cl
[[1]]
$con
    description           class            mode            text         
opened
"<-Poopy:10187"      "sockconn"           "a+b"        "binary"       
"opened"
       can read       can write
          "yes"           "yes"
$host
[1] "localhost"
attr(,"class")
[1] "SOCKnode"
attr(,"class")
[1] "SOCKcluster" "cluster"

> stopCluster(cl)

#But if we try to call the home computer by name or IP address, or
anything else, it doesn't work...
> cl<-makeCluster('192.168.1.1',type='SOCK')

#It just hangs there until we hit 'escape', at which point it says:
Warning message:
In system(cmd, wait = FALSE, input = "") : ssh not found


Thanks
-Noah Charney
---
Organismic and Evolutionary Biology
University of Massachusetts Amherst
221 Morrill Science Center South
Amherst, MA 01003-9297



More information about the R-sig-hpc mailing list