[R-sig-hpc] snow clusters on Windows

Guy Yollin guy.yollin at rotellacapital.com
Mon Jan 18 22:18:13 CET 2010

Hi Noah,

While I did not use snow, I was able to sucessfully implement cluster computing with windows workstations using NetWorkSpaces:

As you noted the key to these solutions is to get SSH running on windows boxes which can be accomplished with Cygwin 

The biggest challenge was configuring SSH and here are some links that I had found helpful back when I was setting this up:




Good Luck!


-- Guy

-----Original Message-----
From: r-sig-hpc-bounces at r-project.org [mailto:r-sig-hpc-bounces at r-project.org] On Behalf Of Noah Charney
Sent: Monday, January 18, 2010 11:59 AM
To: r-sig-hpc at r-project.org
Subject: [R-sig-hpc] snow clusters on Windows

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
    description           class            mode            text         
"<-Poopy:10187"      "sockconn"           "a+b"        "binary"       
       can read       can write
          "yes"           "yes"
[1] "localhost"
[1] "SOCKnode"
[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('',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

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

R-sig-hpc mailing list
R-sig-hpc at r-project.org

More information about the R-sig-hpc mailing list