<div class="gmail_quote">On Fri, Mar 18, 2011 at 06:09, NAN ZHAO <span dir="ltr"><<a href="mailto:zhaonanavril@gmail.com">zhaonanavril@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>[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)!</div></blockquote></div><br><div>
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.</div>