I need to rewrite a software in R, that runs on a cluster. I thought Rmpi will be good for me but I can't find any help other than the Rmpi-manual that actually only describe the functions in the Rmpi package. Can someone point me to some usefull guide? For example, I would like to run a for-statement on several processors (a subset of the statement on each processor) but I can't figure out how to do this! Thanks -- Alessandro_O
Hi Alessandro, "Alessandro Balboni" <balboni.alessandro@student.unife.it> writes:> I need to rewrite a software in R, that runs on a cluster.If you haven't already, take a look at the snow package on CRAN. It provides an easier to use wrapper around either Rmpi or Rpvm. The included documentation has some examples that should get you going. + seth
If your computation is simple enough to express in terms of lapply or other apply calls that you want to have run in parallel then you might try the 'snow' package on CRAN which can run on top of Rmpi. Some places to get more details on that: stat.uiowa.edu/~luke/R/cluster/cluster.html bepress.com/cgi/viewcontent.cgi?article=1016&context=uwbiostat Best, luke On Thu, 10 Mar 2005, Alessandro Balboni wrote:> I need to rewrite a software in R, that runs on a cluster. > > I thought Rmpi will be good for me but I can't find > any help other than the Rmpi-manual that actually only > describe the functions in the Rmpi package. > > Can someone point me to some usefull guide? > > For example, I would like to run a for-statement on > several processors (a subset of the statement on each > processor) but I can't figure out how to do this! > > Thanks > >-- Luke Tierney Chair, Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics and Fax: 319-335-3017 Actuarial Science 241 Schaeffer Hall email: luke@stat.uiowa.edu Iowa City, IA 52242 WWW: stat.uiowa.edu