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

fred fredmfp at gmail.com
Fri May 25 08:34:12 EDT 2007


Pearu Peterson a écrit :
> This flag should be added via cpu.is_Core2() check to .get_arch_flags()
> methods.
>
>   
Do you agree with something like this ?:
--- intel.py    2007-05-25 11:00:11.000000000 +0200
+++ intel.py.orig       2007-05-25 10:59:34.000000000 +0200
@@ -56,8 +56,6 @@
             opt.append('-tpp5')
         elif cpu.is_PentiumIV() or cpu.is_Xeon():
             opt.extend(['-tpp7','-xW'])
-        elif cpu.is_Core2():
-            opt.extend(['-tpp7','-xT'])
         if cpu.has_mmx() and not cpu.is_Xeon():
             opt.append('-xM')
         if cpu.has_sse2():

>> - -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().
>   
I'll reply when I get the answer from intel team.


Cheers,

-- 
http://scipy.org/FredericPetit




More information about the SciPy-User mailing list