Re: [petsc-users] DMDAGetAO and AODestroy

2016-05-12 Thread Dave May
gt; CGG Electromagnetics (Italy) Srl > > > > > > *From:* Dave May [mailto:dave.mayhe...@gmail.com] > *Sent:* giovedì 12 maggio 2016 13:03 > *To:* Miorelli, Federico > *Cc:* petsc-users@mcs.anl.gov > *Subject:* Re: [petsc-users] DMDAGetAO and AODestroy > > > >

Re: [petsc-users] DMDAGetAO and AODestroy

2016-05-12 Thread Dave May
On 12 May 2016 at 11:36, Miorelli, Federico wrote: > In one of my subroutines I'm calling DMDAGetAO to get the application > ordering from a DM structure. > > After using it I was calling AODestroy. > > > > Everything worked fine until I called the subroutine for the

[petsc-users] DMDAGetAO and AODestroy

2016-05-12 Thread Miorelli, Federico
In one of my subroutines I'm calling DMDAGetAO to get the application ordering from a DM structure. After using it I was calling AODestroy. Everything worked fine until I called the subroutine for the second time, when the program crashed. Removing the call to AODestroy solved the crash. Am I