[NumPy-Tickets] [NumPy] #1448: Intel Fortran compiler detection fails on Mac OS X 10.6

NumPy Trac numpy-tickets@scipy....
Tue Nov 30 09:19:50 CST 2010


#1448: Intel Fortran compiler detection fails on Mac OS X 10.6
--------------------------------------+-------------------------------------
 Reporter:  themiwi                   |       Owner:  somebody  
     Type:  defect                    |      Status:  needs_work
 Priority:  normal                    |   Milestone:  1.5.1     
Component:  numpy.distutils           |     Version:  devel     
 Keywords:  Mac OS X, Intel compiler  |  
--------------------------------------+-------------------------------------
Changes (by rgommers):

  * status:  needs_review => needs_work


Comment:

 Do you have a problem using the 'intelem' compiler? It matches your
 current version string fine and should just work. If not, we can consider
 adding the below {{{v64match}}}}. It's shouldn't break anything, while
 your version could break on 32-bit.

 I do think the name 'intelem', especially the description 'Intel Fortran
 Compiler for EM64T-based apps' is quite old-fashioned. I had to look up
 EM64T to see it's just plain 64 bit.
 {{{
 In [66]: str32 = "Intel(R) Fortran Intel(R) 32-bit Compiler Professional
 for applications running on Intel(R) 32, Version 11.1"

 In [67]: str64 = "Intel(R) Fortran Intel(R) 64 Compiler Professional for
 applications running on Intel(R) 64, Version 11.1"

 In [68]: v64match = intel_version_match('32-bit|IA-32|64|IA-64')

 In [69]: v32match = intel_version_match('32-bit|IA-32')

 In [70]: emt64_version_match = intel_version_match('EM64T-
 based|Intel\\(R\\) 64')

 In [71]: v32match(None, str32)  # current standard 32-bit match
 Out[71]: '11.1'

 In [72]: v64match(None, str64)  # proposed new match
 Out[72]: '11.1'

 In [73]: v64match(None, str32)  # proposed new match works for 32-bit
 Out[73]: '11.1'

 In [74]: emt64_version_match(None, str64)  # this works already
 Out[74]: '11.1'
 }}}


 Status is needs_info, but Trac won't let me set that.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1448#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list