[petsc-dev] libm autodetection broken with -ffast-math

Matthew Knepley knepley at gmail.com
Thu Apr 3 10:05:41 CDT 2014


On Wed, Apr 2, 2014 at 11:32 PM, Jed Brown <jed at jedbrown.org> wrote:

> Barry Smith <bsmith at mcs.anl.gov> writes:
>
> >    Why not just always assume -lm is needed and only remove -lm if it
> doesn't exist?
>
> That would be fine with me.


How does this solve the problem? You might get an error from the linker if
-lm is not found (maybe not),
but you still cannot test that the symbols we expect to be there are
actually there.

  Matt



-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140403/de9df60a/attachment.html>


More information about the petsc-dev mailing list