When the master sends out the task, it assign a distinct task number ID to the task. When the worker receive the task, it still use the task's assigned ID as task tag to send it to master. Any help is appreciated. July 5 2010
From: solarbik...@gmail.com List-Post: users@lists.open-mpi.org Date: Mon, 5 Jul 2010 13:17:27 -0700 To: us...@open-mpi.org Subject: Re: [OMPI users] Open MPI, cannot get the results from workers how does the master receive results from the workers? if a worker is sending multiple task results, how does the master knows what the message tags are ahead of time? On Sun, Jul 4, 2010 at 10:26 AM, Jack Bryan <dtustud...@hotmail.com> wrote: Dear All : I designed a master-worker framework, in which the master can schedulemultiple 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 July 4 2010 The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. Get busy. _______________________________________________ users mailing list us...@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users -- David Zhang University of California, San Diego _________________________________________________________________ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3