Boost logo

Boost Users :

Subject: Re: [Boost-users] mpi: sending/receiving different types
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-12-05 20:21:03


On 5 Dec 2010, at 07:44, Hicham Mouline wrote:
>>>
>> Hi Hicham -
>>
>> You should look into probe(). I the result of a probe will give you a
>> valid MPI_Status, which contains the tag and source. You can use this
>> tag to determine how you can construct an appropriate recv().
>>
>> Brian
>>
>
> If from the root process I both mpi::broadcast() and mpi::send(), will a
> receiver process be able to use probe() to see if a message that was either
> sent or broadcast is available?

probe() checks only for messages sent by send(), not by broadcast().

Matthias


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net