Is there a good script lying around somewhere for setting the X11 connections up from the master/interactive node? This seems like it could be a huge pain if you've got a bunch of worker nodes sitting in a private network behind the master in classic Beowulf style and you don't have a systems administrator to set it up for you.
<br><br>~A<br><br><div><span class="gmail_quote">On 1/24/07, <b class="gmail_sendername">Barry Smith</b> <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> Note that the PETSc X model has ALL nodes connect to the X server (not<br>just where rank == 0). Thus all of them need<br>1) the correct display value (-display mymachine:0.0 is usually the best way to<br> provide it)
<br>2) permission to access the display (X permission stuff, read up on it) and<br>3) a route to the X server (via TCP/IP).<br><br> Barry<br><br><br>On Wed, 24 Jan 2007, Matthew Knepley wrote:<br><br>> On 1/24/07, <a href="mailto:js2615@columbia.edu">
js2615@columbia.edu</a> <<a href="mailto:js2615@columbia.edu">js2615@columbia.edu</a>> wrote:<br>> > Hi Petsc experts,<br>> ><br>> > I have a question about the graphic output using multiple<br>> > processors. Suppose I am using X11 to ssh into the cluster, and
<br>> > would like to view the graphical output at each iteration using<br>> ><br>> > ierr = VecView(x,PETSC_VIEWER_DRAW_WORLD);CHKERRQ(ierr);<br>> ><br>> > I got the following error message, turns out, when I use multiple
<br>> > processors (not a problem using one processor though):<br>> ><br>> > Unable to open display on localhost:10.0<br>> > . Make sure your COMPUTE NODES are authorized to connect<br>> > to this X server and either your DISPLAY variable
<br>> > is set or you use the -display name option<br>><br>> The error message is exactly right. You either need to set the DISPLAY env<br>> var or give the -display option to PETSc. I think giving -Y to ssh forwards
<br>> your<br>> Xconnection automatically (setting DISPLAY).<br>><br>> Matt<br>><br>><br><br></blockquote></div><br>