LAM/MPI logo

LAM/MPI Development Mailing List Archives

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

From: Philippe Combes (Philippe.Combes_at_[hidden])
Date: 2007-11-24 13:06:17


Hi all,

I have a strange behaviour with an Irecv cancel.

First I MPI_Test for the completion of the request.
As it returns false, I MPI_Cancel the request.
The MPI_Cancel call is successful, but the rq_flags of the request remain 0
(instead of 2)
I stepped into the code of MPI_Cancel, and I found that my request could not be
processed. Indeed it is such as
rq_type == 4 // LAM_RQIRECV
rq_state == 4 // LAM_RQFSACTIVE
and this case is not managed. Why ?

You must know that the matching send has been posted before the first MPI_Test
on the recv request, but it has not yet completed.
It is actually cancelled too, but that the cancel occurs before or after the
cancel of the recv request makes no difference.

Regards,

Philippe