Assuming the type of the elements in the array is known, you'll probably have to do it in two steps:
1) Broadcast the number of elements in the array
2) Broadcast the array itself


HTH,

--
Constantinos

On Mon, Apr 23, 2012 at 12:41 PM, seshendra seshu <seshu199@gmail.com> wrote:
Hi,
I am using stacks , where i stored my sub arrays in stacks and i need send the sub arrays to all the nodes but i have know idea what is the size of array present in stack so how can i receive the data using MPI_recv with out knowing the size of a array. can any please help me in solving this.


--
 WITH REGARDS
M.L.N.Seshendra

_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users