Hi
I've got an opengl program that uses glut (and creates a window using it).
I'd like the program to create a window on each process, preferrably
on their own machines.
Running the program on one machine works fine, I even get the multiple
windows up, so I'm almost convinced it's a security issue.
Oh, and I'm running this on identical Fedora Core 2 machines..
MPI is already set up (and works properly, btw)...
So, running my program draws a window on the master process[or], but
for the slaves - nothing.
[esc00_at_fas70522 cc-parallel-rendering]$ mpirun -np 3 Catmull-Clark
test-files/cube1.txt
freeglut freeglut (Catmull-Clark): (Catmull-Clark): failed to open
display ''failed to open display ''
-----------------------------------------------------------------------------
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.
PID 6246 failed on node n0 (192.168.192.3) due to signal 13.
-----------------------------------------------------------------------------
I've tried running the FAQ example for getting xterm windows with the
following results:
[esc00_at_fas70522 cc-parallel-rendering]$ mpirun C -x DISPLAY
run_xterm.csh Catmull-Clark
Running xterm on fas70533.cs.aub.edu.lb
Running xterm on fas70532.cs.aub.edu.lb
Running xterm on fas70522.cs.aub.edu.lb
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
xterm Xt error: Can't open display: :0.0
-----------------------------------------------------------------------------
It seems that [at least] one of the processes that was started with
mpirun did not invoke MPI_INIT before quitting (it is possible that
more than one process did not invoke MPI_INIT -- mpirun was only
notified of the first one, which was on node n0).
mpirun can *only* be used with MPI programs (i.e., programs that
invoke MPI_INIT and MPI_FINALIZE). You can use the "lamexec" program
to run non-MPI programs over the lambooted nodes.
-----------------------------------------------------------------------------
I've already said xhost +<slave_ips> on the master and even run xhost
+<master_ip> on each of the slaves.
Help please?
|