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