PCFactorSetLevels does not work?!

Barry Smith bsmith at mcs.anl.gov
Wed Oct 31 12:28:26 CDT 2007


   Are you calling the PCFactorSetLevels() on the prec where the
ICC is being used. For example if your * below means 
-sub_pc_factor_levels then you need to use
PCBJacobiGetSubKSP() then get the PC out of that that subksp
and call the PCFactorSetLevels() on that

  Barry


On Wed, 31 Oct 2007, Zhifeng Sheng wrote:

> Dear all
> 
> I have a weird problem.
> 
> In my programme, I try to use ICC(K), while I set the factor level with
> 
> PCFactorSetLevels(prec, 4);
> 
> However this does not work.
> 
> Then I run the executable with the option *-pc_factor_levels 4, it works... 
> Can someone tell me why this is happenning?
> 
> Thank you
> 
> Best regards
> Zhifeng Sheng
> *
> 
> 




More information about the petsc-users mailing list