unpack the amount received, not the amount we had space to receive.
This commit was SVN r10669.
Этот коммит содержится в:
родитель
c933c0f65f
Коммит
c793ad0a3d
@ -46,7 +46,7 @@ ompi_mtl_portals_recv_progress(ptl_event_t *ev,
|
|||||||
case PTL_EVENT_PUT_END:
|
case PTL_EVENT_PUT_END:
|
||||||
/* make sure the data is in the right place */
|
/* make sure the data is in the right place */
|
||||||
ompi_mtl_datatype_unpack(&recvreq->req_convertor,
|
ompi_mtl_datatype_unpack(&recvreq->req_convertor,
|
||||||
ev->md.start, ev->md.length);
|
ev->md.start, ev->mlength);
|
||||||
|
|
||||||
/* set the status */
|
/* set the status */
|
||||||
recvreq->req_base.req_ompi.req_status.MPI_SOURCE =
|
recvreq->req_base.req_ompi.req_status.MPI_SOURCE =
|
||||||
@ -64,7 +64,7 @@ ompi_mtl_portals_recv_progress(ptl_event_t *ev,
|
|||||||
case PTL_EVENT_REPLY_END:
|
case PTL_EVENT_REPLY_END:
|
||||||
/* make sure the data is in the right place */
|
/* make sure the data is in the right place */
|
||||||
ompi_mtl_datatype_unpack(&recvreq->req_convertor,
|
ompi_mtl_datatype_unpack(&recvreq->req_convertor,
|
||||||
ev->md.start, ev->md.length);
|
ev->md.start, ev->mlength);
|
||||||
|
|
||||||
PtlMDUnlink(ev->md_handle);
|
PtlMDUnlink(ev->md_handle);
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user