[petsc-users] Simple KSP with known solution gives infinite solution

zakaryah zakaryah at gmail.com
Wed May 23 15:30:53 CDT 2018


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.

On Wed, May 23, 2018 at 2:18 PM, Smith, Barry F. <bsmith at mcs.anl.gov> wrote:

>
>   Please email the code to petsc-maint at mcs.anl.gov
>
>
> > On May 23, 2018, at 1:09 PM, zakaryah <zakaryah at gmail.com> wrote:
> >
> > I get:
> >
> > [0]PETSC ERROR: --------------------- Error Message
> --------------------------------------------------------------
> > [0]PETSC ERROR: No support for this operation for this object type
> > [0]PETSC ERROR: KSP gmres does not support PRECONDITIONED with RIGHT
> > [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html
> for trouble shooting.
> > [0]PETSC ERROR: Petsc Release Version 3.8.2, Nov, 09, 2017
> > [0]PETSC ERROR: ./KSPtest on a arch-linux2-c-debug named
> login01.hpc.rockefeller.internal by zakaryah Wed May 23 14:06:24 2018
> > [0]PETSC ERROR: Configure options --prefix=/ru-auth/local/home/zakaryah/PETSc-3.8.2
> --download-fblaslapack --download-mumps --download-hypre --download-metis
> --download-parmetis --download-scalapack
> > [0]PETSC ERROR: #1 KSPSetUpNorms_Private() line 398 in
> /rugpfs/fs0/home/zakaryah/PETSc/build/petsc-3.8.2/src/
> ksp/ksp/interface/itcreate.c
> > [0]PETSC ERROR: #2 KSPSetUp() line 303 in /rugpfs/fs0/home/zakaryah/
> PETSc/build/petsc-3.8.2/src/ksp/ksp/interface/itfunc.c
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180523/a1876c04/attachment.html>


More information about the petsc-users mailing list