<p>Whether is there a method to repartition the matrix to get the same distribtutions? thanks.</p><p>Yujie<br></p><br><div class="gmail_quote">On Tue, Dec 30, 2008 at 3:17 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@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;"><br>
They need to have the same distributions.<br><font color="#888888">
<br>
Barry</font><div><div class="Wj3C7c"><br>
<br>
On Dec 30, 2008, at 5:04 PM, Yujie wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear Barry:<br>
<br>
You mean B*A11 works in parallel mode if B and A11 have different distribution? Its distribution is decided by the row ownership of B and the column ownership of A11? thanks a lot.<br>
<br>
Regards,<br>
<br>
Yujie<br>
<br>
<br>
On Tue, Dec 30, 2008 at 1:54 PM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>> wrote:<br>
<br>
On Dec 30, 2008, at 3:27 PM, Yujie wrote:<br>
<br>
Dear Barry:<br>
<br>
thank you for your reply. MatMatMult() uses Plapcak package for Dense matrices?<br>
<br>
In the parallel case, for sequential it uses LAPACK<br>
<br>
<br>
In addition, about MatGetSubMatrix() and submatrix multiplcation problems, could you give me some advice?<br>
<br>
"if the distribution of A11 and B is different, it will not work if I do B*A11? if it work, what is the distribution of B*A11?"<br>
<br>
<br>
The row ownership of B and the column ownership of A11<br>
<br>
thanks a lot. Happy holiday:).<br>
<br>
Regards,<br>
<br>
Yujie<br>
<br>
<br>
<br>
<br>
<br>
On Tue, Dec 30, 2008 at 12:28 PM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>> wrote:<br>
<br>
In theory it is all there. Just do MatMatMult() with your dense matrices<br>
<br>
Barry<br>
<br>
<br>
On Dec 29, 2008, at 1:55 PM, Yujie wrote:<br>
<br>
Hi,<br>
<br>
I am wondering whether it have been realized in PETSc to do MPIDense*MPIDense? thanks a lot. Happy holiday:).<br>
<br>
Regards,<br>
<br>
Yujie<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>