Hi Jianing,<br><br>I don&#39;t think the orion cluster is set up for the worker nodes to be able to connect back to a remote workstation.&nbsp; I would collect the data locally on the master node, and use PETSC_VIEWER_DRAW_SELF.
<br><br>Please double-check that the display code works on single-processor jobs, that error looks like an X11 setup error as Matt notes.<br><br>~A<br><br><div><span class="gmail_quote">On 1/24/07, <b class="gmail_sendername">
<a href="mailto:js2615@columbia.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">js2615@columbia.edu</a></b> &lt;<a href="mailto:js2615@columbia.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
js2615@columbia.edu</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Petsc experts,<br><br>I have a question about the graphic output using multiple<br>

processors.&nbsp;&nbsp;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>.&nbsp;&nbsp;Make sure your COMPUTE NODES are authorized to connect<br>&nbsp;&nbsp;&nbsp;&nbsp;to this X server and either your DISPLAY variable
<br>&nbsp;&nbsp;&nbsp;&nbsp;is set or you use the -display name option<br>!<br>[3]PETSC ERROR: [1]PETSC ERROR: Libraries linked from<br>/opt/petsc-2.3.2/lib/linux-gnu-c-debug<br>[2]PETSC ERROR:<br>------------------------------------------------------------------------
<br>[3]PETSC ERROR: Configure run at Fri Oct 27 11:40:04 2006<br>Petsc Release Version 2.3.2, Patch 3, Fri Sep 29 17:09:34 CDT 2006<br>HG revision: 9215af156a9cbcdc1ec666e2b5c7934688ddc526<br>[3]PETSC ERROR: Libraries linked from
<br>/opt/petsc-2.3.2/lib/linux-gnu-c-debug<br>See docs/changes/index.html for recent updates.<br>[2]PETSC ERROR: [3]PETSC ERROR: See docs/faq.html for hints about<br>trouble shooting.<br>[3]PETSC ERROR: See docs/index.html for manual pages.
<br>[1]PETSC ERROR: [3]PETSC ERROR:<br>------------------------------------------------------------------------<br>Configure options --with-mpich=/opt/mpich2<br>--with-blas-lapack=lib=/usr/lib/libatlas.so --with-shared=0
<br>
[3]PETSC ERROR: ./ex19 on a linux-gnu named n0010 by jianing Wed Jan<br>24 16:36:03 2007<br>[3]PETSC ERROR: Libraries linked from<br>/opt/petsc-2.3.2/lib/linux-gnu-c-debug<br>Configure run at Fri Oct 27 11:40:04 2006<br>
[2]PETSC ERROR:
<br>------------------------------------------------------------------------<br>[2]PETSC ERROR: PetscDrawXGetDisplaySize_Private() line 618 in<br>src/sys/draw/impls/x/xops.c<br>[2]PETSC ERROR: [3]PETSC ERROR: PETSc unable to use X windows
<br>proceeding without graphics<br>Configure run at Fri Oct 27 11:40:04 2006<br>[1]PETSC ERROR: Configure options --with-mpich=/opt/mpich2<br>--with-blas-lapack=lib=/usr/lib/libatlas.so --with-shared=0<br>[3]PETSC ERROR: [1]PETSC ERROR: Configure options
<br>--with-mpich=/opt/mpich2<br>--with-blas-lapack=lib=/usr/lib/libatlas.so --with-shared=0<br>------------------------------------------------------------------------<br>[3]PETSC ERROR: [1]PETSC ERROR:<br>------------------------------------------------------------------------
<br>[3]PETSC ERROR: PetscDrawXGetDisplaySize_Private() line 618 in<br>src/sys/draw/impls/x/xops.c<br>[3]PETSC ERROR: PETSc unable to use X windows<br>proceeding without graphics<br>PetscDrawXGetDisplaySize_Private() line 618 in
<br>src/sys/draw/impls/x/xops.c<br>[1]PETSC ERROR: PETSc unable to use X windows<br>proceeding without graphics<br><br>Is there any permission issue I need to set up?<br><br>Thanks,<br><br>Jianing<br><br></blockquote></div>

<br>