[petsc-users] example code error!

Jed Brown jed at 59A2.org
Fri Mar 18 05:18:05 CDT 2011


On Fri, Mar 18, 2011 at 06:09, NAN ZHAO <zhaonanavril at gmail.com> wrote:

> [0]PETSC ERROR: Lower triangular value cannot be set for sbaij format.
> Ignoring these values, run with -mat_ignore_lower_triangular or call
> MatSetOption(mat,MAT_IGNORE_LOWER_TRIANGULAR)!
>

The problem is that MatConvert_Basic was not setting
MAT_IGNORE_LOWER_TRIANGULAR when converting to SBAIJ, I fixed this in
petsc-dev. Since you said you want BAIJ (no "S"), this won't be a problem in
your own code. And you should definitely upgrade from 2.3.3.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110318/ad51cdfc/attachment.htm>


More information about the petsc-users mailing list