[Getdp] Petsc-3.0.0

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Jan 28 15:08:20 CET 2009


Hi Mark - Thanks!

Christophe

Mark van Doesburg wrote:
> Hello,
> 
> I've used the attached patch to compile getdp using petsc-3.0.0.
> 
> regards, 
> 
> Mark van Doesburg
> 
> 
> --- getdp-2.0.0-cvs-20090125/configure.in	2009-01-24 00:02:29.000000000 +0100
> +++ test/getdp-2.0.0-cvs-20090125/configure.in	2009-01-26 23:09:31.194490395 +0100
> @@ -137,10 +137,16 @@
>      AC_MSG_ERROR([Could not determine PETSC_ARCH. Run configure again with --with-petsc-arch.])
>    fi
>    AC_CHECK_FILE(${PETSC_DIR}/bmake/${PETSC_ARCH}/petscconf.h,PETSC="yes",PETSC="no")
> -  if test "x${PETSC}" = "xno"; then
> -    AC_MSG_ERROR([Could not find PETSC. Use --enable-sparskit instead?])
> +  if test "x${PETSC}" = "xyes"; then
> +    PETSC_INCLUDE_MAKEFILE='include ${PETSC_DIR}/bmake/common/variables'
> +  else
> +    AC_CHECK_FILE(${PETSC_DIR}/${PETSC_ARCH}/include/petscconf.h,PETSC="yes",PETSC="no")
> +    if test "x${PETSC}" = "xyes"; then
> +      PETSC_INCLUDE_MAKEFILE='include ${PETSC_DIR}/conf/variables'
> +    else
> +      AC_MSG_ERROR([Could not find PETSC. Use --enable-sparskit instead?])
> +    fi
>    fi
> -  PETSC_INCLUDE_MAKEFILE='include ${PETSC_DIR}/bmake/common/variables'
>    LAPACK="yes"
>    LINKER="\${CLINKER}"
>    FLAGS="${FLAGS} -DHAVE_PETSC \${PETSCFLAGS} \${PETSC_INCLUDE}"
> 
> _______________________________________________
> 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