LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: atarpley (atarpley_at_[hidden])
Date: 2004-11-01 15:47:54


Hello,

I am trying to do a non-blocking send in MPI. I realize there is a function
called MPI_Isend. This would be fine, except for the requirement that the
buffer not be modified until after the request has been completed by a call to
one of the (blocking) wait MPI functions. I want to deallocate the send
buffer after the message is on it's way -- am I forced to block so I can
safely do this? Why wouldn't I just use MPI_Send if I have to call a blocking
wait for a nonblocking send to complete? I am converting to MPI from PVM so
maybe there is a MPI call that acts similarly to pvm_send? I want to avoid
deadlock and I thought that MPI_Isend was the way to do it but now I am having
second thoughts because of the need to call MPI_wait.

I appreciate your time,
Andy Tarpley