Hi Dmitry, Thank you very much for reporting this. I'll fix it and incorporate it into our master branch. Best, Antonio On 04/17/2015 04:28 AM, Polyakov Dmitry wrote:
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 [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- Antonio J. Peña Postdoctoral Appointee Mathematics and Computer Science Division Argonne National Laboratory 9700 South Cass Avenue, Bldg. 240, Of. 3148 Argonne, IL 60439-4847 [email protected] www.mcs.anl.gov/~apenya _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss