Saturday, January 5, 2013

MPI Hello World - 2

This MPI program illustrates the use of MPI_Send and MPI_Recv functions. Basically, the master sends a message, “Hello, world”, to the process whose rank is 1, and then after having received the message, the process prints the message along with its rank.


Compile it using


Execute it using


MPI Hello World - 1
MPI Pi Calculation Lecture

No comments:

Post a Comment

Comment will be sent for moderation.