Question

Describe the difference between blocking message passing and non-blocking message passing.

0 0
Add a comment Improve this question Transcribed image text
Answer #1
  • Blocking message passing is done using MPI_Send() and MPI_Recv(). These functions do not return (i.e., they block) until the communication is finished. Whereas, non-blocking message passing is done using MPI_Isend() and MPI_Irecv(). These function return immediately even if the communication is not finished yet.
  • Blocking message passing should be used when it is sufficient, since it is somewhat easier to use. Non-blocking message passing is preferrable when necessary, for example, you may call MPI_Isend(), do some computations, then do MPI_Wait().
Add a comment
Know the answer?
Add Answer to:
Describe the difference between blocking message passing and non-blocking message passing.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT