[petsc-users] Réf. : Re: PETSc installed without X windows on this machine
Thomas DE-SOZA
thomas.de-soza at edf.fr
Wed May 30 09:03:49 CDT 2012
Hi,
To print the matrix in ASCII form you must use "-mat_view" and not "-mat_view_draw".
Thomas
w_ang_temp at 163.com
Envoyé par : petsc-users-bounces at mcs.anl.gov
30/05/2012 15:46
Veuillez répondre à petsc-users
Pour : petsc-users at mcs.anl.gov
cc : (ccc : Thomas DE-SOZA/A/EDF/FR)
Objet : Re: [petsc-users] PETSc installed without X windows on this machine
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/7de11b1b/attachment.html>
-------------- next part --------------
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.
Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez re?u ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.
Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.
____________________________________________________
This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.
If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.
E-mail communication cannot be guaranteed to be timely secure, error or virus-free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120530/7de11b1b/attachment-0001.html>
More information about the petsc-users
mailing list