similar to: Snowfall: "cannont open connection " problem

Displaying 20 results from an estimated 400 matches similar to: "Snowfall: "cannont open connection " problem"

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),
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
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
2010 Feb 15
1
get current window (device) size
Dear R-listers, I am writing a function that will generate a simple plot for the user . The size of the window (that contains the plot) may not be what the user wants. Supposing the user adjusts the window to a size of her/his choice, I would like to be able to save the new window size and specify the plot to be of this new window size when the user calls my function again. My question is
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
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
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 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
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
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
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
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
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",
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 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
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 <<-
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
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
2006 Jun 14
0
Wine: Cannont Determine Executable Type For L"Z:\path\to\executable.exe"
I'm having a strange problem. I have two linux computers, one with Fedora Core (2 I believe, not sure, an IT guy set it up, I just use it), a second with RedHat 7.3 (same thing with an IT guy setting it up). When I try to run a program on the FC computer, it works perfectly fine. Heck, after a little bit of confusion with a dependency program (also a Windows executable), it worked