Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] Regarding MPI programming
From: Constantinos Makassikis (cmakassikis_at_[hidden])
Date: 2012-04-23 07:41:54

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


On Mon, Apr 23, 2012 at 12:41 PM, seshendra seshu <seshu199_at_[hidden]>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.
> --
> M.L.N.Seshendra
> _______________________________________________
> users mailing list
> users_at_[hidden]