On Wed, May 30, 2012 at 9:20 AM, w_ang_temp <w_ang_temp at 163.com> wrote:
> Hello > When I try to view a matrix with the option -mat_view_draw, I get : > [0]PETSC ERROR: PETSc installed without X windows on this machine > proceeding without graphics. > But calling MatView in side the code is ok. > Are you saying that from within the code, MatView() draws a picture in an X-window? I do not see how that can possibly be the case. PETSc did not compile support for that, as it says in the error message. Matt > I install the libX11-dev as Matt said in one message in the > petsc-users in 2008, but the problem doesn't solved. > The system is ubuntu 10.04. > So what might be the reason? > Thanks. > Jim > > > > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120530/4c263907/attachment.html>
