[SciPy-dev] [SciPy-user] FFT troubles

Travis Oliphant oliphant.travis at ieee.org
Fri Dec 9 17:52:40 CST 2005


Rob Managan wrote:

> I get
>
> running build_clib
> customize UnixCCompiler
> ...
> customize GnuFCompiler using build_ext
> building 'scipy.fftpack._fftpack' extension
> compiling C sources
> gcc options: '-fno-strict-aliasing -Wno-long-double -no-cpp-precomp 
> -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall 
> -Wstrict-prototypes'
> compile options: '-Ibuild/src 
> -I/Users/managan/Documents/local/lib/python2.4/site-packages/scipy/base/include 
> -I/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -c'
> /usr/local/bin/g77 -undefined dynamic_lookup -bundle 
> build/temp.darwin-7.9.0-Power_Macintosh-2.4/build/src/Lib/fftpack/_fftpackmodule.o 
> build/temp.darwin-7.9.0-Power_Macintosh-2.4/Lib/fftpack/src/zfft.o 
> build/temp.darwin-7.9.0-Power_Macintosh-2.4/Lib/fftpack/src/drfft.o 
> build/temp.darwin-7.9.0-Power_Macintosh-2.4/Lib/fftpack/src/zrfft.o 
> build/temp.darwin-7.9.0-Power_Macintosh-2.4/Lib/fftpack/src/zfftnd.o 
> build/temp.darwin-7.9.0-Power_Macintosh-2.4/build/src/fortranobject.o 
> -L/usr/local/lib/gcc/powerpc-apple-darwin7.9.0/3.4.4 
> -Lbuild/temp.darwin-7.9.0-Power_Macintosh-2.4 -ldfftpack -lg2c 
> -lcc_dynamic -o 
> build/lib.darwin-7.9.0-Power_Macintosh-2.4/scipy/fftpack/_fftpack.so
> running install_lib
>
> I don't see the  -lrfftw -lfftw options on the compile line so I 
> wonder if I am actually linking against fftw??

Well that's interesting...  That could signal a problem with the fftpack 
supplied with full scipy...

You can check to see if your system is picking up fftw using:

python -c "import scipy.distutils.system_info as sds; print 
sds.get_info('fftw')"

The output of that will show you more.

-Travis





More information about the Scipy-dev mailing list