Hi All, I built numpy 1.6.2 on linux 64 bit and installed numpy in site-packages, It pass all the test cases of numpy, but I am not sure if this is good build; As I did not specified any fortran compiler while setup, also I do not have fortran compiler on my machine. Thanks Prakash
On Tue, Jul 10, 2012 at 2:45 PM, Prakash Joshi
Hi All,
I built numpy 1.6.2 on linux 64 bit and installed numpy in site-packages, It pass all the test cases of numpy, but I am not sure if this is good build; As I did not specified any fortran compiler while setup, also I do not have fortran compiler on my machine.
Thanks Prakash
NumPy does not need Fortran for its build. SciPy, however, does. Cheers! Ben Root
Thanks Ben.
Also I did not specified any of BLAS, LAPACK, ATLAS libraries, do we need these libraries for numpy?
I simply used following command to build:
python setup.py build
python setup.py install —prefix=/usr/local
If above commands are sufficient, than I hope same steps to build will work on Mac OSX?
Best Regards,
Prakash Joshi
From: Benjamin Root
Prakash,
On Tue, Jul 10, 2012 at 3:26 PM, Prakash Joshi
Thanks Ben.
Also I did not specified any of BLAS, LAPACK, ATLAS libraries, do we need these libraries for numpy?
"Need", no, you do not "need" them in the sense that NumPy does not require them to work. NumPy will work just fine without those libraries. However, if you "want" them, then that is where the choice of Fortran compiler comes in. Look at the INSTALL.txt file for more detailed instructions.
I simply used following command to build: python setup.py build python setup.py install —prefix=/usr/local
If above commands are sufficient, than I hope same steps to build will work on Mac OSX?
That entirely depends on your development setup on your Mac. I will leave that discussion up to others on the list to answer. Cheers! Ben Root
participants (2)
-
Benjamin Root
-
Prakash Joshi