MatLoad() does not distribute the rows based on the number of non zeros. You'll
need to first compute the number of rows on each process that gives you
equal/nearly equal number of non zeros and then call MatSetSizes() followed by
MatLoad(). ----- Original Message -----
> Hello,
> When I use MatLoad() to load a sparse matrix, I want each process to
> have equal number of nonzeros, instead of equal number of rows.
> How could I achieve that in PETSc?
> Thanks!
> -- Junchao Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120113/49aa5819/attachment.htm>