dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #08315
Re: external petsc packages
On Fri, Jun 20, 2008 at 3:13 AM, Ilmar Wilbers <ilmarw@xxxxxxxxx> wrote:
> This issue keeps coming up again and again.
>
> The question is whether to use PETSC_TS_LIB or not. I think the last
> email on this subject is this one:
> http://article.gmane.org/gmane.comp.mathematics.fenics.dolfin/2124
1) PETSc ONLY modifies a library to fix bugs which the maintainers refuse to
fix,so you really should not be using an unmodified version.
2) I think we are fairly fast on updating to the latest version, and
we always do
it if someone asks.
Matt
> ilmar
>
> Garth N. Wells wrote:
>> Gideon Simpson wrote:
>>
>>> 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.
>>>
>>>
>>
>> Did you build PETSc with shared libraries?
>>
>> Garth
>>
>>
>>> 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
>>>>
>>> _______________________________________________
>>> 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
>>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener
Follow ups
References