[petsc-users] fieldsplit: Unhandled case, must have at least two fields, not 1!

Mark Adams mfadams at lbl.gov
Fri Nov 29 21:33:22 CST 2013


>
>
>
> [0]PETSC ERROR: Petsc has generated inconsistent data!
> [0]PETSC ERROR: Unhandled case, must have at least two fields, not 1


This can happen if you give fieldsplit options to a non-fieldsplit
matrix/PC. So so calling XXXSetFromOptions with a KSP/PC and an AIJ Mat
(ie, non-nested Mat)  and using a parameter like '-pc_fieldsplit_type
schur', will give you this error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131129/edc99292/attachment-0001.html>


More information about the petsc-users mailing list