Evan Um <[email protected]> writes:

> Dear Jed,
>
> In my problem, each process has a part of contiguous rows of matrix B. In
> this partitioned matrix, locations of non-zero elements are irregular
> because it is a part of unstructured matrix. It is hard to define the
> distribution of a vector that the partitioned matrix B is multiplied
> with.

You have a square matrix, so the row and column distribution is the
same.  In MatMult(A,x,y), both x and y will have the same distribution.

> Both MatSetSizes(B, partitioned_row_size, partitioned_row_size,
> ngedges_internal, ngedges_internal) 

We need error messages.  Always.

Attachment: signature.asc
Description: PGP signature

Reply via email to