[Getdp] GetDP compatible with PETSc 3.5.2?

Dominique Orban dominique.orban at gmail.com
Thu Nov 13 18:36:33 CET 2014


Hi,

I maintain some of the Homebrew/Science[1] formulas that facilitate installation of scientific packages on OSX. Among them are formulas for PETSc, SLEPc and GetDP.

I’m trying to build GetDP stable 2.4.4 against PETSc and SLEPc 3.5.2 but I’m getting the following error:

/tmp/getdp-EpZ1nM/getdp-2.4.4-source/Legacy/LinAlg_PETSC.cpp:1239:10: error: no matching function for call to 'KSPSetOperators'
    _try(KSPSetOperators(Solver->ksp[kspIndex], A->M, A->M, DIFFERENT_NONZERO_PATTERN));
         ^~~~~~~~~~~~~~~
/usr/local/Cellar/petsc/3.5.2/real/include/petscksp.h:260:29: note: candidate function not viable: requires 3 arguments, but 4 were provided
PETSC_EXTERN PetscErrorCode KSPSetOperators(KSP,Mat,Mat);
                            ^

If I build from trunk, GetDP builds and the test passes. Is a new release coming out soon?

Thanks!

Dominique


[1] https://github.com/Homebrew/homebrew-science



More information about the getdp mailing list