Re: [petsc-dev] Segfault in DMPlexDistribute
31 Jul
2013
31 Jul
'13
6:26 p.m.
That works great, thanks! -Chris On Wed, Jul 31, 2013 at 4:59 PM, Jed Brown <[email protected]> wrote:
Chris Eldred <[email protected]> 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 [email protected] / [email protected]
4757
Age (days ago)
4757
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Eldred