<div dir="ltr">On Thu, Aug 29, 2013 at 1:45 AM, Garnet Vaz <span dir="ltr"><<a href="mailto:garnet.vaz@gmail.com" target="_blank">garnet.vaz@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div>Hi Matt,<br><br></div>I figured out what was causing the problems. I never had<br>
</div>an optimized build built on my laptop before. So I did not<br>
</div>run the reconfigure script but had to build from scratch.<br><br></div>I recently changed my build script to keep only what was<br></div>required for this project. By mistake, the --download-chaco<br></div>was taken out. Hence, the code was running on all debug<br>

</div>builds + optimized build on the desktop and crashed on<br></div>my laptop.<br><br></div>Once I rebuilt 3.4.2 it crashed for all builds since chaco <br>was not available on any of them now. The IS of<br>the partition returned here was corrupt. <br>

plex.c line 2503<br></div></div></div></div></blockquote><div><br></div><div>Crap! Thats a bug. Thanks for finding it. I will fix it in next today.</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>    if (1) {<br>#if defined(PETSC_HAVE_CHACO)<br>      ierr = DMPlexPartition_Chaco(dm, numVertices, start, adjacency, partSection, partition);CHKERRQ(ierr);<br>#endif<br>    } else {<br>#if defined(PETSC_HAVE_PARMETIS)<br>

      ierr = DMPlexPartition_ParMetis(dm, numVertices, start, adjacency, partSection, partition);CHKERRQ(ierr);<br>#endif<br>    }<br></div>I do have parmetis installed but I do not know why it did not<br>work. <br><br></div>

Since you were able to run the code it helped a lot. The<br>code runs on all builds/machines now without any problems<br></div>once chaco was downloaded.<br><div><div><div><br></div><div>Thanks a lot for the help.<br></div>

<div><br></div><div>Regards,<br></div><div>Garnet<br></div><div><br><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 28, 2013 at 7:22 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>On Wed, Aug 28, 2013 at 4:53 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br>

</div></div><div class="gmail_extra"><div><div><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Garnet Vaz <<a href="mailto:garnet.vaz@gmail.com" target="_blank">garnet.vaz@gmail.com</a>> writes:<br>
<br>
> Hi Matt,<br>
><br>
> Within gdb how can I view an IS? I tried 'call ISView(*partition,0)'<br>
> following the VecView() syntax but it causes a segmentation fault<br>
> inside gdb.<br>
<br>
</div>That'll work if you're passing an IS and it's not already corrupt.<br>
</blockquote></div><br></div></div>Just to recap, I have run in both debug and optimized with complex, and through valgrind,</div><div class="gmail_extra">and I get no problems on my machine (using downloaded MPICH).</div>

<div class="gmail_extra">
<br></div><div class="gmail_extra">I think we will need you to narrow it down with the debugger there.</div><div class="gmail_extra"><br></div><div class="gmail_extra">  Thanks,</div><div class="gmail_extra"><br></div><div class="gmail_extra">


     Matt<div><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>

-- Norbert Wiener
</font></span></div></div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Regards,<div>Garnet</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>