Re: [OMPI users] mpirun, paths and xterm again (xserver problem solved; library problem still there)

2008-09-24 Thread Thomas Ropars
I works find with konsole. Thank you for the advise. Thomas. Samuel Sarholz wrote: Hi, I think the problem is that xterm (probably) has the userid bit set and thus deletes the LD_LIBRARY_PATH. Try setting the path again before you start gdb, e.g: mpirun -n 2 -x DISPLAY=:0.0 xterm -e

Re: [OMPI users] mpirun, paths and xterm again (xserver problem solved; library problem still there)

2008-09-24 Thread Thomas Ropars
Hi, I'm trying to use gdb and xterm with open mpi on my computer (Ubuntu 8.04). When I run an application without gdb on my computer in works find but if I try to use gdb in xterm I get the following error: mpirun -n 2 -x DISPLAY=:0.0 xterm -e gdb ./ring.out (gdb) run Starting program:

Re: [OMPI users] mpirun, paths and xterm again (xserver problem solved; library problem still there)

2008-02-07 Thread Jeff Squyres
On Feb 7, 2008, at 10:07 AM, jody wrote: I wrote a little command called envliblist which consists of this line: printenv | grep PATH | gawk -F "_PATH=" '{ print $2 }' | gawk -F ":" '{ print $1 }' | xargs ls -al When i do mpirun -np 5 -hostfile testhosts -x DISPLAY xterm -hold -e ./

Re: [OMPI users] mpirun, paths and xterm again (xserver problem solved; library problem still there)

2008-02-07 Thread jody
Hi Jeff > The results of these two commands do seem to contradict each other; > hmm. Just to be absolutely sure, did you cut-n-paste the > LD_LIBRARY_PATH directory output from printenv and try to "ls" it to > ensure that it's completely spelled right, etc.? I suspect that it's > right since

Re: [OMPI users] mpirun, paths and xterm again (xserver problem solved; library problem still there)

2008-02-07 Thread Jeff Squyres
The whole question of how to invoke xterms for gdb via mpirun keeps coming up, so when this thread is done, I'll add a pile of this information to the FAQ. More below. On Feb 6, 2008, at 10:52 AM, jody wrote: I now solved the "ssh" part of my Problem The XServer is being started with the

Re: [OMPI users] mpirun, paths and xterm again

2008-02-06 Thread Tim Prins
Jody, If you want to forward X connections through ssh, you should NOT set the DISPLAY variable. ssh will set the proper one for you. Tim jody wrote: Tim Thank you for your explanation on how OpenMPI uses ssh. There is a way to force the ssh sessions to stay open. However doing so will

Re: [OMPI users] mpirun, paths and xterm again (xserver problem solved; library problem still there)

2008-02-06 Thread jody
I now solved the "ssh" part of my Problem The XServer is being started with the nolisten option (thanks Allen). In Fedora (Gnome) this can easily be changed by choosing the the "Login Screen" tool from the System|Administration Menu. There, under the tab "Security", remove the checkmark from "Deny

Re: [OMPI users] mpirun, paths and xterm again

2008-02-06 Thread jody
Tim Thank you for your explanation on how OpenMPI uses ssh. > There is a way to force the ssh sessions to stay open. However doing so > will result in a bunch of excess debug output. If you add > "--debug-daemons" to the mpirun command line, the ssh connections should > stay open.

Re: [OMPI users] mpirun, paths and xterm again

2008-02-05 Thread Tim Prins
Jody, jody wrote: Hi Tim Your desktop is plankton, and you want to run a job on both plankton and nano, and have xterms show up on nano. Not on nano, but on plankton, but ithink this was just a typo :) Correct. It looks like you are already doing this, but to make sure, the way I would

Re: [OMPI users] mpirun, paths and xterm again

2008-02-05 Thread jody
Hi Tim > Your desktop is plankton, and you want > to run a job on both plankton and nano, and have xterms show up on nano. Not on nano, but on plankton, but ithink this was just a typo :) > It looks like you are already doing this, but to make sure, the way I > would use xhost is: > plankton$

Re: [OMPI users] mpirun, paths and xterm again

2008-02-05 Thread Tim Prins
Hi Jody, Just to make sure I understand. Your desktop is plankton, and you want to run a job on both plankton and nano, and have xterms show up on nano. It looks like you are already doing this, but to make sure, the way I would use xhost is: plankton$ xhost +nano_00 plankton$ mpirun -np 4