Re: [OMPI users] Tracing the library using gdb and xterm

2008-01-03 Thread Krishna Chaitanya
Hi Rolf, Thanks for that. There is still one minor problem, though. The xwindow is getting spawned on the remote machine and not on my local machine. It now looks like, mpirun --prefix /usr/local -hostfile machines -x DISPLAY -x PATH -np 2 xterm -e gdb peruse_ex1 Please let

Re: [OMPI users] Tracing the library using gdb and xterm

2008-01-03 Thread Jeff Squyres
Krishna -- Did you not see my post yesterday? http://www.open-mpi.org/community/lists/users/2008/01/4774.php D On Jan 3, 2008, at 4:54 AM, Krishna Chaitanya wrote: Hi Rolf, Thanks for that. There is still one minor problem, though. The xwindow is getting spawned on the remot

Re: [OMPI users] Tracing the library using gdb and xterm

2008-01-03 Thread Doug Reeder
Krishna, Review the ssh and sshd man pages. When using ssh -X it takes care of defining the DISPLAY and sending the X11 images to your screen. Defining DISPLY directly generally won't work (that is how you do it with rlogin but not with ssh). Doug Reeder On Jan 3, 2008, at 1:54 AM, Krishn

Re: [OMPI users] Tracing the library using gdb and xterm

2008-01-03 Thread Jeff Squyres
Per my previous mail, Open MPI (by default) closes its ssh sessions after the remote processes are launched, so X forwarding through ssh will not work. If it is possible (and I think it is, based on your subsequent replies), you might be best served with unencrypted X forwarding. On Jan

Re: [OMPI users] multi-compiler builds of OpenMPI (RPM)

2008-01-03 Thread Jim Kusznir
Thanks for the detailed responces! I've included some stuff inline below: On Jan 2, 2008 1:56 PM, Jeff Squyres wrote: > On Dec 31, 2007, at 12:50 AM, Jim Kusznir wrote: > > The rpm build errored out near the end with a missing file. It was > > trying to find /opt/openmpi-gcc/1.2.4/opt/share/op

Re: [OMPI users] Tracing the library using gdb and xterm

2008-01-03 Thread Doug Reeder
Krishna, Would it work to launch the gdb/ddd process separately on the remote machine and then attaching to the mpi running jobfrom within gdb/ddd. Something like ssh -X [hostname|ip address] [ddd|gdb] Doug Reeder On Jan 3, 2008, at 8:32 AM, Jeff Squyres wrote: Per my previous mail, Open