<div dir="ltr">On Wed, Feb 20, 2013 at 8:08 PM, Teranishi, Keita <span dir="ltr"><<a href="mailto:knteran@sandia.gov" target="_blank">knteran@sandia.gov</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="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>Hi PETSc users.</div>
<div><br>
</div>
<div>I just want to double-chcek if MatMultMPIAIJ requires matrix and vector to have the same data (row) partitioning.   Otherwise, it throws PETSC_ERROR.  Is it true?</div></div></blockquote><div><br></div><div style>Yes, in A * x ---> y, the column-layout of A must match x and the row-layout must match y.</div>
<div style><br></div><div style>We should raise an error in case of mismatch.</div></div></div></div>