Results 1 to 1 of 1
Hi,
I am trying to debug an MPI program by launching the job on two machines and tracing through the library on both sides. For this, I need to have ...
- 01-03-2008 #1Just Joined!
- Join Date
- Jul 2006
- Posts
- 59
Xterm issues
Hi,
I am trying to debug an MPI program by launching the job on two machines and tracing through the library on both sides. For this, I need to have xterm spawn two debug windows, one for my node and one more for the remote node. I am passwordless-ly ssh-ing into the other node by using the -X switch and this is where I am now,
However, on doing :Code:mpirun --prefix /usr/local -hostfile machines -np 2 xterm -e gdb peruse_ex1 xterm Xt error: Can't open display: xterm: DISPLAY is not set
I am able to spawn a debug window but it is being displayed on the remote node and not on my screen . I have set the DISPLAY variable on both the nodes to be 0.0. Please let me know what I can do to have the window displayed on my node.Code:mpirun --prefix /usr/local -hostfile machines -x DISPLAY -x PATH -np 2 xterm -e gdb peruse_ex1
Thanks


Reply With Quote
