Caciano,

It's a little bit more complex than that. In fact you should never set the req_complete flag to true yourself. Instead you should use ompi_request_complete (defined in ompi/request/request.h) which will set the flag and trigger a condition broadcast or signal for you. This will allow the upper level to be released from the requests condition, and therefore discover that the request is completed.

  george.


On May 8, 2008, at 8:27 PM, Caciano Machado wrote:

Hi,

I'm finishing the implementation of a MTL module but something went wrong. This module is using PML/cm and the Recv operations are hanging in the ompi_request_wait_completion() call in pml_cm_recv.c:mca_pml_cm_recv(). I think that I must set the variable recvreq->req_base.req_ompi.req_complete somewhere but I don't know exactly where is the right place. When I comment out the ompi_request_wait_completion() call the application messages are delivered correctly with my backend.

Regards,
Caciano
_______________________________________________
devel mailing list
de...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/devel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to