<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>Hello Matt</DIV>
<DIV>     I am sorry for the vague statements. </DIV>
<DIV>     When use MatView() in the code, it can print the matrix by the CSR form in the terminal.</DIV>
<DIV>     When I try to view the matrix with the runtime option -mat_view_draw, I get the error message. I just want to draw the matrix nonzero structure.</DIV>
<DIV>      Thanks.</DIV>
<DIV>                                                 Jim<BR><BR></DIV>
<DIV></DIV>
<DIV id="divNeteaseMailCard"></DIV>
<DIV><BR></DIV>>ÔÚ 2012-05-30 21:27:40£¬"Matthew Knepley" <knepley@gmail.com> Ð´µÀ£º<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" id="isReplyContent">>On Wed, May 30, 2012 at 9:20 AM, w_ang_temp <SPAN dir="ltr"><<A href="mailto:w_ang_temp@163.com" target="_blank">w_ang_temp@163.com</A>></SPAN> wrote:<BR>
<DIV class="gmail_quote">
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<DIV style="LINE-HEIGHT: 1.7; FONT-FAMILY: arial; FONT-SIZE: 14px">
<DIV>>Hello</DIV>
<DIV>>    When I try to view a matrix with the option -mat_view_draw, I get :<BR>>    [0]PETSC ERROR: PETSc installed without X windows on this machine proceeding without graphics.</DIV>
<DIV>>    But calling MatView in side the code is ok.</DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>>Are you saying that from within the code, MatView() draws a picture in an X-window? I do not see</DIV>
<DIV>>how that can possibly be the case. PETSc did not compile support for that, as it says in the error</DIV>
<DIV>>message.</DIV>
<DIV><BR></DIV>
<DIV>>   Matt</DIV>
<DIV> </DIV>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<DIV style="LINE-HEIGHT: 1.7; FONT-FAMILY: arial; FONT-SIZE: 14px">
<DIV>>    I install the libX11-dev as Matt said in one message in the petsc-users in 2008,  but the problem doesn't solved.</DIV>
<DIV>>    The system is ubuntu 10.04.</DIV>
<DIV>>    So what might be the reason?</DIV>
<DIV>>    Thanks.</DIV>
<DIV>>                                          Jim<BR><BR> </DIV></DIV><BR><BR><SPAN title="neteasefooter"><SPAN></SPAN></SPAN></BLOCKQUOTE></DIV><BR><BR clear="all">
<DIV><BR></DIV>-- <BR>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<BR>-- Norbert Wiener<BR></BLOCKQUOTE></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>