1
1

* Fix bad argument to PtlGet in long receive

* Fix bad params when configuring ME for long unexpected

This commit was SVN r24698.
Этот коммит содержится в:
Brian Barrett 2011-05-13 03:56:03 +00:00
родитель a3e43594a4
Коммит 43902221cc
2 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -129,18 +129,16 @@ ompi_mtl_portals4_add_procs(struct mca_mtl_base_module_t *mtl,
me.ct_handle = PTL_CT_NONE;
me.min_free = 0;
me.ac_id.uid = PTL_UID_ANY;
me.options = PTL_ME_OP_PUT;
me.options = PTL_ME_OP_PUT | PTL_ME_ACK_DISABLE | PTL_ME_EVENT_COMM_DISABLE;
me.match_id.phys.nid = PTL_NID_ANY;
me.match_id.phys.pid = PTL_PID_ANY;
me.match_bits = PTL_LONG_MSG;
me.ignore_bits = PTL_CONTEXT_MASK | PTL_SOURCE_MASK | PTL_TAG_MASK;
ompi_mtl_portals4.long_overflow_request.event_callback =
ompi_mtl_portals4_recv_progress;
ret = PtlMEAppend(ompi_mtl_portals4.ni_h,
PTL_SEND_TABLE_ID,
&me,
PTL_OVERFLOW,
&ompi_mtl_portals4.long_overflow_request,
NULL,
&ompi_mtl_portals4.long_overflow_me_h);
if (PTL_OK != ret) {
PtlMDRelease(ompi_mtl_portals4.zero_md_h);

Просмотреть файл

@ -198,7 +198,7 @@ ompi_mtl_portals4_recv_progress(ptl_event_t *ev,
return OMPI_SUCCESS;
}
ret = PtlGet(ompi_mtl_portals4.ni_h,
ret = PtlGet(ptl_request->md_h,
0,
md.length,
ev->initiator,