similar to: Help for how to use "snowfall" package

Displaying 20 results from an estimated 3000 matches similar to: "Help for how to use "snowfall" package"

2008 Dec 06
1
snowfall sfInit error
Dear all, I am trying to execute the simple example in snowfall http://cran.r-project.org/web/packages/snowfall/vignettes/snowfall.pdf ... require(snow) require(snowfall) sfInit( parallel=TRUE, cpus=2 ) sfLapply( 1:10, exp ) sfStop() I have installed the snow and snowfall packages in R on a machine with windows xp, however, after running the "sfInit( parallel=TRUE, cpus=2 )" line I
2009 Mar 24
0
no snowfall on debian after lenny upgrade
I feel like I've tried the works on something that should be obvious but I'm stuck. Package snowfall used to run just great under debian etch (amd-64, 2x quad-core). After upgrading to lenny (debian 5, reinstalled from scratch), I haven't been able to get snowfall running again. Password-less ssh works fine to localhost, its IP, or zero- config name. But when calling sfInit I
2011 Sep 24
1
Can't reliably use RefClass methods in Snowfall
Greetings, I am trying to use Reference Class methods in Snowfall, using R 2.12.1 on Ubuntu Natty. Using then directly seems to work (stanza 2 below), but using them indirectly does not (stanza 3 below). I get an "attempt to apply non-function" error. In addition to exporting the instance of the object I created to the Snowfall slaves, I also made several attempts to export the
2011 Apr 08
2
Snow/Snowfall hangs on windows 7
Dear users, I want to set up R to use one R-script directory and one R-library (directory for packages) for many end-users. I try to do this by using one network-share. This works fine as long as we don't use the snowfall package with parallel=TRUE (sfInit(parallel=TRUE, cpus=4, type="SOCK")). When running R with default settings (local library and local script directory)
2009 Sep 22
0
snowfall: missing MPI node
Hello, I don't know if the question pertains to Rmpi, snow or snowfall. I run my job by: mpirun -np N -hostfile $PBS_NODEFILE RMPISNOW -f my-script.r --slave In the snowfall sfInit call I have to specify one less CPU respect to the mpirun call sfInit(parallel=TRUE, cpus=N-1, type="MPI") otherwise I receive an error similar to: "cluster size N-1 already
2012 Jun 28
1
undefined S4 class in parallel computing at snowfall
Dear All, I have a question of how to export S4 class specification to clusters/workers in parallel computing. The package I used is snowfall. The problem is reproducible as follows. Any hint is greatly appreciated. Edwin Sun === begin =========== library(snowfall) sfInit(parallel = TRUE, cpus = 2) setClass("catt", representation(aa = "numeric")) setClass("dogg",
2010 Jun 24
0
Snowfall: "cannont open connection " problem
Dear R-listers, I have been using Snowfall (version 1.84) for parallel computing on a quad-PC running Windows 7 for a month or so without much problem. I started having problems runnnig R with Snowfall over our network when a new Novell client was installed for Windows 7. I experinenced network mapping problem with this new client. Our network colleague provided a fix which worked but a little
2011 Jan 12
1
snowfall
Hello, Just wondering why I am unable to run this in parallel. A dput of my dataset is attached at the end. Please use to create my data object. I want to run this function in parallel (not sure if this is an efficient implementation): #Function to calculate the time to maturity for the option require(fCalendar,quietly=TRUE) #Trying to calculate the trading days
2009 Dec 15
1
[Fwd: snowfall on Win7]
Dear Ola, I cannot say anything about Windows 7, as we do not have any Win7 machines here in our institute and I even do not know someone who have Win7 on a private machine. I will try to find a machine with this OS and test it. Anybody having experiences with Win7 yet? Greetings Jo > -------- Original Message -------- > Subject: [R] snowfall on Win7 > Date: Tue, 15 Dec 2009 11:25:37
2009 Sep 22
0
(correction) snowfall+Rmpi: sfExport error
Sorry for wasting your time with an incorrect diagnosis in my previous mail! I'm running my script using mpirun -mp 4 and using snowfall+Rmpi on Linux 64bits. I receive the following error, that terminates the run. Any idea? I'm able to reproduce the problem with a minimal script (below). If n < 16371 it completes 9 iterations without problems. Already at 16371 it dies at iteration 7
2016 Apr 28
0
Snowfall - Error in checkForRemoteErrors(val) with sfClusterApplyLB()
Hello, I'm trying to run a code that uses the snowfall package. Here is the structure of my code. sfInit(parallel=T, cpus = 5, slaveOutfile="ErrorMessage.txt") sfExportAll() sfLibrary(rgdal) sfLibrary(raster) sfLibrary(sp) sfLibrary(rgeos) sfLibrary(snowfall) system.time( sfClusterApplyLB(1:10, function(k) { sfCat(paste("Iteration ", k),
2009 Sep 22
0
snowfall: sfExport apparently harmless error
I'm running my script using mpirun -mp 4 and using snowfall+Rmpi on Linux 64bits. I receive the following error, but apparently without consequences on the results. Any idea? I'm able to reproduce it with a minimal script (below). Seems the critical issue is the for loop. Without it no error. Thanks for your help! TERM: Undefined variable. TERM: Undefined variable. TERM: Undefined
2009 Dec 15
0
snowfall on Win7
Dear list, Does the snowfall package work under Windows 7? Recently I upgraded from Windows Vista to Windows 7, and at the same time upgraded R from 2.8.1 to 2.10. On my machine (Intel i7 based) snowfall worked perfectly on my previous installation, but after the upgrade the same scripts do not work. When I issue e.g. sfInit(parallel=T, cpus=2) # (or 'cpus=7', which I often used
2008 Jul 16
1
Problems with snowfall
Guys, Is anyone using snowfall? It seems that the last version is broken. sfinit contains test code: data("config", package = "snowfall") configM <- as.matrix(t(config)) config <- as.list(configM) names(config) <- dimnames(configM)[[2]] .sfOption$SERVER <<- as.character(config[["SERVER"]]) .sfOption$PORT <<-
2008 Sep 27
1
Problem with R on dual core under Linux - can not execute mpi.spawn.Rslaves()
Hi I am trying to utilize my dual core processor (and later a High-performance clusters (HPC) ) by using the Rmpi, snow, snowfall, ... packages, but I am struggling at the beginning, i.e. to initialise the "cluster" on my dual core computer. Whenever I try to initialize it (via sfInit(parallel=TRUE, cpus=2) or mpi.spawn.Rslaves(nslaves=2) ), I get an error message: >
2009 Sep 02
0
Implementing timeouts or multithreading in R to solve hanging network problem? (Snowfall)
Hello, I'm new to R and I'm building a system that uses a cluster of computers to parallelize computations. To handle cluster setup I'm using the R package Snowfall, but knowledge of Snowfall may not be necessary to answer my question. I'm using a socket-based approach to cluster setup, so all I need to do is give Snowfall a vector of hostnames and it handles the rest. The problem
2012 Apr 05
1
is parallel computing possible for 'rollapplyr' job?
  Hi,   The code below does exactly what I want in sequential mode. But, it is slow and I want to run it in parallel mode. I examined some windows version packages (parallel, snow, snowfall,..) but could not solve my specific problem. As far as I understood, either I have to write a new function like sfRollapplyr or I have to change my code in a way that it utilizes lapply, or sapply instead of
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
2009 Sep 02
1
foreach + snowfall for multicore situations
Hello dear R community. I just started playing with the snowfall package (a wrapper for the snow package), and found it very convenient. (See also this great website: http://www.imbi.uni-freiburg.de/parallel/ ) I was wondering if it is possible to connect snowfall with the foreach package (since it has some connection to snow). My final goal is to do some simple parallel simulations on my two
2011 Jun 06
1
RPostgreSQL && snowfall
Dear expeRts, I'm currently trying to get data from a PostgreSQL database _in parallel_. I tried two methods: * passing the DBI Connection object to the cluster nodes * connecting the the DB on each node (1) The execution of the first method looks like this: > result = sfClusterApplyLB(input, fun, dbiCon) and produces an "expired PostgreSQLConnection" error. (Of course the