[Numpy-discussion] Intel MKL on Core2 system

Ryan May rmay31 at gmail.com
Wed Mar 11 14:15:49 EDT 2009


Hi,

I noticed the following in numpy/distutils/system_info.py while trying to
get numpy to build against MKL:

            if cpu.is_Itanium():
                plt = '64'
                #l = 'mkl_ipf'
            elif cpu.is_Xeon():
                plt = 'em64t'
                #l = 'mkl_em64t'
            else:
                plt = '32'
                #l = 'mkl_ia32'

So in the autodetection for MKL, the only way to get plt (platform) set to
'em64t' is to test true for a Xeon.  This function returns false on my Core2
Duo system, even though the platform is very much 'em64t'.  I think that
check should instead read:

elif cpu.is_Xeon() or cpu.is_Core2():

Thoughts?

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
Sent from: Norman Oklahoma United States.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20090311/80d55a3c/attachment.html>


More information about the NumPy-Discussion mailing list