graphic dump on cluster
Aron Ahmadia
aja2111 at columbia.edu
Wed Jan 24 17:08:38 CST 2007
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.
~A
On 1/24/07, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
>
> Note that the PETSc X model has ALL nodes connect to the X server (not
> just where rank == 0). Thus all of them need
> 1) the correct display value (-display mymachine:0.0 is usually the best
> way to
> provide it)
> 2) permission to access the display (X permission stuff, read up on it)
> and
> 3) a route to the X server (via TCP/IP).
>
> Barry
>
>
> On Wed, 24 Jan 2007, Matthew Knepley wrote:
>
> > 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
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070124/8fed6328/attachment.htm>
More information about the petsc-users
mailing list