Index of /examples/mpi/examples/C

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [   ] example2.c 23-Nov-2013 13:56 2.5K [   ] example1.c 23-Jan-2015 09:51 1.7K

Example Programs

  1. Example 1 prints the statement "Hello, I am process X of Y processes" where X is the current process while Y is the number of processes for job.
  2. Example 2 performs the following: On process 0, send a message "Hello, I am process 0" to other processes. On each processe other than 0, print the process's ID, the message it receives and where the message came from.

Program Compilation

Program Execution


Contact Info

Kadin Tseng (


  1. Created: November 24, 2013
  2. Modified: