Thanks for the suggestion Jeff.I have tried ur suggestion . now at the time of scheduling in round robin fashion it is not going to master node. But another problem is there( as per u hve mentioned). the task with task_id=0 is also going to n1. how can I explicitly run task_id=0 on n0 i.e. master node.my program is MIMD written in SIMD style using if statements like
MPI::INIT()
taskid=get_rank()
if (task_id==0)
then:
(perform this)...
if (task_id>0)
then:
(perform this)....
MPI::FINALIZE();
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com
Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now!
|