How can we deliver more bytes that we are supposed to ?
george.
On Jun 13, 2006, at 12:57 PM, gship...@osl.iu.edu 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)