dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #08187
Re: external petsc packages
On Thu, Jun 12, 2008 at 7:44 PM, Gideon Simpson <grs2103@xxxxxxxxxxxx>
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?
>
I'll say it depends...
If you like to link dolfin with hypre (which I don't think is the case
today?) you could technically add hypre among dependencies in scons.cfg, and
adjust the hypre.pc file such that it points to the correct hypre (or use
withHypreDir scons option or HYPRE_DIR env-variable to point to the right
place before hypre.pc is created).
You also have the option of using customCxxFlags / customLinkFlags if you
don't want to mess with the scons.cfg files, and you are in some user code.
(I'm probably a bit out of context, I just try to get back in as summer
draws closer :-)
Mandus.
References