<p>Configure --with-x if you want that.</p>
<div class="gmail_quote">On May 30, 2012 8:46 AM, "w_ang_temp" <<a href="mailto:w_ang_temp@163.com">w_ang_temp@163.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="line-height:1.7;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></div>
<div><br></div>>在 2012-05-30 21:27:40,"Matthew Knepley" <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>> 写道:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex">>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></span></span></blockquote></div>