← Back to team overview

dolfin team mailing list archive

Re: external petsc packages

 

I was able to solve this problem by editing my petsc.pc file and adding

-L/opt/petsc-2.3.3-p13/externalpackages/hypre-2.0.0/darwin9.1.0-cxx- debug/lib -lHYPRE

and then building dolfin with that.

not sure if anyone has a good way to build this into the scons installation.


On Jun 12, 2008, at 6:33 PM, Gideon Simpson wrote:

All the C++ demos give me the error:

dyld: Symbol not found: _HYPRE_ParCSRPilutDestroy
 Referenced from: /opt/lib/libdolfin.dylib
 Expected in: dynamic lookup

Trace/BPT trap

while the Python demos give me the error:

ImportError: dlopen(/opt/lib/python2.5/site-packages/dolfin/
_dolfin.so, 2): Symbol not found: _HYPRE_ParCSRPilutDestroy
 Referenced from: /opt/lib/libdolfin.dylib
 Expected in: dynamic lookup

On Jun 12, 2008, at 3:11 PM, Anders Logg wrote:

On Thu, Jun 12, 2008 at 01:44:18PM -0400, Gideon Simpson wrote:
how do i get scons to link against HYPRE and ml, which my petsc was
built with and reside in the petsc external packages directory?

-gideon

You shouldn't need to do anything. I use PETSc with HYPRE downloaded
by PETSc and it works fine for me.

--
Anders
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev



Follow ups

References