search for: setdefaultclusteroptions

Displaying 5 results from an estimated 5 matches for "setdefaultclusteroptions".

2006 Apr 20
1
Parallel computing with the snow package: external file I/O possible?
...oud()) should be independent. However, in the code below, the directory created by each node has the same random number in its name. I was expecting the contents of fun() or fn() to be independent from all other executions of the same function. What am I missing here? # Begin code library(snow) setDefaultClusterOptions(outfile="/tmp/cluster1") setDefaultClusterOptions(master="moab") cl <- makeCluster(c("moab", "escalante"), type="SOCK") # Define base pathname for output from my.test() base.dir <- "~" # Define a function that is called by clusterC...
2006 Mar 13
1
Parallel computing with the snow package: external file I/O possible?
...sin, 2) > [[1]] > [1] 0.9092974 > > [[2]] > [1] 0.9092974 > I do indeed get the above result, so I presume the network setup is ok. Next I tested a function that creates a file. Here is the code that I sourced from the master ("moab"): # begin script library(snow) setDefaultClusterOptions(outfile="/tmp/cluster1") setDefaultClusterOptions(master="moab") cl <- makeCluster(c("moab", "escalante"), type="SOCK") # Define base pathname for output from my.test() base.dir <- "./test" # Define a function that includes some f...
2009 Apr 09
0
Connecting to "heterogenous" cluster using makeSOCKcluster of SNOW-package
...ccess right: ls -l ~/R/i686-suse-linux-gnu-library/2.8/snow/RSOCKnode.R -rwxrwxrwx 1 GEOECOLOGY\francke GEOECOLOGY\mitarbeiter 911 7. Apr 14:51 /home/GEOECOLOGY/francke/R/i686-suse-linux-gnu-library/2.8/snow/RSOCKnode.R In contrast, creating explicitly "homogenous" cluster works: > setDefaultClusterOptions(homogeneous = TRUE) > cl <- makeSOCKcluster("localhost") Since I intend to use really "inhomgenous" clusters, I followed the respective instructions given on http://www.stat.uiowa.edu/~luke/R/cluster/cluster.html#Section:InhomogeneousSystems. I also tried the modifi...
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 May 14
0
Parallel computing with rgenoud and snow: external file I/O possible?
...reaking. working.dir <- "/projects/dhsvm/uvm/test/rhelp/" results.file <- "test_results.txt" # file to save results in # Set up the cluster this.host <- system("hostname", intern=T) node <- c(this.host, "escalante") # add additional nodes here setDefaultClusterOptions(master=this.host, type="SOCK", homogeneous=T, outfile="/tmp/cluster1") cl <- makeCluster(node) #clusterSetupRNG(cl) # init random number generator to ensure each node has a different seed # Define the function that will be called by genoud() drive.calib <- function(xx) {...