Hi Jinshan,

You can pass your initial guess in to the KSP object as X, then at the
command line set the flag:

-ksp_initial_guess_nonzero

Happy Computing,
Aron

On Fri, Nov 5, 2010 at 8:41 AM, jinshan wu <wujinshan at yahoo.com> wrote:
> Hi all,
>
> I am using the GMRES linear solver in PETSC. I have a very good initial guess 
> of
> the true solution. Can I somehow supply it to the solver? It should help the
> solver speed up the convergence if I can do that. Thanks.
>
> Jinshan
>
>
>
>

Reply via email to