Boost logo

Boost Users :

Subject: Re: [Boost-users] boostMPI asychronous communication
From: Riccardo Murri (riccardo.murri_at_[hidden])
Date: 2010-06-28 11:29:19


Hi Jack,

On Mon, Jun 28, 2010 at 5:18 PM, Jack Bryan <dtustudy68_at_[hidden]> wrote:
> I just posted irecv before isend.
> master node:
> request=irecv();
> do its local work;
> isend(message to worker nodes);l
> wait(request).
> worker node:
> while(stil have new task ){
> recv(message);
> do its local work;
> isend(result message to master)
> }
> if there is only one task to worker, it works.
> But, if there are 2 tasks to workers, master cannot get the result from
> worker.

Smells of deadlock. Maybe the master is waiting for a message coming
from the wrong worker?

We might need to delve into details; can you please post a minimal
Boost.MPI program exhibiting this "blocking" behavior?

Best regards,
Riccardo


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