dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19176
Re: [Branch ~dolfin-core/dolfin/main] Rev 5013: Improve search for PETSC_PATH by examining LD_LIBRARY_PATH.
On Thu, Aug 19, 2010 at 08:06:23AM +0100, Garth N. Wells wrote:
> On Wed, 2010-08-18 at 15:23 +0000, noreply@xxxxxxxxxxxxx wrote:
> > ------------------------------------------------------------
> > revno: 5013
> > committer: Anders Logg <logg@xxxxxxxxx>
> > branch nick: dolfin-dev
> > timestamp: Wed 2010-08-18 13:57:25 +0200
> > message:
> > Improve search for PETSC_PATH by examining LD_LIBRARY_PATH.
> > No need to set PETSC_PATH or PETSC_ARCH if LD_LIBRARY PATH is set.
>
> Sounds platform dependent to me? Probably better to search the CMake
> list of library locations.
It's just one of many in a list of places where to look. The list of
Debian install locations is also platform-dependent. We could add
other locations as well.
In general, one needs to set PETSC_DIR, but we can also try to be
intelligent and search some common locations.
--
Anders
Attachment:
signature.asc
Description: Digital signature
Follow ups
References