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