← Back to team overview

fenics team mailing list archive

Re: Problem with PCHYPRESetType

 

On Thu 2008-12-04 23:48, Jed Brown wrote:
> On Thu 2008-12-04 20:40, Gildo de Almeida Leonel wrote:
> > Hi,
> > 
> > I'm trying to run some demo from fenics but when I type python demo.py I
> > received this error:
> > 
> > ImportError: /usr/lib/libdolfin.so.0: undefined symbol: PCHYPRESetType
> 
> I'll take a wild guess: you didn't build PETSc --with-shared and

Sorry, I'm wrong (although the pkg-config files still won't link static
libs correctly).  I'm guessing that the petscconf.h header (saying that
Hypre is available) is coming from a different build than the one you
are trying to link against.  Do you by chance have more than one set of
libpetsc*.so hanging around?  Maybe one installed through Apt and also a
custom build with Hypre?  If so, then perhaps the wrong one is getting
picked up by the linker.  It would help if you send the full command
that is failing.

Jed

Attachment: pgphIQAUtBdJl.pgp
Description: PGP signature


References