[petsc-dev] help for use PETSc

Barry Smith bsmith at mcs.anl.gov
Thu Jun 30 11:35:34 CDT 2011


   Those options make no sense for Jacobi. Jacobi preconditioning means just using the inverse of the diagonal of the matrix as the preconditioner. Perhaps you want -pc_type bjacobi

  Barry

On Jun 30, 2011, at 11:33 AM, tuane wrote:

> Please, I need help.
> 
> I execute my program with the options:
> -tol 1.0e-06 -ksp_type cg  -pc_type jacobi -sub_pc_type ilu -pc_factor_levels 3 -ksp_view
> 
> But the -sub_pc_type and -pc_factor_levels don't work.
> 
> WARNING! There are options you set that were not used!
> WARNING! could be spelling mistake, etc!
> Option left: name:-pc_factor_levels value: 3
> Option left: name:-sub_pc_type value: ilu
> 
> Can you help me?
> 
> Thanks




More information about the petsc-dev mailing list