Displaying 20 results from an estimated 900 matches similar to: "snow makeCluster (makeSOCKcluster) not working in R-2.11"
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
2009 Jun 16
0
Connecting to "heterogenous" cluster using makeSOCKcluster of SNOW-package
Thanks to Luke Tiernay and some experimenting I found out some issues. I
don't claim this infomation is complete, but it may be helpful for anyone
experimenting with SNOW on Linux:
- environment variables PATH and R_SNOW_LIB need to be set on master and
slaves.
(manually or permanent in ~/.bashrc (adjust your pathnames accordingly).
Don't use ~ for home directory, instead specify
2012 Aug 08
1
random number generator with SNOW/ Parallel/ foreach
Dear All,
I have three classes of questions about generating random numbers with
different packages (windows xp 32bit R).
.
1. Suppose I would like to use package *foreach*, can I use current
Sys.time as a seed?
Although I can get the time up to1e-6 second precesion, the code below dose
not work well on a local machine with two cores. #################
library(foreach)
library(snow)
2012 May 08
1
revolution foreach oddity
I know this is not a revolution support forum, but as anyone noticed the
following?
I have a foreach loop to generate random samples. If I run the exact code
below in normal r (2.14.1) it works as expected, but if I run it from
revolution 4.2.0 each loop returns the same numbers.
The only way I can get revolution to give different numbers is using 1
instead of 8 in
registerDoSNOW(makeCluster(8,
2012 Jan 18
0
makeCluster() function in doSNOW package hangs
Dear R help,
I am trying to set up a cluster for parallel computing on a machine
running 64-bit windows XP, using the doSNOW package on R 2.14.1.
However, the command makeCluster() consistently makes the computer hang.
No R processes are started, no CPU consumed, R just becomes
unresponsive. ESC still terminates the command, but I cannot start the
cluster. There seems to be quite a lot of posts
2011 Feb 25
1
Question about foreach (with doSNOW), is that a bug?
Hi all,
Within a foreach loop with doSNOW, we cant call functions which come from
the non-default package. We need to load(require/library) the package once
more within the foreach loop. Anyone knows why would happen like this? Is it
caused by the snow package and something happened when "snow" parallelize
the job?
Other than load the package once more with in the foreach loop, is
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),
2012 Sep 21
2
Parallel Programming
I am trying to do parallel programming and I tried this
library(doSNOW)
library(foreach)
testfunc<-function(x){
x<-x+1
x
}
noc<-2
cl <- makeCluster(do.call(rbind,rep(list("localhost"),noc)), type = "SOCK")
registerDoSNOW(cl)
clusterExport(cl=cl,c("testfunc.r"))
testl<-foreach(pp=1:2) %dopar% {
testfunc(pp)
}
And this works but if I try to
2009 Mar 26
1
Snow Parallel R: makeCluster with more nodes than available
Hi all,
I would like to know what would happen if using snow I create a cluster
of size 50, for example using makeCluster(50,type='SOCK') on a machine
with 2 Cores and run a function. Does snow run 25 and 25 functions on
each of my 2 "real" processors or it just run 50 functions in one
processor ?
Thanks.
2010 Dec 17
1
[R-sig-hpc] Error in makeMPIcluster(spec, ...): how to get a minimal example for parallel computing with doSNOW to run?
Shouldn't -n be 4 in the bsub command?
One master+3 slaves. This was required for snowfall, but I think doSNOW
is similar.
Hope it helps
mario
On 16-Dec-10 23:09, Marius Hofert wrote:
> Dear expeRts,
>
> I try to get a minimal example for parallel computing via "foreach" + "doSNOW" to run on a computer cluster (Brutus from
2013 Sep 27
1
snow::makeCluster on Windows hangs
The command which hangs:
I'm hoping there is a simple explanation, but I searched on-line and
nothing jumped out.
> cl <- makeCluster(type="SOCK",c("localhost"),manual=TRUE)
Manually start worker on localhost with
C:/PROGRA~1/R/R-214~1.2/bin/Rscript.exe "C:/Program
Files/R/R-2.14.2/library/snow/RSOCKnode.R" MASTER=localhost PORT=11944
OUT=/dev/null
2015 Feb 09
2
R CMD check: Uses the superseded package: ‘doSNOW’
Dear list,
When I run an R CMD check --as-cran on my package (pROC) I get the
following note:
> Uses the superseded package: ?doSNOW?
The fact that it uses the doSNOW package is correct as I have the
following example in an .Rd file:
> #ifdef windows
> if (require(doSNOW)) {
> registerDoSNOW(cl <- makeCluster(2, type = "SOCK"))
> ci(roc2,
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
2015 Feb 10
1
R CMD check: Uses the superseded package: ‘doSNOW’
Oh, I completely missed that one.
It's very neat as it seems to work both on Windows and Unix.
Thanks!
Xavier
On 10/02/15 10:52, Martyn Plummer wrote:
> The CRAN package snow is superseded by the parallel package which is
> distributed with R since version 2.14.0. Here are the release notes
>
> \item There is a new package \pkg{parallel}.
>
> It incorporates (slightly
2015 Oct 19
1
R 3.2.2 - make check and install package hang
Below is the output. Thanks for the help.
> Sys.getenv()
BASH_FUNC_module() () { eval
`/cm/local/apps/environment-modules/3.2.10/Modules/$MODULE_VERSION/bin/modulecmd
bash $*` }
COLUMNS 152
CPATH /cm/shared/apps/uge/8.2.1/include
CVS_RSH ssh
DISPLAY localhost:10.0
EDITOR
2011 Mar 13
1
R hangs when connected via VPN [incl. minimal example]
Dear expeRts,
This is a similar post as on R-SIG-MAC [I didn't receive an answer there; not sure if it was the right place to post either].
I'm running R version 2.12.1 (Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit))
on a MacBook Pro under Mac OS X 10.6.6. The following minimal example runs fine
under this setup. However, if I am connected to a server via a VPN client
[Cisco
2013 Jan 23
3
How to construct a valid seed for l'Ecuyer's method with given .Random.seed?
Dear expeRts,
I struggle with the following problem using snow clusters for parallel computing: I would like to specify l'Ecuyer's random number generator. Base R creates a .Random.seed of length 7, the first value indicating the kind fo random number generator. I would thus like to use the components 2 to 7 as the seed for l'Ecuyer's random number generator.
By doing so, I
2010 Dec 02
1
using foreach (parallel processing)
Hello group,
I am experimenting with parallel processing on my quad core Win 7 32
bit machine. Using these packages for the first time.
I can see all my processor running at full performance when I use a
smaller dataset
require(snow)
require(doSNOW)
require(foreach)
#change the 8 to however many cores\phys processors you have on your machine
cl.tmp = makeCluster(rep("localhost",4),
2015 Feb 10
0
R CMD check: Uses the superseded package: ‘doSNOW’
The CRAN package snow is superseded by the parallel package which is
distributed with R since version 2.14.0. Here are the release notes
\item There is a new package \pkg{parallel}.
It incorporates (slightly revised) copies of packages
\CRANpkg{multicore} and \CRANpkg{snow} (excluding MPI, PVM and NWS
clusters). Code written to use the higher-level API functions in
those packages should