[Numpy-discussion] Simplifying compiler optimization flags logic (fortran compilers)

Jarrod Millman millman@berkeley....
Sat Nov 1 12:15:29 CDT 2008


On Sat, Nov 1, 2008 at 1:07 AM, Robert Kern <robert.kern@gmail.com> wrote:
> On Fri, Oct 31, 2008 at 05:25, David Cournapeau
> <david@ar.media.kyoto-u.ac.jp> wrote:
>>    I was wondering whether it was really worth having a lot of magic
>> going on in fcompilers for flags like -msse2 and co (everything done in
>> get_flags_arch, for example). It is quite fragile (we had several
>> problems wrt buggy compilers, buggy CPU detection), and I am not sure it
>> buys us much anyway. Did some people notice a difference between
>> gfortran -O3 -msse2 and gfortran -O3 ?
>
> You're probably right.

I think it is probably best to take out some of the magic in fcompilers as well.

-- 
Jarrod Millman
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/


More information about the Numpy-discussion mailing list