MPI non-blocking communication

 

In this exercise, please use the non-blocking point-to-point routines instead of the blocking routines. Pick the existing code blocking.f and replace the MPI_Send and MPI_Recv routines with MPI_Isend and MPI_Irecv, and use MPI_Wait or MPI_Waitall or MPI_Test to complete the nonblocking operations. If possible, try to make the data transfer of non-blocking send or receive operations concurrent with some computations. You may want to use these MPI routines in your solution:


      MPI_Isend 
      MPI_Irecv 
      MPI_Wait 
 or
      MPI_Waitall