MPI Hands-On; Sending and Receiving Messages III

  1. Synchronous sending. MPI example http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code6.c code6.c using synchronous send. Modify the code and try to see what may cause to deadlock.
  2. Buffered sending. MPI example http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code7.c code7.c using buffered send to pass a message between two processes.
  3. Non-blocking sending I. MPI example http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code8.c code8.c using non-blocking send and receive to pass a message between two processes.

  4. Non-blocking sending II. A simple MPI example http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code9.c code9.c using non-blocking send and receive. The sender process sends a message to all other processes. They receive the message and send an answer back.


Cem Ozdogan 2010-12-27