[Numpy-discussion] How to install numpy on a box without hardware FPU

Emel Hasdal emel_hasdal at hotmail.com
Tue Sep 2 03:29:15 EDT 2014

I am trying to run a python application which performs statistical calculations using Pandas which seem to depend on Numpy. Hence I have to install Numpy to get the app working.

Do you mean I can change 


such that the functions referencing exceptions (npy_get_floatstatus, npy_clear_floatstatus, npy_set_floatstatus_divbyzer, npy_set_floatstatus_overflow, npy_set_floatstatus_underflow, npy_set_floatstatus_invalid) do nothing? 

Could there be any implications of this on the numpy functionality?

Thanks a lot,

> Date: Mon, 1 Sep 2014 23:45:02 +0200
> From: jtaylor.debian at googlemail.com
> To: numpy-discussion at scipy.org
> Subject: Re: [Numpy-discussion] How to install numpy on a box without hardware FPU
> On 01.09.2014 10:33, Emel Hasdal wrote:
> > Hello,
> > 
> >   Is it possible to configure/install numpy on a box without a hardware
> > FPU? When I try to install it using pip,
> > I get a bunch of compile errors since  floating-point
> > exceptions (FE_DIVBYZERO etc) are undefined on this platform. 
> > 
> > How do I get numpy installed and working on such a platform?
> > 
> If its just that you can try replacing all the fenv stuff with stubs
> doing nothing. You only lose some runtime warnings about special cases.
> Why do you want to run numpy on such a system?
> Numpy is not really intended to run on such devices.
> But it is possible the debian armel port is so far I know softfloat and
> numpy seems to be running fine, though it probably also emulates fenv.
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140902/9bdf9f83/attachment.html>

More information about the NumPy-Discussion mailing list