<div class="gmail_quote">On Wed, Feb 23, 2011 at 16:45, Klaij, Christiaan <span dir="ltr"><<a href="mailto:C.Klaij@marin.nl">C.Klaij@marin.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":3iv">3) at line 253 I added :<br>
call PCDiagonalScale(pc,PETSC_TRUE,ierr)<br></div></blockquote><div><br></div><div>This is not the correct interface. You want PCDiagonalScaleSet(pc,X,ierr). PCDiagonalScale() is a getter with petsc-3.1 and is not available from Fortran (but you don't need it). The naming has been made consistent in petsc-dev.</div>
</div>