[mpich-discuss] MPICH-3.1.4. Bug report.

Polyakov Dmitry polyakov at nicevt.ru
Fri Apr 17 04:28:48 CDT 2015


Hi there!

I found a little mistake in
mpich-3.1.4/src/mpid/ch3/channels/nemesis/src/mpid_nem_lmt.c file, lines
from 430 to 438.

430     if (cookie_pkt->from_sender) {
431         MPID_Request_get_ptr(cookie_pkt->receiver_req_id, req);
432         req->ch.lmt_req_id = cookie_pkt->sender_req_id;
433     }
434     else {
435         MPID_Request_get_ptr(cookie_pkt->sender_req_id, req);
436         req->ch.lmt_req_id = cookie_pkt->receiver_req_id;
437     }
438     MPIU_Assert(req != NULL);


On line 438 there's check performed that request is not NULL, but it is
used already on line 432 and line 436.

--
Best regards, Dmitry Polyakov.

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list