← Back to team overview

dolfin team mailing list archive

Re: Build problem

 


Anders Logg wrote:
> 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);
>         ...
> 

I saw that the other day and thought that it was strange. I'm pretty
sure that I didn't add it, so I don't know what's up.

Garth

> --
> Anders
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



References