SuperLU

Clearly defined bug reports and their fixes
Post Reply
fgillet
Posts: 46
Joined: 30 Sep 2010, 16:58

SuperLU

Post by fgillet »

Hello,

found the memory leak with SuperLU;
for proper deallocation of all the objects in SolveSuperLU.c:
REPLACE: Destroy_CompCol_Permuted(&AC);
WITH: pxgstrf_finalize(&options, &AC);

and REPLACE:
Destroy_CompCol_Matrix(LUfactors->U);
Destroy_SuperNode_Matrix(LUfactors->L);

WITH:
Destroy_SuperNode_SCP(LUfactors->L);
Destroy_CompCol_NCP(LUfactors->U);

cheers

fabien
Juha
Site Admin
Posts: 357
Joined: 21 Aug 2009, 15:11

Re: SuperLU

Post by Juha »

Hi,

made the changes as you suggested (in the SVN). Can't test it atm though, maybe you
could give it a try?

Thanks, Juha
fgillet
Posts: 46
Joined: 30 Sep 2010, 16:58

Re: SuperLU

Post by fgillet »

Hi,

tested on my Mac and a linux cluster.
It's looking good.

Thanks

Fabien
Post Reply