[petsc-users] Conflicting KSPSetOperators functions
Barry Smith
bsmith at mcs.anl.gov
Wed Dec 9 13:11:40 CST 2015
Install the latest version of PETSc yourself and do not use that ancient and out-dated version that is installed there (that would be going backwards). PETSc is designed to be installable by any user.
Barry
> On Dec 9, 2015, at 1:00 PM, Orxan Shibliyev <orxan.shibli at gmail.com> wrote:
>
> 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
More information about the petsc-users
mailing list