[SciPy-dev] fftw3 with newcore

Arnd Baecker arnd.baecker at web.de
Wed Nov 2 11:27:02 CST 2005


Hi,

just a quick question: is fftw3 already supported with newcore?
I have the impression that it is not detected properly.

system_info.py for the "old" scipy_distutils does some effort
to figure out about fftw3:

class fftw_info(system_info):
    #variables to override
    section = 'fftw'
    dir_env_var = 'FFTW'
    notfounderror = FFTWNotFoundError
    ver_info  = [ { 'name':'fftw3',
                    'libs':['fftw3'],
                    'includes':['fftw3.h'],
                    'macros':[('SCIPY_FFTW3_H',None)]},
                  { 'name':'fftw2',
                    'libs':['rfftw', 'fftw'],
                    'includes':['fftw.h','rfftw.h'],
                    'macros':[('SCIPY_FFTW_H',None)]}]

which is not present in the newcore system_info

It would be nice if newscipy could support fftw3 as well,
as fftw3 performs by approx. a factor of 3 faster than fftw2
on the opteron!

BTW: did anyone of you ever compare the speed of the wrapped fftw
with the mflops as given by the
benchmarks on http://www.fftw.org/speed/ ?

Best,

Arnd





More information about the Scipy-dev mailing list