Hi<br>
<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>When using the Spooles Cholesky solver I am getting the error:<br><br>0:[0]PETSC ERROR: MatSetValues_SeqSBAIJ() line 792 in
<br>src/mat/impls/sbaij/seq/sbaij.c 0:[0]PETSC ERROR: ! 0:[0]PETSC ERROR: Lower<br>triangular value cannot be set for sbaij format. Ignoring these values, run<br>with -mat_ignore_lower_triangular or call<br>MatSetOption(mat,MAT_IGNORE_LOWER_TRIANGULAR)!
<br>0:[0]PETSC ERROR: MatSetValues() line 702 in src/mat/interface/matrix.c<br><br>When I attempt to call MatSetOption(mat,MAT_IGNORE_LOWER_TRIANGULAR,ierr)<br>via the Fortran interface, I get the compilation error that entity
<br>mat_ignore_lower_triangular has undefined type. Can you tell me if this<br>option is supported via the Fortran interface?</blockquote><div><br>
This is certainly there in the development version, and we plan to release in a week<br>
or so. However, a very easy fix is to update the list of enums at the top of<br>
<br>
include/finclude/petscmat.h<br>
<br>
with the enum from<br>
<br>
include/petscmat.h<br>
<br>
Thanks,<br>
<br>
Matt<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Note that using runtime option -mat_ignore_lower_triangular works, but I<br>would prefer to set this option in my code using the MatSetOption() routine.
<br><br>Regards<br><br>Stephen<br>--<br>_______________________________________________________________________________<br><br>The
information in this email and in any attachment(s) is commercial in
confidence. If you are not the named addressee(s) or if you receive
this email in error then any distribution, copying or use of this
communication or the information in it is strictly
prohibited. Please notify us immediately by email at
admin.internet(at)awe.co.uk, and then delete this message from your
computer. While attachments are virus checked, AWE plc does
not accept any liability in respect of any virus which is not detected.<br><br>AWE Plc<br>Registered in England and Wales<br>Registration No 02763902<br>AWE, Aldermaston, Reading, RG7 4PR<br><br></blockquote></div><br><br clear="all">
<br>-- <br>"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness