The basic MPI functions are
- MPI_Init
- Initialize MPI. Required of every program that uses MPI functions
- MPI_Comm_size
- get the number of processes
- MPI_Comm_rank
- get my rank within the processes
- MPI_Send
- send a message
- MPI_Recv
- receive a message
- MPI_Finalize
- terminate MPI. Required of every program that uses MPI functions
Other MPI functions widely used although not in the minimal set
- MPI_Bcast
- broadcast information to all processes
- MPI_Reduce
- collect information from all processes
- MPI_Barrier
- hold execution until all processes reach this point in a program
go back to MPI on beowulf at VDIL
index.