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@mcs.anl.gov> wrote:

Please keep discuss@mpich.org cc’ed.

On Nov 29, 2013, at 2:19 PM, Soheil Hooshdaran <shooshdaran577@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.



_______________________________________________
discuss mailing list     discuss@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@mcs.anl.gov
www.mcs.anl.gov/~apenya