Without seeing your code it is hard to guess. In general, a message
like you are receiving means you are sending more bytes than you are
trying to receive. I would recommend you double check that your
sendcount on the root matches the recvcount on all processes (including
root). If you are using derived datatypes, keep in mind the type
signatures of sent and received data must match and the amount of data
defined must be the same. This is a little more restrictive than
ensuring the number of bytes match.
I hope this helps.
Dave.
Ravi R. Kumar wrote:
>Hello Everybody,
>
>I am experiencing some problem is using MPI_Scatter.
>
>#include <mpi.h>
>int MPI_Scatter(void* sendbuf,int sendcount,MPI_Datatype sendtype,void* recvbuf,
> int recvcount,MPI_Datatype recvtype,int root,MPI_Comm comm);
>
>
>Is there any limit on number of elements (data) to be sent from root processes
>to other processes? I am using MPI_scatter to send data from root to rest of
>the nodes. It works fine for smaller number of *sendcount* (e.g. 100) but gives
>error that message truncated for larger number (100x100x5) of sendcount.
>
>Pls clarify.
>
>Thanks,
>
>
>
|