search for: snowfal

Displaying 20 results from an estimated 74 matches for "snowfal".

Did you mean: snowfall
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( pa...
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 ma...
2012 Nov 29
4
splitting a string by space except when contained within quotes
I've been trying to split a space delimited string with double-quotes in R for some time but without success. An example of a string is as follows: /rainfall snowfall "Channel storage" "Rivulet storage"/ It's important for us because these are column headings that must match the subsequent data. Here is some code I've been trying: str <- 'rainfall snowfall "Channel storage" "Rivulet storage"' regex...
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 net...
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 s...
2009 Dec 15
1
[Fwd: snowfall on Win7]
...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 +0100 > From: Ola Olsson <Ola.Olsson at zooekol.lu.se> > To: r-help at r-project.org <r-help at r-project.org> > > Dear list, > > Does the snowfall package work under Windows 7? > > Recently I upgraded from Windows Vi...
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) then snowfall works great. When I tried to understand the problem I tested local library and local script directory and starte...
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", representation(bb = 'character', c...
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 is that if, for any reason, one of the hosts is unable to initiate communi...
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 (with the error below). This value of...
2011 Jun 06
1
RPostgreSQL && snowfall
...duces an "expired PostgreSQLConnection" error. (Of course the passed Connection Object is usable at that moment and afterwards!) (2) For the creation of DB connections on every node a function handling the whole connection is sourced into every node. This function works perfectly without snowfall. Calling it with > sfClusterEval(dbConnect()) again only expired connection objects are produced. Even if I create the connection 'a line above' the code which is connecting to the DB it doesn't work... Is there a possibility to connect to PostgreSQL using snowfall? -- with kind...
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. sfI...
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 invariabl...
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: Un...
2014 Jan 28
0
Help for how to use "snowfall" package
Hi there, I have some question about how to use this package: My code structure is as follows: rm(list=ls()) set.seed(2014) library(snowfall) ############# #part 1: generate the initial value for simulation #part 2: some functions will be used in the simulation #simulation part, start from "while loop" sink('SnowFallExample.Rout', split=TRUE) .Platform .Machine R.version Sys.info() sfInit(parallel=TRUE,cpus=4,ty...
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("...
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(co...
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 si...
2011 Jan 12
1
snowfall
...14 15 16 17 18 19 20 0.02380952 0.01984127 0.07936508 0.02380952 0.01984127 0.01190476 0.02777778 0.02380952 0.01984127 0.01190476 0.02380952 0.01984127 0.02380952 0.02380952 0.01984127 0.02380952 0.01984127 0.02380952 0.02380952 0.02777778 library(snowfall) 2) > sfInit() snowfall 1.84 initialized: sequential execution, one CPU. > sfApply(dNiftyOpt,1,getTimeToMaturity) #Works 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17...
2012 Oct 02
0
duda snowfall: "Error in cut.default(i, breaks) : 'breaks' are not unique"
Hola: Soy bastante novato en el mundillo de la paralelización en R, y desde hace unos meses que uso Snowfall (con R 2.15.1 sobre GNU/Linux 64 bits) para paralelizar un script (por ahora usando las diferentes cpu''s de un servidor del trabajo; en un futuro, para lanzar el script en un cluster, etc.) La cosa es que después de "refactorizar" (¿se dice así en castellano?) el código par...