Re: [OMPI users] using MPI through Qt

2011-03-02 Thread Eye RCS 51
Hi David / users, Thanks for your mail and suggestion. Well, Can you please elaborate some more on this. When I start program, without doing anything, nodes other than master keep waiting for the corresponding MPI_Bcast call and keep taking nearly 50% CPU while idle. When I MPI_Bcast the variable

Re: [OMPI users] using MPI through Qt

2011-03-01 Thread Eugene Loh
Eye RCS 51 wrote: Hi, In an effort to make a Qt gui using MPI, I have the following: 1. Gui started in master node. 2. In Gui, through a pushbutton, a global variable x is assigned some value; let say, x=1000; 3. I want this value to be know to all nodes. So I used broadcast in the functi

Re: [OMPI users] using MPI through Qt

2011-03-01 Thread David Zhang
Certainly you may call MPI functions many times, the problem is that you need to have matching receives (or collectives) at your slave nodes, which is only determined at run-time. Perhaps this could be done with two communications, the first broadcast the type of communications to the slaves (for

[OMPI users] using MPI through Qt

2011-03-01 Thread Eye RCS 51
Hi, In an effort to make a Qt gui using MPI, I have the following: 1. Gui started in master node. 2. In Gui, through a pushbutton, a global variable x is assigned some value; let say, x=1000; 3. I want this value to be know to all nodes. So I used broadcast in the function assigning it on the m