Fixes truncate error (ticket #172) for the DR PML and therefore closes trac:172.
We now set truncation error if we received more than we delivered for both the OB1 and DR PMLs (the CM PML doesn't need such a fix, as the condition is set at the MTL level) This commit was SVN r10812. The following Trac tickets were found above: Ticket 172 --> https://svn.open-mpi.org/trac/ompi/ticket/172
Этот коммит содержится в:
родитель
4c5fbfdcd2
Коммит
f6e7e11ee6
@ -129,9 +129,15 @@ do {
|
||||
\
|
||||
/* initialize request status */ \
|
||||
recvreq->req_recv.req_base.req_pml_complete = true; \
|
||||
recvreq->req_recv.req_base.req_ompi.req_status._count = \
|
||||
(recvreq->req_bytes_received < recvreq->req_bytes_delivered ? \
|
||||
recvreq->req_bytes_received : recvreq->req_bytes_delivered); \
|
||||
if (recvreq->req_bytes_received > recvreq->req_bytes_delivered) { \
|
||||
recvreq->req_recv.req_base.req_ompi.req_status._count = \
|
||||
recvreq->req_bytes_delivered; \
|
||||
recvreq->req_recv.req_base.req_ompi.req_status.MPI_ERROR = \
|
||||
MPI_ERR_TRUNCATE; \
|
||||
} else { \
|
||||
recvreq->req_recv.req_base.req_ompi.req_status._count = \
|
||||
recvreq->req_bytes_received; \
|
||||
} \
|
||||
MCA_PML_BASE_REQUEST_MPI_COMPLETE( &(recvreq->req_recv.req_base.req_ompi) ); \
|
||||
\
|
||||
if( true == recvreq->req_recv.req_base.req_free_called ) { \
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user