Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: George Bosilca (bosilca_at_[hidden])
Date: 2006-06-13 13:10:40


How can we deliver more bytes that we are supposed to ?

   george.

On Jun 13, 2006, at 12:57 PM, gshipman_at_[hidden] wrote:

> Modified: trunk/ompi/mca/pml/ob1/pml_ob1_sendreq.h
> ======================================================================
> ========
> --- trunk/ompi/mca/pml/ob1/pml_ob1_sendreq.h (original)
> +++ trunk/ompi/mca/pml/ob1/pml_ob1_sendreq.h 2006-06-13 12:57:41
> EDT (Tue, 13 Jun 2006)
> @@ -318,7 +318,7 @@
> do
> {
> \
> /* has an acknowledgment been received
> */ \
> if(OPAL_THREAD_ADD32(&sendreq->req_state, 1) == 2)
> { \
> - if(sendreq->req_bytes_delivered == sendreq-
> >req_send.req_bytes_packed) { \
> + if(sendreq->req_bytes_delivered >= sendreq-
> >req_send.req_bytes_packed) { \
> MCA_PML_OB1_SEND_REQUEST_PML_COMPLETE
> (sendreq); \
> } else
> { \
> /* additional data to schedule
> */ \
> @@ -327,6 +327,19 @@
> }
> \
> } while (0)