[petsc-users] A quick question
Jed Brown
jedbrown at mcs.anl.gov
Wed Feb 20 20:15:06 CST 2013
On Wed, Feb 20, 2013 at 8:08 PM, Teranishi, Keita <knteran at sandia.gov>wrote:
> Hi PETSc users.
>
> 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?
>
Yes, in A * x ---> y, the column-layout of A must match x and the
row-layout must match y.
We should raise an error in case of mismatch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130220/c14f7fe7/attachment.html>
More information about the petsc-users
mailing list