[petsc-users] Fill-in of factorization

Jan Blechta blechta at karlin.mff.cuni.cz
Fri Feb 28 15:59:18 CST 2014


On Fri, 28 Feb 2014 12:30:05 -0800
Matthew Knepley <knepley at gmail.com> wrote:

> 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);

MatGetInfo does not seem to be available in petsc4py. Am I grepping
correctly?

Jan

>       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
> >
> 
> 
> 



More information about the petsc-users mailing list