>
> I created several KSP objects, each solves different problem.
> Some problems are well conditioned, thus GMRES+ASM(ilu) works well.
> However, there's a bad conditioned problem. I have to use GMRES + ASM(lu).
>
> The problem is I set the KSP and PC BEFORE matrix assembled.
> For this situation, I can not call KSPSetUp then PCASMGetSubKSP to set
> each KSP/PC for local block.
> At the same time, set sub pc by petsc options i.e
> PetscOptionsSetValue("-sub_pc_type","lu")
> will cause conflict since options are global.http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/KSP/KSPSetOptionsPrefix.html -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120326/8195e9c1/attachment.htm>
