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

Emel Hasdal emel_hasdal at hotmail.com
Tue Sep 2 04:38:49 EDT 2014


Sure. I would be happy to try it and report back.
Just to make sure I understand it: 
I will try defining   the following functions for my platform such that they do nothing:
          npy_get_floatstatus,           npy_clear_floatstatus,           npy_set_floatstatus_divbyzer,           npy_set_floatstatus_overflow,           npy_set_floatstatus_underflow,           npy_set_floatstatus_invalid

Thanks,Emel
Date: Tue, 2 Sep 2014 09:00:37 +0100
From: cournape at gmail.com
To: numpy-discussion at scipy.org
Subject: Re: [Numpy-discussion] How to install numpy on a box without	hardware FPU




On Tue, Sep 2, 2014 at 8:29 AM, Emel Hasdal <emel_hasdal at hotmail.com> wrote:




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 


   numpy/core/src/npymath/ieee754.c.src 

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?

AFAIK, few people have ever tried to run numpy on CPU without an FPU. The generic answer is that we do not know, as this is not a supported platform, so you are on your own.

I would suggest you just try adding stubs to see how far you can go, and come back to this group with the result of your investigation.
David

_______________________________________________
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/e6d8defe/attachment.html>


More information about the NumPy-Discussion mailing list