Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Regarding MPI programming
From: Jeffrey Squyres (jsquyres_at_[hidden])
Date: 2012-04-23 11:53:17


Additionally, the MPI-3 MPI_MPROBE function will definitely help in this area. We have it implemented in the Open MPI development trunk; it's slated for release in the Open MPI 1.7 series. Here's a description of MPI_MPROBE:

    http://blogs.cisco.com/performance/what-is-mpi_mprobe/

On Apr 23, 2012, at 11:11 AM, Jim Dinan wrote:

> You might also be able to use MPI_Probe() to get the status of the incoming message and query the size before posting the MPI_Recv() operation.
>
> ~Jim.
>
> On 4/23/12 6:41 AM, Constantinos Makassikis wrote:
>> 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_at_[hidden]
>> <mailto: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.
>>
>>
>> --
>> WITH REGARDS
>> M.L.N.Seshendra
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden] <mailto:users_at_[hidden]>
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/