How to get more information about mallocs during MatSetValues()

Jed Brown jed at 59A2.org
Thu Sep 24 04:32:11 CDT 2009


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.


Jed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090924/603744a2/attachment.pgp>


More information about the petsc-users mailing list