<div dir="ltr">Dear Petsc users,<div><br></div><div>I found an ancient thread discussing this problem.</div><div><br></div><div><a href="https://lists.mcs.anl.gov/pipermail/petsc-users/2011-October/010607.html">https://lists.mcs.anl.gov/pipermail/petsc-users/2011-October/010607.html</a><br></div><div><br></div><div>However, when I add</div><div><br></div><div>call KSPSetType(ksp,KSPGMRES,ierr);CHKERRQ(ierr)</div><div>call PetscOptionsSetValue(PETSC_NULL_OPTIONS,'-ksp_gmres_modifiedgramschmidt','1',ierr);CHKERRQ(ierr)<br></div><div><br></div><div>the program will tell me</div><div><br></div><div>WARNING! There are options you set that were not used!<br>WARNING! could be spelling mistake, etc!<br>There is one unused database option. It is:<br>Option left: name:-ksp_gmres_modifiedgramschmidt value: 1<br></div><div><br></div><div>I would like to know the most correct way to activate the modified Gram-Schmidt orthogonalization process in Fortran. Thank you very much!</div><div><br></div><div>Best regards. </div><div><br></div><div><br></div><div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><font color="#0000ff" style="font-family:arial,sans-serif;font-size:12.8px">Zhuo Chen</font><div style="font-family:arial,sans-serif;font-size:12.8px"><font color="#0000ff">Department of Physics</font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font color="#0000ff">University of Alberta</font></div><div style="font-family:arial,sans-serif;font-size:12.8px"><font color="#0000ff">Edmonton Alberta, Canada T6G 2E1</font></div><div><font face="'comic sans ms', sans-serif"><a href="http://www.pas.rochester.edu/~zchen25/" style="background-color:rgb(255,255,255)" target="_blank"><font color="#000000">http://www.pas.rochester.edu/~zchen25/</font></a><br></font></div></div></div></div></div></div></div></div></div>