<div class="gmail_quote">On Mon, Feb 20, 2012 at 20:22, recrusader <span dir="ltr">&lt;<a href="mailto:recrusader@gmail.com">recrusader@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":2nl">What types of AIJ matrices can directly use partitioning implementation? The matrix I am using doesn&#39;t work?<br>I have to use ParMETIS since it can provide fill-reducing matrix ordering. From my understanding, MatConvert can only reorder the matrix and doesn&#39;t provide the reordering information.</div>
</blockquote></div><br><div>We&#39;ve exchanged a lot of emails now, but I&#39;m still having trouble extracting context from your confusion. You can</div><div><br></div><div>1. Make a normal matrix (e.g. AIJ), create a MatPartitioning object and call MatPartitioningApply().</div>
<div><br></div><div>2. Create an MPIAdj matrix (perhaps by creating an AIJ matrix and using MatConvert()), then use either MatPartitioning or (if you insist) calling ParMETIS directly (you&#39;ll write the same code as is in src/mat/partition/impls/pmetis/pmetis.c).</div>