<div dir="ltr">On Wed, Sep 4, 2013 at 10:34 AM, 丁老师 <span dir="ltr"><<a href="mailto:ztdepyahoo@163.com" target="_blank">ztdepyahoo@163.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 style="line-height:1.7;font-size:14px;font-family:arial"> the input parameter of this partation is the drow and dcol. <br>could you please tell me how to resolve this problem.<br><br>  MatCreateMPIAdj(PETSC_COMM_WORLD,drow.size()-1,CellsNumber,&drow[0],&dcol[0],NULL,&adj);<br>
</div></blockquote><div><br></div><div>Graph partitioners like ParMetis partition undirected graphs. They are not suitable for directed graphs, which is what</div><div>a nonsymmetric matrix corresponds to. I do not know what you should do here.</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 style="line-height:1.7;font-size:14px;font-family:arial"><span style="font-size:14px;line-height:1.7">在 2013-09-04 23:25:38,"Matthew Knepley" <</span><a href="mailto:knepley@gmail.com" target="_blank" style="font-size:14px;line-height:1.7">knepley@gmail.com</a><span style="font-size:14px;line-height:1.7">> 写道:</span><br>
 <blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr">On Wed, Sep 4, 2013 at 10:23 AM, 丁老师 <span dir="ltr"><<a href="mailto:ztdepyahoo@163.com" target="_blank">ztdepyahoo@163.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 style="line-height:1.7;font-size:14px;font-family:arial">yes, i am computing convection diffusion problem with a  triangle unstructured grid. the matrix coefficients is unsymemetric.<br>but is it a necessary for the parmetis to do the work?<br>

<span style="font-size:14px;line-height:1.7"></span></div></blockquote><div><br></div><div>The matrix can be nonsymmetric, but it has to be structurally symmetric.</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 style="line-height:1.7;font-size:14px;font-family:arial"><span style="font-size:14px;line-height:1.7">在 2013-09-04 23:20:47,"Mark F. Adams" <</span><a href="mailto:mfadams@lbl.gov" style="font-size:14px;line-height:1.7" target="_blank">mfadams@lbl.gov</a><span style="font-size:14px;line-height:1.7">> 写道:</span><br>

 <blockquote style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">My guess is that your matrix is structurally unsymmetric.<div><br><div><div>On Sep 4, 2013, at 11:16 AM, 丁老师 <<a href="mailto:ztdepyahoo@163.com" target="_blank">ztdepyahoo@163.com</a>> wrote:</div>

<br><blockquote type="cite"><div style="line-height:1.7;font-size:14px;font-family:arial"> 1] ***ASSERTION failed on line 243 of file /home/ztdep/Downloads/petsc-3.3-p6/externalpackages/parmetis-4.0.2-p3/libparmetis/match.c:k >= firstvtx && k < lastvtx<br>

[ 1] 2562 5124 10 0 0<br>main: /home/ztdep/Downloads/petsc-3.3-p6/externalpackages/parmetis-4.0.2-p3/libparmetis/match.c:243: libparmetis__Match_Global: Assertion `k >= firstvtx && k < lastvtx' failed.<br>

<br><div style="line-height:1.7;font-size:14px;font-family:arial"><div style="line-height:1.7;font-size:14px;font-family:arial"><div style="line-height:1.7;font-size:14px;font-family:arial"><br></div><div style="line-height:1.7;font-size:14px;font-family:arial">

<div style="line-height:1.7;font-size:14px;font-family:arial"><br></div><br><br><span title="neteasefooter"><span></span></span></div><br><br><span title="neteasefooter"><span></span></span></div><br><br><span title="neteasefooter"><span></span></span></div>

<br><br><span title="neteasefooter"><span></span></span></div><br><br><span title="neteasefooter"><span></span></span></blockquote></div><br></div></blockquote></div><br><br><span title="neteasefooter"><span></span></span></blockquote>

</div><br><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>
</blockquote></div><br><br><span title="neteasefooter"><span></span></span></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>