help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] Speed problem


From: John Lamb
Subject: Re: [Help-gsl] Speed problem
Date: Thu, 26 May 2005 08:01:13 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906

Paolo Zavarise wrote:
> I have this problem.
>
> GSL 1.6 compiled by myself is five/ten time slower than GSL included
> in ubuntu (1.5.90, same one I think). I've compiled with
> configure/make, no options, and installed in a non-default dir.
>
> I've compiled with gcc3.4 on a I386 platform.
> Have you an idea?
>
Have you tried building it using:

$ CFLAGS="-march=pentium4 -O2 -mfpmath=sse -msse -msse2 -malign-double
-Wall -pipe -Wno-long-long"  ./configure

assuming you have a pentium4. The streaming SIMD extensions make a
dramatic difference, especially when you're adding/multiplying lots of
vecctors and matrices.

-- 
JDL





reply via email to

[Prev in Thread] Current Thread [Next in Thread]