[SciPy-user] f2py and ifort flags...

Pearu Peterson pearu@cens.ioc...
Tue Jun 5 04:57:29 CDT 2007



fred wrote:
> Pearu Peterson a écrit :
>>> - -xM option does not exist anymore in recent ifort release; thus it 
>>> conflicts
>>> with other options,  such as  -xP, -xT, etc...
>>>     
>> Do you know which version of the compiler dropped -xM option? Then
>> we can disable it by checking the value of self.get_version().
>>   
> Hi,
> 
> I just got the answer from intel:
> 
> -xM was supported in the 7.1 compilers, but support was discontinued in 
> the 8.0 compiler.Please note that the 7.1 compilers might not work on 
> more recent Linux distributions, though they should work on older ones.
> 
> If you have a Pentium 4 or more recent processor, you should use -xW or 
> similar switch in place of -xM. The SSE2 and later instructions are more 
> powerful than the old MMX.

Ok, thanks. I will add the following codelet to intel compiler 
get_flags_arch() method:

if v and v <= '7.1':
     if cpu.has_mmx() and (cpu.is_PentiumII() or cpu.is_PentiumIII()):
           opt.append('-xM')

Do you have references how the processor types map to options such as
-xP, -xT, etc...?

Pearu


More information about the SciPy-user mailing list