# Interface (Wrapper) to MPI (Message-Passing Interface)

## Documentation for package ‘Rmpi’ version 0.6-5

- DESCRIPTION file.
- Code demos. Use demo() to run them.

## Help Pages

L M S T

## -- L --

lamhosts | Hosts Information

## -- M --

mpi.abort | MPI\_Abort API
mpi.allgather | MPI\_Gather, MPI\_Gatherv, MPI\_Allgather, and MPI\_Allgatherv APIs
mpi.allgather.Robj | Extentions of MPI\_Gather and MPI\_Allgather APIs
mpi.allgatherv | MPI\_Gather, MPI\_Gatherv, MPI\_Allgather, and MPI\_Allgatherv APIs
mpi.allreduce | MPI\_Reduce and MPI\_Allreduce APIs
mpi.any.source | MPI Constants
mpi.any.tag | MPI Constants
mpi.apply | Scatter an array to slaves and then apply a FUN
mpi.applyLB | (Load balancing) parallel apply
mpi.barrier | MPI\_Barrier API
mpi.bcast | MPI\_Bcast API
mpi.bcast.cmd | Extension of MPI\_Bcast API
mpi.bcast.data2slave | Extensions of MPI\_Bcast API
mpi.bcast.Rfun2slave | Extensions of MPI\_Bcast API
mpi.bcast.Robj | Extensions of MPI\_Bcast API
mpi.bcast.Robj2slave | Extensions of MPI\_Bcast API
mpi.cancel | Nonblocking completion operations
mpi.cart.coords | MPI\_Cart\_coords
mpi.cart.create | MPI\_Cart\_create
mpi.cart.get | MPI\_Cart\_get
mpi.cart.rank | MPI\_Cart\_rank
mpi.cart.shift | MPI\_Cart\_shift
mpi.cartdim.get | MPI\_Cartdim\_get
mpi.close.Rslaves | Spawn and Close R Slaves
mpi.comm.c2f | MPI\_Comm\_c2f, MPI\_Comm\_dup, MPI\_Comm\_rank, and MPI\_Comm\_size APIs
mpi.comm.disconnect | MPI\_Comm\_disconnect API
mpi.comm.dup | MPI\_Comm\_c2f, MPI\_Comm\_dup, MPI\_Comm\_rank, and MPI\_Comm\_size APIs
mpi.comm.free | MPI\_Comm\_free API
mpi.comm.get.parent | MPI\_Comm\_get\_parent, MPI\_Comm\_remote\_size, MPI\_Comm\_test\_inter APIs
mpi.comm.is.null | Internal functions
mpi.comm.maxsize | Find and increase the lengthes of MPI opaques comm, request, and status
mpi.comm.rank | MPI\_Comm\_c2f, MPI\_Comm\_dup, MPI\_Comm\_rank, and MPI\_Comm\_size APIs
mpi.comm.remote.size | MPI\_Comm\_get\_parent, MPI\_Comm\_remote\_size, MPI\_Comm\_test\_inter APIs
mpi.comm.set.errhandler | MPI\_Comm\_set\_errhandler API
mpi.comm.size | MPI\_Comm\_c2f, MPI\_Comm\_dup, MPI\_Comm\_rank, and MPI\_Comm\_size APIs
mpi.comm.spawn | MPI\_Comm\_spawn API
mpi.comm.test.inter | MPI\_Comm\_get\_parent, MPI\_Comm\_remote\_size, MPI\_Comm\_test\_inter APIs
mpi.dims.create | MPI\_Dims\_create
mpi.exit | Exit MPI Environment
mpi.finalize | MPI\_Finalize API
mpi.gather | MPI\_Gather, MPI\_Gatherv, MPI\_Allgather, and MPI\_Allgatherv APIs
mpi.gather.Robj | Extentions of MPI\_Gather and MPI\_Allgather APIs
mpi.gatherv | MPI\_Gather, MPI\_Gatherv, MPI\_Allgather, and MPI\_Allgatherv APIs
mpi.get.count | MPI\_Get\_count API
mpi.get.processor.name | MPI\_Get\_processor\_name API
mpi.get.sourcetag | Utility for finding the source and tag of a received message
mpi.hostinfo | Hosts Information
mpi.iapply | Scatter an array to slaves and then apply a FUN
mpi.iapplyLB | (Load balancing) parallel apply with nonblocking features
mpi.info.create | MPI\_Info\_create, MPI\_Info\_free, MPI\_Info\_get, MPI\_Info\_set APIs
mpi.info.free | MPI\_Info\_create, MPI\_Info\_free, MPI\_Info\_get, MPI\_Info\_set APIs
mpi.info.get | MPI\_Info\_create, MPI\_Info\_free, MPI\_Info\_get, MPI\_Info\_set APIs
mpi.info.set | MPI\_Info\_create, MPI\_Info\_free, MPI\_Info\_get, MPI\_Info\_set APIs
mpi.intercomm.merge | MPI\_Intercomm\_merge API
mpi.iparApply | (Load balancing) parallel apply with nonblocking features
mpi.iparCapply | (Load balancing) parallel apply with nonblocking features
mpi.iparLapply | (Load balancing) parallel apply with nonblocking features
mpi.iparMM | (Load balancing) parallel apply with nonblocking features
mpi.iparRapply | (Load balancing) parallel apply with nonblocking features
mpi.iparReplicate | (Load balancing) parallel apply with nonblocking features
mpi.iparSapply | (Load balancing) parallel apply with nonblocking features
mpi.iprobe | MPI\_Probe and MPI\_Iprobe APIs
mpi.irecv | MPI\_Send, MPI\_Isend, MPI\_Recv, and MPI\_Irecv APIs
mpi.is.master | Hosts Information
mpi.isend | MPI\_Send, MPI\_Isend, MPI\_Recv, and MPI\_Irecv APIs
mpi.isend.Robj | Extensions of MPI\_Send and MPI\_Recv APIs
mpi.parApply | (Load balancing) parallel apply
mpi.parCapply | (Load balancing) parallel apply
mpi.parLapply | (Load balancing) parallel apply
mpi.parMM | (Load balancing) parallel apply
mpi.parRapply | (Load balancing) parallel apply
mpi.parReplicate | (Load balancing) parallel apply
mpi.parSapply | (Load balancing) parallel apply
mpi.parSim | Parallel Monte Carlo Simulation
mpi.probe | MPI\_Probe and MPI\_Iprobe APIs
mpi.proc.null | MPI Constants
mpi.quit | Exit MPI Environment
mpi.realloc.comm | Find and increase the lengthes of MPI opaques comm, request, and status
mpi.realloc.request | Find and increase the lengthes of MPI opaques comm, request, and status
mpi.realloc.status | Find and increase the lengthes of MPI opaques comm, request, and status
mpi.recv | MPI\_Send, MPI\_Isend, MPI\_Recv, and MPI\_Irecv APIs
mpi.recv.Robj | Extensions of MPI\_Send and MPI\_Recv APIs
mpi.reduce | MPI\_Reduce and MPI\_Allreduce APIs
mpi.remote.exec | Remote Executions on R slaves
mpi.request.maxsize | Find and increase the lengthes of MPI opaques comm, request, and status
mpi.scatter | MPI\_Scatter and MPI\_Scatterv APIs
mpi.scatter.Robj | Extensions of MPI\_ SCATTER and MPI\_SCATTERV
mpi.scatter.Robj2slave | Extensions of MPI\_ SCATTER and MPI\_SCATTERV
mpi.scatterv | MPI\_Scatter and MPI\_Scatterv APIs
mpi.send | MPI\_Send, MPI\_Isend, MPI\_Recv, and MPI\_Irecv APIs
mpi.send.Robj | Extensions of MPI\_Send and MPI\_Recv APIs
mpi.sendrecv | MPI\_Sendrecv and MPI\_Sendrecv\_replace APIs
mpi.sendrecv.replace | MPI\_Sendrecv and MPI\_Sendrecv\_replace APIs
mpi.setup.rngstream | Setup parallel RNG on all slaves
mpi.spawn.Rslaves | Spawn and Close R Slaves
mpi.status.maxsize | Find and increase the lengthes of MPI opaques comm, request, and status
mpi.test | Nonblocking completion operations
mpi.test.cancelled | Nonblocking completion operations
mpi.testall | Nonblocking completion operations
mpi.testany | Nonblocking completion operations
mpi.testsome | Nonblocking completion operations
mpi.universe.size | MPI\_Universe\_size API
mpi.wait | Nonblocking completion operations
mpi.waitall | Nonblocking completion operations
mpi.waitany | Nonblocking completion operations
mpi.waitsome | Nonblocking completion operations

## -- S --

slave.hostinfo | Hosts Information
string | Internal functions

## -- T --

tailslave.log | Spawn and Close R Slaves