Hands-on; Miscellaneous II

  1. The same example for send-receive pair with the previous one but now it uses a MPMD programming style. See the files:
    http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code4.c code4.c, http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code5.c code5.c, http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code4-5defs.h code4-5defs.h, http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/procgrp procgrp.
    Execute as;
    mpirun -p4pg procgrp code5
  2. Derived data types, SendRecv. Study following programs.
    http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code34.c code34.c, http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code35.c code35.c, http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code36.c code36.c.

  3. Wait for an MPI request to complete, http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code38.c code38.c. Test for the completion of a request, http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code37.c code37.c.
  4. Stack Management, This code (http://siber.cankaya.edu.tr/ozdogan/ParallelComputing/cfiles/code46.c code46.c) example demonstrates how to query and set a thread's stack size.



Cem Ozdogan 2010-12-27