Message Passing Interface: Difference between revisions

Content deleted Content added
Example program: : sizeof won't work if the datatype isn't char. Let it be explicit?
mNo edit summary
Line 58:
 
===Point-to-point basics===
A number of important MPI functions involve communication between two specific processes. A popular example is <code>MPI_Send</code>, which allows one specified process to send a message to a second specified process. Point-to-point operations, as these are called, are particularly useful in patterned or irregular communication, for example, a [[data parallelism|data-parallel]] architecture in which each processor routinely swaps regions of data with specific other processors between calculation steps, or a [[master-/slave (technology)|master-slavemaster–slave]] architecture in which the master sends new task data to a slave whenever the prior task is completed.
 
MPI-1 specifies mechanisms for both [[blocking (computing)|blocking]] and non-blocking point-to-point communication mechanisms, as well as the so-called 'ready-send' mechanism whereby a send request can be made only when the matching receive request has already been made.