MPI
on the command line:
oxl -DMPI mymain.oxIf the shared CFMPI library cannot be found link error will be produced.
MPI
and your program includes CFMPI then a set of "fake" versions of the
routines will be included. Your program will execute serially and calls to these functions end up in messages
staying in the buffer.
MPI_Double
).Variables | ||
fakebuffer | static | |
faketag | static | |
Functions | ||
MPI_Allgather | Gather in place all messages at all nodes: interface for MPI_Allgather() . |
|
MPI_Allgatherv | Gather variable length messages . | |
MPI_Allsum | Vector sum messages at all nodes in place. | |
MPI_Barrier | Make all nodes wait until this point is reached: interface to MPI_Barrier() . |
|
MPI_Bcast | Broadcast a message to all nodes: interface to MPI_Bcast() . |
|
MPI_Exit | ||
MPI_Gather | Gather all buffers at the client. | |
MPI_Gatherv | Gather variable length messages. | |
MPI_Init | Initialize the MPI environment: interface for MPI_Init() . |
|
MPI_Recv | Receive a message: interface for MPI_Recv() . |
|
MPI_Send | Send a message: interface for MPI_Send() . |
|
MPI_Setdisplace | Set the displacement amount for variable length gather. | |
MPI_Sum | Vector sum messages at client. |
MPI_Allgather()
.
iCount | integer, 0 send whole buffer otherwise send first iCount elements |
Buffer | address |
Buffer | address |
iCount | integer, 0 send whole buffer otherwise send first iCount elements |
MPI_Barrier()
.
MPI_Bcast()
.
Buffer | address, message to broadcast to all nodes |
iCount | integer, 0 send whole buffer otherwise send first iCount elements |
Buffer | address |
iCount | integer, 0 send whole buffer otherwise send first iCount elements |
Buffer | address, |
MPI_Init()
.
The external C routine calls MPI_Initialize() and stores key data in static C variables.
aId | address, the MPI Rank or ID of this node returned |
aNodes | address, the number of nodes returned |
aANY_TAG | address, the integer tag for ANY_TAG in this MPI implementation returned
|
aANY_SOURCE | addresss, the integer tag for ANY_SOURCE in this MPI implementation returned. |
MPI_Recv()
.
aBuffer | address, vector message to send |
iSource | integer, ID of node to receive from (can be ANY_SOURCE )
|
iTag | iteger, tag of message to receive (can be ANY_TAG )
|
oSource | address actual source ID returned |
oTag | address actual tag returned |
oError | address error code returned |
MPI_Send()
.
Buffer | vector message to send |
iCount | integer, 0 send the whole buffer otherwise only send the first iCount elements
|
iDest | integer, ID of node to send message to |
iTag | integer, tag to accompany message. |
iCount | integer |
Buffer | address |
iCount | integer, 0 send whole buffer otherwise send first iCount elements |