[petsc-dev] GASM

Dmitry Karpeev karpeev at mcs.anl.gov
Thu Mar 29 13:19:24 CDT 2012


Okay, I see: refcnt is incremented in KSPGetPC().

On Thu, Mar 29, 2012 at 1:12 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> And refct is decremented from 2 to 1.
> On Mar 29, 2012 12:04 PM, "Dmitry Karpeev" <karpeev at mcs.anl.gov> wrote:
>
>> Are you sure this is correct?
>> KSPDestroy(&eksp) will still call PCDestroy() on subpc:
>>
>> http://petsc.cs.iit.edu/petsc/petsc-dev/file/76f5543c7e89/src/ksp/ksp/interface/itfunc.c:774
>> Dmitry.
>>
>> On Thu, Mar 29, 2012 at 12:54 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
>>
>>> On Thu, Mar 29, 2012 at 10:45, Dmitry Karpeev <karpeev at mcs.anl.gov>wrote:
>>>
>>>> Pushed: http://petsc.cs.iit.edu/petsc/petsc-dev/rev/76f5543c7e89
>>>>
>>>
>>> And the corresponding update to make GAMG stop leaking this PC.
>>>
>>> http://petsc.cs.iit.edu/petsc/petsc-dev/rev/2d7a3ef1709a
>>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120329/4d3e27a1/attachment.html>


More information about the petsc-dev mailing list