| 1 |
MPI APIs: |
| 2 |
|
| 3 |
mpi.abort Abort (quit) all tasks associated with a comm |
| 4 |
mpi.allgather Gather data from each process to all process |
| 5 |
mpi.allgatherv Gather diff size data from each process to all process |
| 6 |
mpi.allreduce Reduce all process's vectors into one vector |
| 7 |
mpi.barrier Block the caller until all group have called it |
| 8 |
mpi.bcast Broadcast a vector (int,double,char) to every process |
| 9 |
mpi.cancel Cancel a nonblocking send or recv |
| 10 |
mpi.cart.coords Translate a rank to the Cartesian topology coordinate |
| 11 |
mpi.cart.create Create a Cartesian structure of arbitrary dimension |
| 12 |
mpi.cartdim.get Get dim information about a Cartesian topology |
| 13 |
mpi.cart.get Provide the Cartesian topology associated with a comm |
| 14 |
mpi.cart.rank Translate a Cartesian topology coordinate to the rank |
| 15 |
mpi.cart.shift Shift Cartesian topology in displacement and direction |
| 16 |
mpi.comm.disconnect Disconeect and free a comm |
| 17 |
mpi.comm.dup Duplicate a comm to a new comm |
| 18 |
mpi.comm.c2f Convert a comm into an integer used by extern Fortran |
| 19 |
mpi.comm.free Free a comm |
| 20 |
mpi.comm.get.parent Get the parent intercomm |
| 21 |
mpi.comm.rank Find the rank (process id) of master and slaves |
| 22 |
mpi.comm.remote.size Find the size of a remote group from an intercomm |
| 23 |
mpi.comm.size Find the size (total # of master and slaves) |
| 24 |
mpi.comm.set.errhandler Set comm to error return (no crash) |
| 25 |
mpi.comm.spawn Spawn slaves |
| 26 |
mpi.comm.test.inter Test if a comm is an intercomm |
| 27 |
mpi.dims.create Create a Cartesian dim used by mpi.cart.create |
| 28 |
mpi.finalize Exit MPI environment (call MPI_Finalize()) |
| 29 |
mpi.gather Gather data from each process to a root process |
| 30 |
mpi.gatherv Gather diff data from each process to a root process |
| 31 |
mpi.get.count Get the length of a message for given status and type |
| 32 |
mpi.get.processor.name Get the process (host) name |
| 33 |
mpi.info.create Create an info object |
| 34 |
mpi.info.free Free an info object |
| 35 |
mpi.info.get Get the value from an info object and a key |
| 36 |
mpi.info.set Set a key/value pair of an info object |
| 37 |
mpi.intercomm.merge Merge a intercomm to a comm |
| 38 |
mpi.iprobe Nonblocking use a source and a tag to set status |
| 39 |
mpi.irecv Nonblocking receive a vector from a specific process |
| 40 |
mpi.isend Nonblocking send a vector to a specific process |
| 41 |
mpi.probe Use a source and a tag to set status |
| 42 |
mpi.recv Receive a vector from a specific process |
| 43 |
mpi.reduce Reduce all processes's vectors into one (one process) |
| 44 |
mpi.scatter Opposite of mpi.gather |
| 45 |
mpi.scatterv Opposite of mpi.gatherv (diff size data) |
| 46 |
mpi.send Send a vector to a specific process |
| 47 |
mpi.sendrecv Send & receive different vectors in one call |
| 48 |
mpi.sendrecv.replace Send & replace a vector in one call |
| 49 |
mpi.test Test if a nonblocking send/recv request is complete |
| 50 |
mpi.testall Test if all nonblocking send/recv requests are complete |
| 51 |
mpi.testany Test if any nonblocking send/recv requests are complete |
| 52 |
mpi.testsome Test if some nonblocking send/recv requests are complete |
| 53 |
mpi.test.cancelled Test if a communication is cancelled by mpi.cancel |
| 54 |
mpi.universe.size Total number of CPUs available |
| 55 |
mpi.wait Wait if a nonblocking send/recv request is complete |
| 56 |
mpi.waitall Wait if all nonblocking send/recv requests are complete |
| 57 |
mpi.waitany Wait if any nonblocking send/recv requests are complete |
| 58 |
mpi.waitsome Wait if some nonblocking send/recv requests are complete |
| 59 |
****************************************************************************** |
| 60 |
MPI Extensions in R Environment: |
| 61 |
lamhosts Hosts id and machine host name mapping |
| 62 |
mpi.allgather.Robj Gather any type of objects to every number |
| 63 |
mpi.any.source A constant for receiving a message from any source |
| 64 |
mpi.any.tag A constant for receiving a message from any tag |
| 65 |
mpi.bcast.Robj Broadcast an R object to every process |
| 66 |
mpi.comm.maxsize Find the length of comm array |
| 67 |
mpi.exit Call MPI_Finalize and detach Rmpi library |
| 68 |
mpi.gather.Robj Gather any type of object to a root process |
| 69 |
mpi.get.sourcetag Get the source and tag for a given status |
| 70 |
mpi.hostinfo Get the host information that the process is running |
| 71 |
mpi.is.master TRUE if it is a master otherwise FALSE (slave) |
| 72 |
mpi.isend.Robj Nonblocking send an R object to a specific process |
| 73 |
mpi.proc.null Dummy source and destination |
| 74 |
mpi.quit Call MPI_Finalize and quit R |
| 75 |
mpi.recv.Robj Receive an R object from a process (by mpi.send.Robj) |
| 76 |
mpi.realloc.comm Increase comm array to a new size |
| 77 |
mpi.realloc.request Increase request array to a new size |
| 78 |
mpi.realloc.status Increase status array to a new size |
| 79 |
mpi.request.maxsize Find the length of request array |
| 80 |
mpi.scatter.Robj Scatter an list to every number |
| 81 |
mpi.send.Robj Send an R object to a specific process |
| 82 |
mpi.spawn.Rslaves Spawn R slaves. The default R script is slavedaemon.R |
| 83 |
mpi.status.maxsize Find the length of status array |
| 84 |
***************************************************************************** |
| 85 |
MPI Extensions specifically to slavedaemon.R Script (interactive R slaves). |
| 86 |
|
| 87 |
mpi.apply Scatter an array to slaves and then apply a fun |
| 88 |
mpi.iapply Nonblocking scatter an array to slaves and then apply a fun |
| 89 |
mpi.applyLB Load balancing version of mpi.apply |
| 90 |
mpi.iapplyLB Nonblocking load balancing version of mpi.apply |
| 91 |
mpi.bcast.Robj2slave Master sends an Robj to all slaves |
| 92 |
mpi.bcast.Rfun2slave Master sends all user functions to all slaves |
| 93 |
mpi.bcast.Rdata2slave Master sends an vector or matrix to all slaves without serialization |
| 94 |
mpi.bcast.cmd Broadcast a command to every process |
| 95 |
mpi.close.Rslaves Close all slaves launched by mpi.spawn.Rslaves() |
| 96 |
mpi.parApply (Load balancing) parallel apply |
| 97 |
mpi.iparApply (Nonblocking and load balancing) parallel apply |
| 98 |
mpi.parCapply (Load balancing) parallel column apply |
| 99 |
mpi.iparCapply (Nonblocking and load balancing) parallel column apply |
| 100 |
mpi.parLapply (Load balancing) parallel lapply |
| 101 |
mpi.iparLapply (Nonblocking and load balancing) parallel lapply |
| 102 |
mpi.parRapply (Load balancing) parallel row apply |
| 103 |
mpi.iparRapply (Nonblocking and load balancing) parallel row apply |
| 104 |
mpi.parReplicate A wrapper to mpi.parSapply for repeated eval of an expr |
| 105 |
mpi.iparReplicate A nonblocking wrapper to mpi.iparSapply for repeated eval of an expr |
| 106 |
mpi.parSapply (Load balancing) parallel sapply |
| 107 |
mpi.iparSapply (Nonblocking and load balancing) parallel sapply |
| 108 |
mpi.parSim (Load balancing) parallel Monte Carlo simulation |
| 109 |
mpi.remote.exec Run a command remotely on slaves and return |
| 110 |
results back to the master |
| 111 |
mpi.setup.rngstream Setup RNDstream (package rlecuyer) on all slaves |
| 112 |
slave.hostinfo Show all slave rank, comm, host information |
| 113 |
tailslave.log Tail (view) last lines of slave log files |
| 114 |
***************************************************************************** |
| 115 |
Some Internal Functions used by other MPI Functions |
| 116 |
|
| 117 |
mpi.comm.is.null Test if a comm is NULL (no members) |
| 118 |
string Create a string (empty space character) buffer |