[Numpy-discussion] Installing numpy
Jonathan Tu
jhtu at princeton.edu
Tue Jan 18 15:31:21 EST 2011
Hi,
I realized that my cluster has MKL installed. I've been trying to
install against MKL, but am having trouble getting this to work.
After it finishes, I do
import numpy
numpy.show_config()
and nothing about the MKL libraries shows up. I have edited site.cfg
to read like this:
[mkl]
library_dirs = /opt/intel/mkl/10.2.4.032/lib/em64t
include_dirs = /opt/intel/mkl/10.2.4.032/include
lapack_libs = mkl_lapack
mkl_libs = mkl, guide
My cluster is using Intel Xeon processors, and I edited cc_exe as
follows
cc_exe = 'icc -O2 -fPIC'
Then I did
python setup.py config --compiler=intel build_clib --compiler=intel
build_ext --compiler=intel install --prefix=/home/jhtu/local
Jonathan Tu
On Jan 18, 2011, at 3:28 PM, Ilan Schnell wrote:
> Hello Jonathan,
>
> yes, numpy work fine under Python 2.7 now. I don't see why building
> numpy against the system ATLAS should not work, as long as you
> install the developer version with the header files, and make sure
> that
> you edit the site.cfg file correct.
>
> - Ilan
>
> On Tue, Jan 18, 2011 at 10:39 AM, Jonathan Tu <jhtu at princeton.edu>
> wrote:
>> Hi,
>>
>> I need to reinstall numpy because the cluster I am using was recently
>> overhauled. I am wondering if numpy works with Python 2.7 now.
>>
>> Also, I would like numpy to run as fast as possible. The last time I
>> did this, I was advised to install ATLAS by hand, as the one that
>> comes with RHEL is not suitable. The first time I tried this, I kept
>> running into problems that I think were due to mismatched fortran
>> compilers. Is there a good resource for how to do this? I am fairly
>> new to Linux.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Jonathan Tu
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list