Displaying 20 results from an estimated 1100 matches similar to: "snow package, socketConnection error, SSH, in Windows 7 x64"
2012 Dec 19
1
problem with opening more than one SOCK cluster with package snow
Dear list,
i have some problems using the snow package to create a SOCK cluster.
The errors just occour irregularly but it seems to me that they occour
when I try to create more than one cluster on the same machine via
different R instances started via submitting LSF jobs to a cluster. Does
anyone have an idea how to solve this or where to start digging for
solutions?
The error messages
2007 Aug 14
1
makeSOCKcluster
Hi,
I am attempting to implement a mixed (windows/linux) snow sockets
parallelism in R, but am running into difficulties similar to a post made
Aug 31, 2006 under the same subject heading. I feel like I may be one or
two non-obvious steps away from getting it all working, but I'm stuck. If
anyone can shed some light on this (I believe Prof. Tierney stated that he
has successfully run a
2003 Feb 07
1
Bug in socketConnection (PR#2535)
Platform: Windows
Version: 1.6.2
When first called, socketConnection gives an error. On subsequent calls it
performs correctly. Thus the first call has the effect of "priming" the
connection. Eg
> socketConnection(port=50)
Error in socketConnection(port = 50) : unable to open connection In
addition: Warning message:
localhost:50 cannot be opened
> MIM <-
2006 Sep 01
2
makeSOCKcluster
Hi,
I am a newbie to R and trying to implement parallelism in R. I am currently using R-2.3.1, and Cygwin to run R on Windows xp.
ssh and all are working fine,
When I try to create a socket connection as
makeSOCKcluster(c("localhost","localhost")),
it just waits for the other prcess on localhost to get created and respond. But this other process is
2009 Apr 09
0
Connecting to "heterogenous" cluster using makeSOCKcluster of SNOW-package
When trying to create (a very simple) cluster using makeSOCKcluster or
makeCluster I get the following error message:
> library(snow)
> cl <- makeSOCKcluster("localhost")
Fatal error: kann Datei
'~/R/i686-suse-linux-gnu-library/2.8/snow/RSOCKnode.R' nicht ?ffnen: Datei
oder Verzeichnis nicht gefunden
(translation: could not open file [...]: File or directory not
2006 Aug 25
2
increasing the # of socket connections
Dear "R-help"ers,
using snow on socket connections, I ran into the following error
> cl <- makeSOCKcluster(hosts)
Error in socketConnection(port = port, server = TRUE,
blocking = TRUE : all connections are in use
with "showConnections(all=T)" showing 50 open connections.
As - for administrative reasons - I would prefer to use snow's
SOCK capabilities (instead
2016 Jan 15
1
Error in socketConnection(master, port = port, blocking = TRUE, open = "a+b", : cannot open the connection
Dear All
I have sucessfully created cluster of four nodes using localhost in my local machine by executing the following command
> cl<-makePSOCKcluster(c(rep("localhost",4)),outfile='',homogeneous=FALSE,port=11001)
starting worker pid=4271 on localhost:11001 at 12:12:26.164
starting worker pid=4280 on localhost:11001 at 12:12:26.309
starting worker pid=4289 on
2009 Jan 09
1
snow and different R versions
Dear Luke and others,
I have many R versions on my machine and want to start a particular
one when snow builds its cluster. (The same version I start snow
from.) It seems that everything is set up correctly in
defaultClusterOptions:
> mget(ls(defaultClusterOptions), defaultClusterOptions)
$homogeneous
[1] TRUE
$manual
[1] FALSE
$master
nodename
"maya.unil.ch"
$outfile
[1]
2008 Dec 31
1
Problem with package SNOW on MacOS X 10.5.5
Hello All,
I can run the "lower level" functions OK, but many of the higher level
(eg. parSApply) functions are generating errors.
When running the example (from the snow help docs) for parApply on
MacOSX 10.5.5, I get the
following error:
cl <- makeSOCKcluster(c("localhost","localhost"))
sum(parApply(cl, matrix(1:100,10), 1, sum))
Error in
2008 Oct 22
1
torque/psb & snow library
Hello all;
I'm trying to execute parallel jobs trough library snow on a cluster built
through torque/PSB. I'm succesfully obtaining the cluster with:
>system("cat $PBS_NODEFILE > cluster.txt")
>mycluster <- scan(file="cluster.txt",what="character")
>cl <- makeSOCKcluster(mycluster)
The only problem, at the moment, is that if I use
2010 Sep 07
1
Problems in snow: can't open connection with nodes
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 =
2011 Jun 12
1
snow package
Hi
I try parallelising some code using the snow package and the following lines:
cl <- makeSOCKcluster(8)
pfunc <- function (x) (if(x <= (-th)) 1 else 0) ###correlation coefficient
clusterExport(cl,c("pfunc","th"))
cor.c.f <- parApply(cl,tms,c(1,2),FUN=pfunc)
The parApply results in the error message:
> cor.c.f <- parApply(cl,tms,c(1,2),FUN=pfunc)
Error
2011 Nov 18
3
Windows binaries: Version and revision strings show "(2006-00-00 r00000)"
FYI,
for the last few revision the version string for both R v2.14.0
patched and R devel are not correct for the Windows binaries. This is
what R --version and sessionInfo() report since a couple of days:
R version 2.14.0 Patched (2006-00-00 r00000)
R Under development (unstable) (2006-00-00 r00000)
Also, "r00000" is listed as the revision on:
2008 Jul 04
2
experinental revision of the 'snow' package
A new version of the 'snow' package for parallel computing in R is
available at
http://www.stat.uiowa.edu/~luke/R/cluster/snow_0.3-3.tar.gz
This substantially revises the way in which worker processes are
started to allow snow to be used on Windows and Mac/Windows/Linux
combinations. I have successfully used the SOCK version on a
standalone Windows machine and combinations of
2013 Aug 02
1
segfault and RunSnowWorker: not found
Hi,
While I suspect that this is an issue peculiar to my machine (Debian squeeze amd64, R version 3.0.1, up-to-date packages), I'm hoping that somebody on this list may be able to give me suggestions on how to troubleshoot and fix the following:
> library (snow)
> cl <- makeSOCKcluster(c("localhost","localhost"))
sh: 1: RunSnowWorker: not found
I presume/hope
2009 May 09
1
Problem with package SNOW on MacOS X 10.5.5
Hi Greg,
I don't know if this is related to your problem, but
I get the same error (on both ubuntu and fedora linux, R 2.9) and just
found a very curious behaviour - snowfall apply functions don't like the
variable name "c".
E.g.:
c<-1
sfLapply(1:10, exp)
issues the same error you had posted, while subsequent
rm("c")
sfLapply(1:10, exp)
runs fine.
Rainer
2012 Jun 11
0
snow, ssh, and socket connections
I'm trying to setup a snow grid using sockets (Windows 7). On the test grid (my computer and another) I have an SSHD server up and running, can connect OK via public key authentication. Running "makeSOCKcluster" on just my local machine works OK. Running it to the other computer fails. My SSH logs show the connection accepted, authenticated and then dropped.
I
2012 Oct 04
1
(minor) R syntax error in help page to the function makeCluster of library(snow)
Dear list,
I just realized that one of the examples given in the help page to the
function makeCluster of the library(snow) has a small syntax error :
## to get started
library(snow)
?makeCluster
.. will open a halp page containing the command towards the end of the
examples :
cl <- makeCluster(c(rep(list(macOptions), 2), rep(list(lnxOptions), 2),
rep(list(winOptions),
2004 May 27
0
blocking question with socketConnections
I am writing a function to make a multi-part form
request with binary data. I am running R 1.8.1 on
Linux ReadHat.
The sockectConnection is initialized with open="a+b"
and blocking=TRUE.
After writing the Post request using writeChar and
writeBin and flushing the connection I use
socketSelect to check if the socketConnection is
availabe for reading. This call consistently takes 15
2010 Oct 11
0
OT: snow socket clusters with VirtualBox and VMware player (Linux host, Win guest)
Dear All,
I am trying to create socket clusters (using snow and snowfall) with a
Windows OS. I am running Windows inside VirtualBox and VMware player
(i.e., Windows is guest) from a Debian Linux host system (I've tried
in two different Linux systems, an AMD x86-64 workstation and an Intel
i686 laptop). However, almost always seting up the cluster fails:
either R will hang forever or I will