Displaying 1 result from an estimated 1 matches for "domything".
Did you mean:
domething
2008 Mar 05
0
rsprng, snow, rmpi interactions
...ses.
Here's what I did, trying to stick within SNOW to avoid trouble (from
memory):
lamboot
start up R
library(snow)
library(rsprng)
library(rmpi)
cl<-makeMPIcluster(11)
clusterSetupSPRNG(cl, seed=123)
clusterEvalQ(cl, source("mycode.R"))
r<-parSapply(cl, seq(1000), function(i) doMyThing()))
Any comments on that? For example, would sticking to Rmpi and using
parSim make sense (I'm not using seq(1000) for anything but getting that
many repetitions.)?
Both rmpi and rsprng had a bunch of functions for setting of the
parallel random number generators. Could anyone clarify if th...