Your cmd line specified that we are only to use the host "biggserver", so all ranks will go there.

If you want ranks to go somewhere else, then you need to include that location in your -host spec. See "man orte_hosts" for details.


On Jun 30, 2009, at 3:53 AM, Ashika Umanga Umagiliya wrote:

Hi all,

I have written mandelbrot rendering using X11.I have two nodes with OpenMPI.

In my code, the rank 0 node(master) does the data collection from salves, Window creation using X11 and render the graph.(using XCreateSimpleWindow() ). Slave nodes calculate and send data to master.

But when I execute my application by :
#mpirun -np 4 -host biggserver ./mandel

its gives error :

"cannot connect to X server '(null)'"


Isn't the rank 0 given to the machine which we initially run the MPI application? If so,why the application says it cannot connect to X server?Since rank 0 is my workstation?

When I run this using a single node , it works well.

Any tips?

thanks in advance,
umanga

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to