CTC Discussion on MPI Basics: Six Basic Calls

1.2.4 Sending a message

In MPI, there are many flavors of sends and receives. This is one reason why there are over 125 routines provided in MPI. In our basic set of six calls, we will look at just one type of send and one type of receive.

MPI_SEND is a blocking send. This means the call does not return control to your program until the data have been copied from the location you specify in the parameter list. Because of this, you can change the data after the call and not affect the original message. (There are non-blocking sends where this is not the case.)

The parameters:

These will be discussed in more detail later in the module.

[Previous Page] [Table of Contents]