<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2>Thanks.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2> I tried something else :</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2> - creation of the matrix with
MatCreateMPIAIJ</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006> <FONT
face=Arial size=2>- initialization</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006> <FONT
face=Arial size=2>- adding of the options <SPAN
class=046461008-10052006><FONT face=Arial
size=2>MAT_SYMMETRIC and</FONT></SPAN> <SPAN
class=046461008-10052006><FONT face=Arial size=2>MAT_SYMMETRY_ETERNAL
</FONT></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2><SPAN class=046461008-10052006></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2><SPAN class=046461008-10052006>When </SPAN></FONT></SPAN><SPAN
class=046461008-10052006><FONT face=Arial size=2><SPAN
class=046461008-10052006>solving in sequential CG + ICC, e<SPAN
class=046461008-10052006><FONT face=Arial size=2><SPAN
class=046461008-10052006>verything is ok. When I tried in parallel the same code
the options lead to the same error
:</SPAN></FONT></SPAN></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2><SPAN class=046461008-10052006><SPAN class=046461008-10052006><FONT
face=Arial size=2><SPAN class=046461008-10052006>[0]PETSC ERROR:
MatSetOption_MPIAIJ() line 1251 in src/mat/impls/aij/mpi/mpiaij.c<BR>[0]PETSC
ERROR: No support for this operation for this object type!<BR>[0]PETSC ERROR:
unknown option!<BR>[0]PETSC ERROR: MatSetOption() line 4137 in
src/mat/interface/matrix.c<BR></SPAN></FONT></SPAN></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2><SPAN class=046461008-10052006><SPAN class=046461008-10052006><FONT
face=Arial size=2><SPAN class=046461008-10052006>Can MatSetOption be only
used in sequential?</SPAN></FONT></SPAN></SPAN></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=046461008-10052006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV align=left><FONT face=Arial size=2>Faïza</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><BR>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De :</B> Matthew Knepley
[mailto:knepley@gmail.com] <BR><B>Envoyé :</B> mardi 9 mai 2006
18:19<BR><B>À :</B> petsc-users@mcs.anl.gov<BR><B>Objet :</B> Re:
Petsc + BlockSolve95<BR></FONT><BR></DIV>
<DIV></DIV>I believe there is a problem with the option that you specified. All
these<BR>are integers, and it is complaining that the integer does not
match<BR>MAT_SYMMETRIC. I will fix the error message to print the
offending<BR>option, but please check the code.<BR><BR>
Thanks,<BR><BR> Matt<BR><BR>
<DIV><SPAN class=gmail_quote>On 5/9/06, <B class=gmail_sendername>Boulahya
Faïza</B> <<A href="mailto:F.Boulahya@brgm.fr">F.Boulahya@brgm.fr</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV style="DIRECTION: ltr">
<DIV><SPAN><FONT face=Arial size=2>Hi All,</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>Has anyone used Conjugate Gradient Solver +
Icomplete Cholesky Preconditionner in parallel case? I tried as said in the
manual : I use MATMPIROWBS for the storage of the matrice. However I get
this message :</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>PETSC ERROR: To use incomplete
Cholesky<BR>
preconditioning with a MATMPIROWBS matrix you must declare it to
be<BR>
symmetric using the option
MatSetOption(A,MAT_SYMMETRIC)!<BR></FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>So I tried adding this option (even if in
the namual it is written that it is not required). Then I obtained this
message</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2>PETSC ERROR: MatSetOption_MPIRowbs() line
1411 in src/mat/impls/rowbs/mpi/mpirowbs.c<BR>PETSC ERROR: No support for this
operation for this object type!<BR>PETSC ERROR: unknown option!<BR>PETSC
ERROR: MatSetOption() line 4137 in
src/mat/interface/matrix.c<BR></FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2><FONT face=Courier size=3><FONT face=Arial
size=2>In advance thanks,</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN><SPAN><FONT face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2>Faïza</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT> </DIV></DIV></BLOCKQUOTE></DIV>
<FONT SIZE=3 COLOR=BLUE><PRE>
Pensez à visiter le site BRGM sur.... http://www.brgm.fr/
***
Le contenu de cet e-mail et de ses pièces jointes est destiné à l'usage exclusif du
(des) destinataire(s) expressément désigné(s) comme tel(s). En cas de réception de cet
e-mail par erreur, le signaler à son expéditeur et ne pas en divulguer le contenu.
L'absence de virus a été vérifié à l'émission du message. Il convient néanmoins de
vérifier l'absence de corruption à sa réception.
The contents of this email and any attachments are confidential. They are intended for
the named recipient(s) only. If you have received this email in error please notify the
system manager or the sender immediately and do not disclose the contents to
anyone or make copies. eSafe scanned this email for viruses, vandals and malicious
content.
***
</PRE></FONT>
</BODY></HTML>