On Wed, Aug 18, 2010 at 09:20:14AM -0700, Johan Hake wrote: > On Wednesday August 18 2010 08:23:21 [email protected] wrote: > > ------------------------------------------------------------ > > revno: 5013 > > committer: Anders Logg <[email protected]> > > 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
signature.asc
Description: Digital signature
_______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

