Re: [petsc-users] Segmentation Violation in getting DMPlex coordinates

2018-04-28 Thread Danyang Su
Hi Matt and Barry, Thanks for your quick response. After changing DMDAVecGetArrayF90 to VecGetArrayF90, everything works now. Thanks, Danyang On 18-04-28 01:38 PM, Smith, Barry F. wrote: Added runtime error checking for such incorrect calls in barry/dmda-calls-type-check On Apr 28,

Re: [petsc-users] Segmentation Violation in getting DMPlex coordinates

2018-04-28 Thread Smith, Barry F.
Added runtime error checking for such incorrect calls in barry/dmda-calls-type-check > On Apr 28, 2018, at 9:19 AM, Matthew Knepley wrote: > > On Sat, Apr 28, 2018 at 2:08 AM, Danyang Su wrote: > Hi All, > > I use DMPlex and need to get

Re: [petsc-users] Segmentation Violation in getting DMPlex coordinates

2018-04-28 Thread Matthew Knepley
On Sat, Apr 28, 2018 at 2:08 AM, Danyang Su wrote: > Hi All, > > I use DMPlex and need to get coordinates back after distribution. However, > I always get segmentation violation in getting coords values in the > following codes if using multiple processors. If only one