I'm trying to parallel compute with doSNOW and foreach package (%dopar%) on
my 4 core W7 32 bit machine.

I'm stuck at the first line when I try to create a cluster

wrk  <-  makeCluster(spec = 4, type = "SOCK")

The computer hangs and waits until I stop the process.

Following some advice from this
list<http://article.gmane.org/gmane.comp.lang.r.hpc/216/>,
I tried "nudging" it from another terminal (running the same command). I got
the following error.

Error in socketConnection(port = port, server = TRUE, blocking = TRUE,  :
  cannot open the connection
In addition: Warning message:
In socketConnection(port = port, server = TRUE, blocking = TRUE,  :
  port 10187 cannot be opened

Per advice from the same link I tried adding outfile argument, but nothing
happened (looks like cluster wasn't created).

wrk <- makeSOCKcluster(rep("localhost", 4), manual = TRUE, outfile =
"d:/workspace/para/snow.log")

Manually start worker on localhost with
     C:\Program Files\R\R-2.11.1/bin/Rscript.exe
C:/Users/romunov/Documents/R/win-library/2.11/snow/RSOCKnode.R
MASTER=localhost PORT=10187 OUT=d:/workspace/para/snow.log
SNOWLIB=C:/Users/romunov/Documents/R/win-library/2.11

I have tried turning off firewall and program blocker, but I got the same,
unresponsive, result. Any suggestions welcome.

Cheers,
Roman



R version 2.11.1 (2010-05-31)
i386-pc-mingw32

locale:
[1] LC_COLLATE=Slovenian_Slovenia.1250  LC_CTYPE=Slovenian_Slovenia.1250
[3] LC_MONETARY=Slovenian_Slovenia.1250 LC_NUMERIC=C
[5] LC_TIME=Slovenian_Slovenia.1250

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] doSNOW_1.0.3    snow_0.3-3      foreach_1.3.0   codetools_0.2-2
[5] iterators_1.0.3

loaded via a namespace (and not attached):
[1] tools_2.11.1

-- 
In God we trust, all others bring data.

	[[alternative HTML version deleted]]

