Navigation

Operators and Keywords

Function List:

C++ API

mpi

Octave bindings for basic Message Passing Interface (MPI) functions for parallel computing.

Select category:

Octave Wrappers for MPI functions

MPI_Barrier
Block processes in the communicator COMM untill the call to this routine has been reached by all.
MPI_Comm_Load
Return COMM the MPI_Communicator object whose description is DESCRIPTION, as a string.
MPI_Comm_Test
Return DESCRIPTION string description of the MPI_Communicator COMM.
MPI_Comm_rank
Return the rank of the calling process in the specified communicator.
MPI_Comm_size
Return the size of a communicator.
MPI_Finalize
Terminate the MPI execution environment.
MPI_Finalized
Indicates whether MPI_Finalize has been executed.
MPI_Get_processor_name
Get the name of the processor that is using MPI.
MPI_Init
Initialize the MPI execution environment.
MPI_Iprobe
Nonblocking test for an MPI message.
MPI_Initialized
Indicates whether MPI_Init has been executed.
MPI_Probe
Blocking test for a message.
MPI_Recv
Receive an MPI message containing an Octave variable and extract its value.
MPI_Send
Transmit an Octave variable as a set of MPI message.

Examples

Pi
Classical MPI example that computes PI by integrating arctan'(x) in [0,1].
hello2dimmat
This function demonstrates sending and receiving of a 2-dimensional matrix over MPI.
hellocell
This function demonstrates sending and receiving a string message over MPI.
hellosparsemat
This function demonstrates sending and receiving a sparse matrix over MPI.
hellostruct
This function demonstrates sending and receiving a struct over MPI.
helloworld
This function demonstrates sending and receiving a string message over MPI.
mc_example
Demonstrates doing Monte Carlo with mpi.
montecarlo
Generate a specified number of replications of a function's output and write them to a user-specified output file.

Package: mpi