graphic dump on cluster
    Matthew Knepley 
    knepley at gmail.com
       
    Wed Jan 24 16:44:28 CST 2007
    
    
  
On 1/24/07, js2615 at columbia.edu <js2615 at columbia.edu> wrote:
> Hi Petsc experts,
>
> I have a question about the graphic output using multiple
> processors.  Suppose I am using X11 to ssh into the cluster, and
> would like to view the graphical output at each iteration using
>
> ierr = VecView(x,PETSC_VIEWER_DRAW_WORLD);CHKERRQ(ierr);
>
> I got the following error message, turns out, when I use multiple
> processors (not a problem using one processor though):
>
> Unable to open display on localhost:10.0
> .  Make sure your COMPUTE NODES are authorized to connect
>     to this X server and either your DISPLAY variable
>     is set or you use the -display name option
  The error message is exactly right. You either need to set the DISPLAY env
var or give the -display option to PETSc. I think giving -Y to ssh forwards your
Xconnection automatically (setting DISPLAY).
  Matt
    
    
More information about the petsc-users
mailing list