[MPICH] Tracing the mpich library with gdb and xtern
Ashley Pittman
apittman at concurrent-thinking.com
Thu Jan 3 06:07:05 CST 2008
On Thu, 2008-01-03 at 16:44 +0530, Krishna Chaitanya wrote:
> Hi Ravi,
> The problem is as simple as this : When I issue the
> mpiexec command with the gdb option, i wish to have xterm launch two
> debug windows so that i can trace through sender's and the receiver's
> codes.
> As of now, xterm is launching two windows, but one on my
> local machine and the other on the remote machine and I wish to have
> both displayed on the local machine.
> > You have to set the DISPLAY variable to the IPAddress:0.0 on
> the remote machine whre you are trying to run the job.
> The IPAddress should be the remote machine's or the
> local machine's?
>
> I anyway tried both.
> At the local machine, i did "xhost +" and got :
> access control disabled, clients can connect from any host
>
> But, the remote node's debug window is still being
> launched in the remote machine and not on the local machine.
It sounds like you set DISPLAY before sshing to the remote machine, you
should run ssh without the -x flag (although it won't do any harm) and
set DISPLAY on the machine where you issue the mpirun.
Ashley,
More information about the mpich-discuss
mailing list