← Back to team overview

dolfin team mailing list archive

Re: Build problem

 

On Tue, Feb 16, 2010 at 03:11:10PM +0100, Anders Logg wrote:
> I've just rebuilt PETSc and DOLFIN and I still see the following error:
>
>   ImportError:
>   /home/logg/scratch/lib/fenics-dev/lib/libdolfin.so.0: undefined
>   symbol: _Z14PCHYPRESetTypeP5_p_PCPKc
>
>   # c++filt _Z14PCHYPRESetTypeP5_p_PCPKc
>   PCHYPRESetType(_p_PC*, char const*)
>
> Any idea where this comes from? It wasn't there a couple of days back.

The following lines look very suspicious in PETScKrylovSolver. According
to 'bzr annotate', they were added by Andre. Is this a left-over from
debugging?

-->  #ifndef PETSC_HAVE_HYPRE
-->  #define PETSC_HAVE_HYPRE 1
-->  #endif

    #if PETSC_HAVE_HYPRE
        PCSetType(pc, PCHYPRE);
        PCHYPRESetType(pc, "boomeramg");
        PCSetFromOptions(pc);
        ...

--
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References