[Getdp] Trouble compiling getdp-1.2.1 with petsc-3.0.0-p10

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Mar 11 18:59:01 CET 2010


On 04/03/10 23:43, gdemesy at physics.utoronto.ca wrote:
> Dear getdp Developers,
>
> I have some trouble compiling getdp-1.2.1 (with gcc/gfortran/g++, the
> same happens with icc/ifort/icpc or the last nightly getdp source) with
> petsc-3.0.0-p10.
>
> The error occurs in function LinAlg_AddMatrixProdMatrixDouble, @line 962
> of LinAlg_PETSC.c:
>
> LinAlg_PETSC.c(962): error #165: too few arguments in function call
> ierr = MatAYPX(M2->M, tmp, M1->M); MYCHECK(ierr);
>
> I'm running the following command :
> ./configure --enable-petsc --with-petsc-prefix=$PETSC_DIR
> --with-gsl-prefix=$SCINET_GSL_BASE
>
> Would you have any brainwave about this ?

Hi Guillaume - To use recent versions of petsc you should switch to the 
2.x branch of getdp (either through SVN, or through one of the nightly 
snapshots)

>
> I successfully compiled getdp with sparkit, but would like to try petsc
> solvers.
>
> Thank you.
>
> Regards,
>
> Guillaume Demésy
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> _______________________________________________
> 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