Hello, I would like to know how to use Rmpi on a cluster but usually the workflow of the cluster uses sun grid engine to launch jobs. I found this reference on the web http://borisv.lk.net/howtos/grid-mpi-r-howto.html. But I could not even reproduce that example some errors with> n.cores <- mpi.universe.size()But regardless of this error do you have any resources on running R on a cluster? Best regards, Jeremie
> On Jul 1, 2018, at 6:32 AM, Jeremie Juste <jeremiejuste at gmail.com> wrote: > > > Hello, > > I would like to know how to use Rmpi on a cluster but usually the > workflow of the cluster uses sun grid engine to launch jobs. > > I found this reference on the web > http://borisv.lk.net/howtos/grid-mpi-r-howto.html. > > But I could not even reproduce that example some errors with >> n.cores <- mpi.universe.size() >"Some errors"? I'm not sure how you could be any more vague.> But regardless of this error do you have any resources on running R on a > cluster? > > > Best regards, > > Jeremie > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law
David Winsemius <dwinsemius at comcast.net> writes:>> On Jul 1, 2018, at 6:32 AM, Jeremie Juste <jeremiejuste at gmail.com> wrote: >> >> >> Hello, >> >> I would like to know how to use Rmpi on a cluster but usually the >> workflow of the cluster uses sun grid engine to launch jobs. >> >> I found this reference on the web >> http://borisv.lk.net/howtos/grid-mpi-r-howto.html. >> >> But I could not even reproduce that example some errors with >>> n.cores <- mpi.universe.size() >> > > "Some errors"? I'm not sure how you could be any more vague. > > >> But regardless of this error do you have any resources on running R on a >> cluster?In keeping with the vagueness of the posting, I can contribute my experience that installing Rmpi on a cluster is in general not trivial. You potentially have to ensure that your are using the correct combination of compiler and MPI implementation to build the packages and then ensure that the environment is correspondingly set up for the jobs you submit to the cluster. I would maintain that installing Rmpi should normally be done by the cluster administrator and the he/she should then be able to provide the users with the information about how to use it. Cheers, Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universit?t Berlin Email loris.bennett at fu-berlin.de