I'm working with snow and created a local cluster. So far, the same code has always worked (please see below). However, now I receive a message that the connection with the nodes cannot be opened. I restarted my workstation but that didn't help. Is there a known solution for this problem? Thanks a lot for any help. bram foubert library(snow) cl makeSOCKcluster(c("localhost","localhost","localhost","localhost","localhost","localhost","localhost")) nrslaves = length(cl) CreateData= function(path){ ... } clusterApply(cl,c("bgcdata1.txt","bgcdata2.txt","bgcdata3.txt","bgcdata4.txt","bgcdata5.txt","bgcdata6.txt","bgcdata7.txt"),CreateData) Error in checkForRemoteErrors(val) : 7 nodes produced errors; first error: cannot open the connection -- View this message in context: http://r.789695.n4.nabble.com/Problems-in-snow-can-t-open-connection-with-nodes-tp2529692p2529692.html Sent from the R help mailing list archive at Nabble.com.
Abhijit Dasgupta
2010-Sep-07 14:35 UTC
[R] Problems in snow: can't open connection with nodes
This is a problem a few of us have experienced with snow, and there is a discussion on the R-hpc list about this. No solution yet, as far as I can tell. Abhijit On 9/7/2010 9:18 AM, bfoubert wrote:> I'm working with snow and created a local cluster. So far, the same code has > always worked (please see below). However, now I receive a message that the > connection with the nodes cannot be opened. I restarted my workstation but > that didn't help. Is there a known solution for this problem? Thanks a lot > for any help. > > bram foubert > > > library(snow) > cl > makeSOCKcluster(c("localhost","localhost","localhost","localhost","localhost","localhost","localhost")) > nrslaves = length(cl) > > CreateData= function(path){ > ... > } > > clusterApply(cl,c("bgcdata1.txt","bgcdata2.txt","bgcdata3.txt","bgcdata4.txt","bgcdata5.txt","bgcdata6.txt","bgcdata7.txt"),CreateData) > Error in checkForRemoteErrors(val) : > 7 nodes produced errors; first error: cannot open the connection > >[[alternative HTML version deleted]]