[petsc-users] PETSc installed without X windows on this machine

Jed Brown jedbrown at mcs.anl.gov
Wed May 30 08:48:50 CDT 2012


Configure --with-x if you want that.
On May 30, 2012 8:46 AM, "w_ang_temp" <w_ang_temp at 163.com> wrote:

> Hello Matt
>      I am sorry for the vague statements.
>      When use MatView() in the code, it can print the matrix by the CSR
> form in the terminal.
>      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.
>       Thanks.
>                                                  Jim
>
>
> >在 2012-05-30 21:27:40,"Matthew Knepley" <knepley at gmail.com> 写道:
>
> >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/87db88ef/attachment.html>


More information about the petsc-users mailing list