[petsc-dev] Mat_CheckInode_FactorLU has malloc in inner inner loops

Barry Smith bsmith at mcs.anl.gov
Mon Aug 19 13:22:39 CDT 2013


  I've already reworked all that code so you don't need to look at it. Got another 50+ mflops on numeric factorization on my machine :-)


   Barry

On Aug 19, 2013, at 11:16 AM, Hong Zhang <hzhang at mcs.anl.gov> wrote:

> I'll investigate it.
> Hong
> 
> 
> On Wed, Aug 14, 2013 at 12:39 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
>   Mat_CheckInode_FactorLU() has mallocs inside very tight loops and spends a lot of time in them. Surely a single large enough malloc could be done initially?
> 
>    Barry
> 
> 




More information about the petsc-dev mailing list