[Rd] How to call an MPI-enabled program from R?

From: Alireza Mahani <alireza.s.mahani_at_gmail.com>
Date: Thu, 22 Sep 2011 11:08:40 -0700 (PDT)


Conceptually, how is it possible to call an MPI-parallelized code in C from R? My experience with MPI so far indicates that one has to launch an MPI-enabled binary using a command like

mpiexec -n <number of processes> <name of binary>

In other words, I'm not sure how to create an MPI 'library' and then call it from a single-threaded application. In this sense, my question is perhaps not strictly a R question but an MPI question. (Using a system call forces one to use disk as intermediary between R and the MPI binary to pass data between the two.)

I am also aware of packages such as Rmpi, but at this stage I want to be able to understand the low-level capabilities rather than relying on an abstraction layer.

Thank you,
Alireza

--
View this message in context: http://r.789695.n4.nabble.com/How-to-call-an-MPI-enabled-program-from-R-tp3834332p3834332.html
Sent from the R devel mailing list archive at Nabble.com.

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 22 Sep 2011 - 18:12:14 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 23 Sep 2011 - 00:10:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive