Boost logo

Boost Users :

Subject: Re: [Boost-users] OpenMPI cannot get the results from workers
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-07-05 23:25:26


On 4 Jul 2010, at 11:06, Jack Bryan wrote:

> Dear All :
>
> I designed a master-worker framework, in which the master can schedule
> multiple tasks (numTaskPerWorkerNode) to each worker and then collects results from workers.
>
> if the numTaskPerWorkerNode = 1, it works well.
>
> But, if numTaskPerWorkerNode > 1, the master cannot get the results from workers.
>
> But, the workers can get the tasks from master.
>
> why ?
>
>
> I have used different taskTag to distinguish the tasks, but still does not work.
>
> Any help is appreciated.
>
> Thanks,
>
> Jack

Hi Jack,

This question cannot be answered without seeing the code. As others have recommended, try to write a simple program using native MPI - this should tell you whether the problem is in your code or in Boost.MPI

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