<div dir="ltr"><div>Under what conditions can I use LSC preconditioning for field split problems with Schur? Let's imagine that all I've done is called SNESetJacobian with global A and P and provided the index sets for 0 and 1. Based off of the documentation on the man page <a href="https://petsc.org/release/docs/manualpages/PC/PCLSC/">https://petsc.org/release/docs/manualpages/PC/PCLSC/</a> it seems like I'd have to do something more programmatically, e.g.</div><div><br></div><div>   PetscObjectCompose((PetscObject)Sp,"LSC_L",(PetscObject)L);<br>   PetscObjectCompose((PetscObject)Sp,"LSC_Lp",(PetscObject)Lp);</div><div><br></div><div>If I try to naively get LSC preconditioning from the command line without doing something like the above, then I get SUBPC_ERROR. Is this to be expected?<br></div><div><br></div><div> 0 Nonlinear |R| = 4.164062e-02<br>      0 Linear |R| = 4.164062e-02<br>  Linear solve did not converge due to DIVERGED_PC_FAILED iterations 0<br>                 PC failed due to SUBPC_ERROR <br></div></div>