On Sat, 3 Apr 2010, Jed Brown wrote:

> Note that an alternative to all the version checking is to snarf the
> output of "make getlinklibs"

We used to use this in our Make.common.in - looks like it was
commented out in r2089.  The changelog doesn't say why we started
trying to do things manually, except that whatever it was might have
annoyed Ben enough to produce the freudian typo "pestc".  ;-)

> or the value of PETSC_TS_LIB (or PETSC_SNES_LIB since you don't
> currently use TS) which is guaranteed to work with all versions of
> PETSc, in all configurations, including with static libs and
> arbitrary third-party dependencies.

This seems to work pretty reliably for me.  Unless anyone jumps in to
object, I'll make this the default way Make.common.in works in the
future; it sounds much better than trying to add a new test every
time PETSc adds a new link configuration.
---
Roy

------------------------------------------------------------------------------
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to