Try adding -pc_factor_shift_type nonzero
> On Mar 31, 2016, at 8:43 PM, Harriet Li wrote:
>
> Hello,
>
> I'm trying to solve the KKT system for an inverse problem with
> convection-diffusion physics. Using the input
>
> -ksp_monitor_singular_value -ksp_gmres_modifiedgramschmidt
> -ksp_gmres_re
Hello,
I'm trying to solve the KKT system for an inverse problem with
convection-diffusion physics. Using the input
-ksp_monitor_singular_value -ksp_gmres_modifiedgramschmidt
-ksp_gmres_restart 500 -pc_type ilu -pc_factor_levels
I get
Solving time step 0, time = 0
Assembling the System
Nonlinea