<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_quote"><div><br></div><div><div dir="ltr"><a href="https://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/examples/tutorials/ex14f.F90.html" target="_blank">https://www.mcs.anl.gov/petsc/petsc-current/src/ksp/ksp/examples/tutorials/ex14f.F90.html</a><br></div></div></div></div></div></blockquote><div><br></div><div>Thanks, i will try to give a look to this example and i will try to check also C examples in that directory.</div></div></div></blockquote><div><br></div><div>There are a lot of places with examples (this is actually not an obvious place). The web page for each method lists examples that use it and similar methods. You can find examples by following these links too.</div><div> </div></div></div>