[mpich-discuss] MPI_Recv problem

"Antonio J. Peña" apenya at mcs.anl.gov
Sun Dec 1 17:12:38 CST 2013


Please check your code. You issued an MPI_Recv with count=0 (i.e., 
telling MPI that the receive buffer is 0 bytes long).

   Antonio


On 11/30/2013 09:32 AM, Soheil Hooshdaran wrote:
> So what do I have to do now, sir? Especially regarding my Bcast()s a,d 
> Recv()s
>
>
> On Sat, Nov 30, 2013 at 1:05 AM, Pavan Balaji <balaji at mcs.anl.gov 
> <mailto:balaji at mcs.anl.gov>> wrote:
>
>
>     Please keep discuss at mpich.org <mailto:discuss at mpich.org> cc'ed.
>
>     On Nov 29, 2013, at 2:19 PM, Soheil Hooshdaran
>     <shooshdaran577 at gmail.com <mailto:shooshdaran577 at gmail.com>> wrote:
>     > executing send for the 3th time
>     > executed send for the 3th time, sending 40 bytes
>     > Fatal error in MPI_Recv: Message truncated, error stack:
>     > MPI_Recv(184).....................: MPI_Recv(buf=0xbff95c98,
>     count=0, MPI_INT, src=0, tag=1, MPI_COMM_WORLD, status=0xbff95c70)
>     failed
>     > MPIDI_CH3U_Receive_data_found(131): Message from rank 0 and tag
>     1 truncated; 160 bytes received but buffer size is 0
>
>     I don't think I can explain the error any better than what the
>     message above already says.
>
>     --
>     Pavan Balaji
>     http://www.mcs.anl.gov/~balaji <http://www.mcs.anl.gov/%7Ebalaji>
>
>
>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> 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
apenya at mcs.anl.gov
www.mcs.anl.gov/~apenya

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20131201/231cc214/attachment.html>


More information about the discuss mailing list