[petsc-users] KSP and VecDestroy
Jed Brown
jedbrown at mcs.anl.gov
Sat Oct 8 12:13:40 CDT 2011
On Sat, Oct 8, 2011 at 12:11, Shiyuan <gshy2014 at gmail.com> wrote:
> I did. log_summary shows ksp is destroyed. But I called KSPDestroy() after
> VecDestroy(). That might cause the problem.
Calling KSPDestroy() after VecDestroy() is not a problem.
Run with -malloc_dump to see if there is actually a memory leak.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111008/9ef31105/attachment.htm>
More information about the petsc-users
mailing list