LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Leslie Nkansa Osei-Bonsu (lnkansa_at_[hidden])
Date: 2005-07-05 04:37:18


Hi Ravi,

How did you define your array (100x100x5)? If it is not in a contiguous
memory space, then you will definitely get an error. I once had a similar
problem because of the way I defined my array. That is the price we pay for
using the obvious simple contructs in defineing dynamic memory. If it is not
conguous then I am afraid that you will be limited by the size of 100 which
I guess is contiguous.

Leslie Nkansa Osei-Bonsu

Graduate Student
Computational Science and Engineering
Faculty of Informatics
Technische Universität München

>From: "Ravi R. Kumar" <rrkuma0_at_[hidden]>
>Reply-To: General LAM/MPI mailing list <lam_at_[hidden]>
>To: lam_at_[hidden]
>Subject: LAM: MPI_Scatter
>Date: Mon, 04 Jul 2005 14:31:00 -0400
>
>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,
>
>--
>Ravi R. Kumar
>859-333-8174
>
>
>
>
>
>_______________________________________________
>This list is archived at http://www.lam-mpi.org/MailArchives/lam/