<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hi Kuleshov,</div>
<div class=""><br class="">
</div>
<div class="">Thanks for reporting this bug and patch.</div>
<div class=""><br class="">
</div>
<div class="">I have pushed your patch to mpich/master. You can find it from <a href="http://git.mpich.org/mpich.git/commit/8bdfaf741104f88c27b8a845d4ca325ad5005122" class="">http://git.mpich.org/mpich.git/commit/8bdfaf741104f88c27b8a845d4ca325ad5005122</a>.</div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class="">Sangmin</div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 29, 2014, at 2:14 PM, Kuleshov Aleksey <<a href="mailto:rndfax@yandex.ru" class="">rndfax@yandex.ru</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">diff --git a/src/mpid/ch3/channels/nemesis/netmod/mxm/mxm_poll.c b/src/mpid/ch3/channels/nemesis/netmod/mxm/mxm_poll.c<br class="">
index e8bddc3..752a1f9 100644<br class="">
--- a/src/mpid/ch3/channels/nemesis/netmod/mxm/mxm_poll.c<br class="">
+++ b/src/mpid/ch3/channels/nemesis/netmod/mxm/mxm_poll.c<br class="">
@@ -482,8 +482,8 @@ static int _mxm_process_rdtype(MPID_Request ** rreq_p, MPI_Datatype datatype,<br class="">
*iov_count = n_iov;<br class="">
}<br class="">
else {<br class="">
- int packsize = 0;<br class="">
- MPIR_Pack_size_impl(rreq->dev.user_count, rreq->dev.datatype, (MPI_Aint *) & packsize);<br class="">
+ MPI_Aint packsize = 0;<br class="">
+ MPIR_Pack_size_impl(rreq->dev.user_count, rreq->dev.datatype, &packsize);<br class="">
rreq->dev.tmpbuf = MPIU_Malloc((size_t) packsize);<br class="">
MPIU_Assert(rreq->dev.tmpbuf);<br class="">
rreq->dev.tmpbuf_sz = packsize;<br class="">
diff --git a/src/mpid/ch3/channels/nemesis/netmod/newmad/newmad_poll.c b/src/mpid/ch3/channels/nemesis/netmod/newmad/newmad_poll.c<br class="">
index 2dba872..5a32515 100644<br class="">
--- a/src/mpid/ch3/channels/nemesis/netmod/newmad/newmad_poll.c<br class="">
+++ b/src/mpid/ch3/channels/nemesis/netmod/newmad/newmad_poll.c<br class="">
@@ -575,7 +575,7 @@ int MPID_nem_newmad_process_rdtype(MPID_Request **rreq_p, MPID_Datatype * dt_ptr<br class="">
}<br class="">
else<br class="">
{<br class="">
- int packsize = 0;<br class="">
+ MPI_Aint packsize = 0;<br class="">
MPIR_Pack_size_impl(rreq->dev.user_count, rreq->dev.datatype, &packsize);<br class="">
rreq->dev.tmpbuf = MPIU_Malloc((size_t) packsize);<br class="">
MPIU_Assert(rreq->dev.tmpbuf);<br class="">
_______________________________________________<br class="">
discuss mailing list <a href="mailto:discuss@mpich.org" class="">discuss@mpich.org</a><br class="">
To manage subscription options or unsubscribe:<br class="">
<a href="https://lists.mpich.org/mailman/listinfo/discuss" class="">https://lists.mpich.org/mailman/listinfo/discuss</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</body>
</html>