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 <[email protected]> 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

Reply via email to