The amount of space allocated for the
receiving buffer does not
have to match the exact amount of space in
the message being received.
For example, processor 1
may send a message of size strlen(message)+1, but receiving processor 0
receives the message in a buffer that has storage for 100 characters. In general,
the receiving process may not know the exact size of the message being sent. So
MPI allows a message to be received as long as there is sufficient storage
allocated. If there isn't sufficient storage, an overflow error occurs.
•