[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCFactorSetLevels does not work?!



Barry Smith wrote:

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
*







Dear all

I figured out the reason .... DO NOT use KSPSetUP() before you configurate you solver and preconditioners, otherwise, your configuration shall be ignored.

Best regards
Zhifeng