<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Barry - I did upload the code but I think I found a solution. Previously, I was trying to use the DMDA separately from the KSP, which probably doesn't make much sense. Now I am setting things up properly with KSPSetDM, KSPSetComputeRHS, and KSPSetComputeOperators. Everything seems to be working now - sorry for the bother.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 23, 2018 at 2:18 PM, Smith, Barry F. <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Please email the code to <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> On May 23, 2018, at 1:09 PM, zakaryah <<a href="mailto:zakaryah@gmail.com">zakaryah@gmail.com</a>> wrote:<br>
> <br>
> I get:<br>
> <br>
> [0]PETSC ERROR: --------------------- Error Message ------------------------------<wbr>------------------------------<wbr>--<br>
> [0]PETSC ERROR: No support for this operation for this object type<br>
> [0]PETSC ERROR: KSP gmres does not support PRECONDITIONED with RIGHT<br>
> [0]PETSC ERROR: See <a href="http://www.mcs.anl.gov/petsc/documentation/faq.html" rel="noreferrer" target="_blank">http://www.mcs.anl.gov/petsc/<wbr>documentation/faq.html</a> for trouble shooting.<br>
> [0]PETSC ERROR: Petsc Release Version 3.8.2, Nov, 09, 2017 <br>
> [0]PETSC ERROR: ./KSPtest on a arch-linux2-c-debug named login01.hpc.rockefeller.<wbr>internal by zakaryah Wed May 23 14:06:24 2018<br>
> [0]PETSC ERROR: Configure options --prefix=/ru-auth/local/home/<wbr>zakaryah/PETSc-3.8.2 --download-fblaslapack --download-mumps --download-hypre --download-metis --download-parmetis --download-scalapack<br>
> [0]PETSC ERROR: #1 KSPSetUpNorms_Private() line 398 in /rugpfs/fs0/home/zakaryah/<wbr>PETSc/build/petsc-3.8.2/src/<wbr>ksp/ksp/interface/itcreate.c<br>
> [0]PETSC ERROR: #2 KSPSetUp() line 303 in /rugpfs/fs0/home/zakaryah/<wbr>PETSc/build/petsc-3.8.2/src/<wbr>ksp/ksp/interface/itfunc.c<br>
> <br>
<br>
</div></div></blockquote></div><br></div>