[petsc-users] Fill-in of factorization

Matthew Knepley knepley at gmail.com
Fri Feb 28 14:30:05 CST 2014


On Fri, Feb 28, 2014 at 12:13 PM, Jan Blechta <blechta at karlin.mff.cuni.cz>wrote:

> Hi,
>
> is it possible to check an amount of fill-in produced during
> factorization with PCLU or PCCHOLESKY? Or should I ask the library, say
> MUMPS, directly?


This is from the PCFactorView():

      MatInfo info;
      ierr = MatGetInfo(factor->fact,MAT_LOCAL,&info);CHKERRQ(ierr);
      ierr = PetscViewerASCIIPrintf(viewer,"  factor fill ratio given %g,
needed
%g\n",(double)info.fill_ratio_given,(double)info.fill_ratio_needed);CHKERRQ(ierr);

  THanks,

     MAtt


>
> Jan
>



-- 
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/20140228/610c4d84/attachment.html>


More information about the petsc-users mailing list