[petsc-users] problem with MatShellGetContext

Dave May dave.mayhem23 at gmail.com
Thu Aug 6 02:54:21 CDT 2015


On 5 August 2015 at 11:15, Nicolas Pozin <nicolas.pozin at inria.fr> wrote:

> Hello,
>
> I'm trying to solve a system with a matrix free operator and through
> conjugate gradient method.
> To make ideas clear, I set up the following simple example (I am using
> petsc-3.6) and I get this error message :
> "
> [0]PETSC ERROR: --------------------- Error Message
> ------------------------------------
> [0]PETSC ERROR: Invalid argument!
> [0]PETSC ERROR: Wrong type of object: Parameter # 1!
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: *Petsc Release Version 3.4.3*, Oct, 15, 2013
>


Also it appears that you are linking against petsc 3.4, not petsc 3.6.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150806/d6695272/attachment.html>


More information about the petsc-users mailing list