[petsc-users] Conflicting KSPSetOperators functions

Orxan Shibliyev orxan.shibli at gmail.com
Wed Dec 9 13:00:22 CST 2015


Hi

I uploaded my code to cluster which has Petsc 3.4.4. While compiling the
code it gave error:

too few arguments to function ‘PetscErrorCode KSPSetOperators(KSP, Mat,
Mat, MatStructure)

On my computer I use latest Petsc version and I use only three arguments
for the function and it works well. Is the problem due to version
difference?

Thanks,
Orhan Shibliyev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151209/75f933e3/attachment.html>


More information about the petsc-users mailing list