[petsc-users] Error when switching from MPIAIJ to MPIBAIJ

Jed Brown jed at 59A2.org
Thu Jun 9 08:12:52 CDT 2011


On Thu, Jun 9, 2011 at 15:03, Matthew Knepley <knepley at gmail.com> wrote:

> 2) If you want the matrix and vector to be divided the same way
> automatically, give them the same blocksize


Alternatively, just call MatGetVecs() to get compatible vectors after the
matrix is configured.

Depending on how your spatial discretization is managed, you may want to
specify the local sizes instead of letting PETSc choose something based on
the global sizes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110609/f920b9a7/attachment.htm>


More information about the petsc-users mailing list