[Numpy-discussion] isinf raises in inf
Charles R Harris
Thu Jul 15 19:55:42 CDT 2010
On Thu, Jul 15, 2010 at 6:42 PM, John Hunter <email@example.com> wrote:
> On Thu, Jul 15, 2010 at 7:27 PM, Charles R Harris
> <firstname.lastname@example.org> wrote:
> > On Thu, Jul 15, 2010 at 6:11 PM, John Hunter <email@example.com> wrote:
> >> On Thu, Jul 15, 2010 at 6:14 PM, Eric Firing <firstname.lastname@example.org>
> >> > Is it certain that the Solaris compiler lacks isinf? Is it possible
> >> > that it has it, but it is not being detected?
> >> Just to clarify, I'm not using the sun compiler, but gcc-3.4.3 on
> >> x86
> > Might be related to this thread. What version of numpy are you using?
> svn HEAD (2.0.0.dev8480)
> After reading the thread you suggested, I tried forcing the
> flag to be set, but this is apparently a bad idea for my platform...
> line 5, in ?
> import multiarray
> ImportError: ld.so.1: python: fatal: relocation error: file
> symbol isfinite: referenced symbol not found
> so while I think my bug is related to that thread, I don't see
> anything in that thread to help me fix my problem. Or am I missing
In the thread there is a way to check if isinf is in the library. You can
also grep through the python include files where its presence should be set,
that's in /usr/include/python2.6/pyconfig.h on my system. If it's present,
then you should be able to apply David's
fix<http://projects.scipy.org/numpy/changeset/8455>which amount to
just a few lines.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion