[petsc-users] Bug when multipling a SBAIJ matrix with a vector

Jed Brown jed at 59a2.org
Thu Oct 21 07:24:59 CDT 2010


The SBAIJ implementation requires that the diagonal entry exists.  If you
only have a few rows of all zeros, then just place explicit zeros there,
otherwise use AIJ or BAIJ both of which work fine with completely empty rows
(if your system is so sparse that you don't want to store one explicit zero
per row, then the non-symmetric storage will probably also be faster.

Aren't you getting an error in MatMult_SeqSBAIJ_1?  This is a horrible error
message, but it comes from trying to log a negative number of flops.  I'll
put a check into petsc-dev so it gives a better error message.

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101021/45e93d65/attachment.htm>


More information about the petsc-users mailing list