dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19165
Re: [Branch ~dolfin-core/dolfin/main] Rev 5013: Improve search for PETSC_PATH by examining LD_LIBRARY_PATH.
On Wed, Aug 18, 2010 at 09:20:14AM -0700, Johan Hake wrote:
> On Wednesday August 18 2010 08:23:21 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.
>
> Nice!
>
> I assume you search PETSC_PATH first? If one happens to have several
> installations of PETSc.
>
> Johan
Yes, at least I think that's what happens with
find_path (PETSC_DIR include/petsc.h
HINTS ENV PETSC_DIR
PATHS
${petsc_dir_locations}
DOC "PETSc Directory")
I assume the line HINTS ENV PETSC_DIR does this.
The other suggestions are in the list petsc_dir_locations.
--
Anders
Attachment:
signature.asc
Description: Digital signature
References