graphic dump on cluster

js2615 at columbia.edu js2615 at columbia.edu
Wed Jan 24 15:49:49 CST 2007


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
!
[3]PETSC ERROR: [1]PETSC ERROR: Libraries linked from
/opt/petsc-2.3.2/lib/linux-gnu-c-debug
[2]PETSC ERROR:
------------------------------------------------------------------------
[3]PETSC ERROR: Configure run at Fri Oct 27 11:40:04 2006
Petsc Release Version 2.3.2, Patch 3, Fri Sep 29 17:09:34 CDT 2006
HG revision: 9215af156a9cbcdc1ec666e2b5c7934688ddc526
[3]PETSC ERROR: Libraries linked from
/opt/petsc-2.3.2/lib/linux-gnu-c-debug
See docs/changes/index.html for recent updates.
[2]PETSC ERROR: [3]PETSC ERROR: See docs/faq.html for hints about
trouble shooting.
[3]PETSC ERROR: See docs/index.html for manual pages.
[1]PETSC ERROR: [3]PETSC ERROR:
------------------------------------------------------------------------
Configure options --with-mpich=/opt/mpich2
--with-blas-lapack=lib=/usr/lib/libatlas.so --with-shared=0
[3]PETSC ERROR: ./ex19 on a linux-gnu named n0010 by jianing Wed Jan
24 16:36:03 2007
[3]PETSC ERROR: Libraries linked from
/opt/petsc-2.3.2/lib/linux-gnu-c-debug
Configure run at Fri Oct 27 11:40:04 2006
[2]PETSC ERROR:
------------------------------------------------------------------------
[2]PETSC ERROR: PetscDrawXGetDisplaySize_Private() line 618 in
src/sys/draw/impls/x/xops.c
[2]PETSC ERROR: [3]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
Configure run at Fri Oct 27 11:40:04 2006
[1]PETSC ERROR: Configure options --with-mpich=/opt/mpich2
--with-blas-lapack=lib=/usr/lib/libatlas.so --with-shared=0
[3]PETSC ERROR: [1]PETSC ERROR: Configure options
--with-mpich=/opt/mpich2
--with-blas-lapack=lib=/usr/lib/libatlas.so --with-shared=0
------------------------------------------------------------------------
[3]PETSC ERROR: [1]PETSC ERROR:
------------------------------------------------------------------------
[3]PETSC ERROR: PetscDrawXGetDisplaySize_Private() line 618 in
src/sys/draw/impls/x/xops.c
[3]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics
PetscDrawXGetDisplaySize_Private() line 618 in
src/sys/draw/impls/x/xops.c
[1]PETSC ERROR: PETSc unable to use X windows
proceeding without graphics

Is there any permission issue I need to set up?

Thanks,

Jianing




More information about the petsc-users mailing list