KSP/PC choice

gaatenek at irisa.fr gaatenek at irisa.fr
Mon Jul 23 10:12:16 CDT 2007


Dear Tims,
The problem is how to solve more accuretly the local problem in ASM. You
can also use KSP to solve local problem.
I think you can look how to do it with PCASMGetSubKSP().
Best Regards,
Guy

> Dear gaatenek
>
> On Mon, 23 Jul 2007, gaatenek at irisa.fr wrote:
>
>> Do you monitoring the convergence? Try it a see if you have stagnation
>> in
>> your convergence.
>
> Yes, I monitor it, but that doesn't seem to give me any helpful
> information -- except that it stagnates of course.
>
>> However you can  try this setting,
>> -ksp_type gmres
>> -ksp_gmres_restart 30
>> -pc_type asm
>> -pc_asm_overlap 2
>> -sub_pc_type ilu
>> -sub_pc_factor_zeropivot 0
>> -sub_pc_ilu_levels 3
>
> Thank you, I tried it, and it worked well for a test case.  However,
> for the real application, the PC eats up all my memory (even in cases
> where my former setting did work).
>
> Any hints (except buying a larger computer)?
>
> Might some sub_ksp method help?
>
> Best Regards,
>
> Tim
>
> --
> Dr. Tim Kroeger                            Phone +49-421-218-7710
> tim at mevis.de, tim at cevis.uni-bremen.de      Fax   +49-421-218-4236
>
> MeVis Research GmbH, Universitaetsallee 29, D-28359 Bremen, Germany
>
> Amtsgericht Bremen HRB 16222
> Geschaeftsfuehrer: Prof. Dr. H.-O. Peitgen
>
>





More information about the petsc-users mailing list