[petsc-dev] Segfault in DMPlexDistribute

Chris Eldred chris.eldred at gmail.com
Wed Jul 31 17:26:54 CDT 2013


That works great, thanks!

-Chris

On Wed, Jul 31, 2013 at 4:59 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> Chris Eldred <chris.eldred at gmail.com> writes:
> > if (rank==0) then
> > call DMPlexCreateFromCellList(PETSC_COMM_WORLD, 2, 2, 4, 3,  1 ,
> cell_list
> > , 2 , vertex_coords , dm,  ierr)
>
> The problem here is that after this line, dm is garbage on rank 1.  You
> want to start by creating the DM on COMM_WORLD, but have all the cells
> on rank 0.  Try the attached.
>
>


-- 
Chris Eldred
DOE Computational Science Graduate Fellow
Graduate Student, Atmospheric Science, Colorado State University
B.S. Applied Computational Physics, Carnegie Mellon University, 2009
chris.eldred at gmail.com / celdred at atmos.colostate.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130731/892967bf/attachment.html>


More information about the petsc-dev mailing list