I'm working on an mpi application that opens a glut display on each node of
a small cluster for opengl rendering (each node has its own display). My
current implementation scales great with mpich2, but I'd like to use openmpi
infiniband, which is giving me trouble.
I've had some success with the -x DISPLAY=:0.0 parameter to mpirun, which
will open the display on up to 2 of my nodes... any 2. But when I attempt
to run the application on 4 nodes, the display is *non-deterministic. If any
open at all process 0 definately will, and sometimes process 3 along with
that. I haven't observed much behavior from process 1 or 2.
mpirun -x DISPLAY=:0.0 -np 4 -hostfile ~/openmpi.hosts ./myapp
I've tried adding the -d option with no success.
Does anyone have any suggestions or comments? I'll certainly provide more
information if required.