[petsc-users] error attaching debugger (again)
Dominik Szczerba
dominik at itis.ethz.ch
Fri Dec 23 15:55:54 CST 2011
>> mpiexec -n 2 Solver run.xml -start_in_debugger -display :0.0
>> [0]PETSC ERROR: PETSC: Attaching gdb to Solver of pid 16633 on display
>> :0.0 on machine tharsis
>> [1]PETSC ERROR: PETSC: Attaching gdb to Solver of pid 16634 on display
>> :0.0 on machine tharsis
>> xterm Xt error: Can't open display: :0.0
>> xterm Xt error: Can't open display: :0.0
>
>
> -start_in_debugger usually works correctly without also adding the -display
> option. If that fails, you need to figure out what does work. You can try
>
> xterm -display tharsis:0
>
> perhaps fix xhost, perhaps use ssh -X. Once you have figured out how to
> forward the display with a simple program, try the PETSc program.
xtern and other x11 apps were fine as well as xtern and ssh
forwarding. I once had to add -display for the very same error. But
now somehow removing it brings xterms up again... Strainge...
Thanks a lot
Dominik
More information about the petsc-users
mailing list