<div class="gmail_quote">On Fri, Dec 23, 2011 at 15:34, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":30w">mpiexec -n 2 Solver run.xml -start_in_debugger -display :0.0<br>
[0]PETSC ERROR: PETSC: Attaching gdb to Solver of pid 16633 on display<br>
:0.0 on machine tharsis<br>
[1]PETSC ERROR: PETSC: Attaching gdb to Solver of pid 16634 on display<br>
:0.0 on machine tharsis<br>
xterm Xt error: Can't open display: :0.0<br>
xterm Xt error: Can't open display: :0.0</div></blockquote></div><br><div>-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</div>
<div><br></div><div>xterm -display tharsis:0</div><div><br></div><div>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.</div>