How to get more information about mallocs during MatSetValues()

Thomas Witkowski thomas.witkowski at tu-dresden.de
Thu Sep 24 06:01:42 CDT 2009


Jed Brown wrote:
> Thomas Witkowski wrote:
>
>   
>> Is there an easy way to find out, why Petsc must do some mallocs?
>>     
>
> try MatSetOption(A,MAT_NEW_NONZERO_ALLOCATION_ERR,PETSC_TRUE) and catch the error in a debugger.
>   
That's exactly what I've search for. Thanks ...

Thomas
>
> Jed
>
>   



More information about the petsc-users mailing list