[Getdp] GetDP compatible with PETSc 3.5.2?
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Fri Nov 14 20:37:35 CET 2014
> On 13 Nov 2014, at 18:36, Dominique Orban <dominique.orban at gmail.com> wrote:
>
> 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?
>
Hi Dominique - Indeed, the SVN trunk supports the latest PETSc. We'll try to get a new stable release out soon (before the end of the year).
Christophe
> Thanks!
>
> Dominique
>
>
> [1] https://github.com/Homebrew/homebrew-science
> _______________________________________________
> getdp mailing list
> getdp at geuz.org
> http://www.geuz.org/mailman/listinfo/getdp
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine