<div dir="ltr">I was reading the FAQ list when I came across the following:<div><br></div><div><a href="http://www.mcs.anl.gov/petsc/documentation/faq.html#key">http://www.mcs.anl.gov/petsc/documentation/faq.html#key</a></div>
<div><br></div><div><h3 style="font-family:'Times New Roman';background-color:rgb(213,234,255)"><a name="key" style="color:red">When calling MatPartitioningApply() you get a message Error! Key 16615 not found</a></h3>
<span style="font-family:'Times New Roman';background-color:rgb(213,234,255);font-size:medium">The graph of the matrix you are using is not symmetric. You must use symmetric matrices for partitioning.</span></div>
<div><font face="'Times New Roman'" size="3"><br></font></div><div><font face="'Times New Roman'" size="3">Is this a limitation on ParMetis side? I set up the adjacency matrix based on the discretization that I will be performing on the grid which is non-symmetric; both numerically and structurally. What's the solution here? Make an "approximate" adjacency matrix that sort of looks like (structurally) my discretization but is symmetric? What I don't understand is my matrix IS non-symmetric when the code runs on coarser grids!</font></div>
<div><font face="'Times New Roman'" size="3"><br></font></div><div><font face="'Times New Roman'" size="3">Also, I was reading the FAQ hoping I can find something regarding using gdb in parallel. I found this: <a href="http://scicomp.stackexchange.com/a/410/485">http://scicomp.stackexchange.com/a/410/485</a> but I'm not sure how I should be using gdb in parallel. Could you (maybe Matt?) please explain a little bit?</font></div>
<div><font face="'Times New Roman'" size="3"><br></font></div><div><font face="'Times New Roman'" size="3">Thanks<br></font><br><div class="gmail_quote">On Tue, Apr 10, 2012 at 12:08 AM, Mohammad Mirzadeh <span dir="ltr"><<a href="mailto:mirzadeh@gmail.com">mirzadeh@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">Just built petsc-dev and it did not help. I'm going to look into the code to see if my graph is "ill-formed" in some sense. Just hope the problem is from my side not a real bug in ParMetis!<div>
<div class="h5"><div>
<br></div><div> </div><div><br><div class="gmail_quote">On Mon, Apr 9, 2012 at 8:46 PM, Mohammad Mirzadeh <span dir="ltr"><<a href="mailto:mirzadeh@gmail.com" target="_blank">mirzadeh@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">ok. Thanks Jed. I'll try petsc-dev to see if it fixes the problem.<div><br></div><div>Thanks everyone.<div><div><br><br><div class="gmail_quote">On Mon, Apr 9, 2012 at 8:42 PM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div>On Mon, Apr 9, 2012 at 22:37, Mohammad Mirzadeh <span dir="ltr"><<a href="mailto:mirzadeh@gmail.com" target="_blank">mirzadeh@gmail.com</a>></span> wrote:<br>
</div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks Sean. I'm using Petsc 3.2-p6 along with ParMetis 4.0.2. Since this was not supported with 3.2-p6, and previous versions had bugs, I built parmetis myself and used --with-parmetis-include and --with-parmetis-lib flags to build petsc.<div>
<br></div><div>Should I switch to petsc-dev?</div></div></blockquote></div></div><br><div>Yes, and use --download-metis --download-parmetis because the version upstream has some bugs for which the patches have not been applied.</div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>