Another Example (Again hello and again no messsage-passing) (hello2.c):
Two of the first questions asked in a parallel program are:
- How many processes are there? Answered with MPI_Comm_size
- Who am I? Answered with MPI_Comm_rank. The rank is a number between zero and size-1.
Cem Ozdogan
2010-10-04