MatView() and Multiple Processes

Tim Stitt timothy.stitt at
Sun Dec 9 11:37:07 CST 2007

Hi all,

I was just wondering if someone can tell me how to configure my 
dual-core laptop to allow graphical X11 output of my PETSc matrices. 
MatView() works fine on my parallel code with 1 process but I get the 
following errors on each process when I use more than one:

[0]PETSC ERROR: --------------------- Error Message 
[0]PETSC ERROR: Error in external library!
[0]PETSC ERROR: Unable to open display on localhost.localdomain:0.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

Thanks in advance as always,


Dr. Timothy Stitt <>
HPC Application Consultant - ICHEC (

Dublin Institute for Advanced Studies
5 Merrion Square - Dublin 2 - Ireland

+353-1-6621333 (tel) / +353-1-6621477 (fax)

More information about the petsc-users mailing list