[SciPy-user] how to build in fftw3 support?

Lin Shao shao@msg.ucsf....
Thu May 22 12:41:40 CDT 2008


Thanks for the reply. I made sure that scipy/fftpack/_fftpack.so
depends on libfftw3. Now if I
from scipy import fftpack
then I got fftpack (probably using fftw3).

Here're some confusions I'd like to get clarified:
1. What's scipy's fft() function in relation to scipy.fftpack package?
2. What're numpy's fft package (from numpy import fft) and fftpack
package (from numpy.fft import fftpack)? are they related to
scipy.fftpack at all?

Thanks.

--lin


On Wed, May 21, 2008 at 7:21 PM, Robert Kern <robert.kern@gmail.com> wrote:
>
> On Wed, May 21, 2008 at 9:17 PM, Lin Shao <shao@msg.ucsf.edu> wrote:
> > Hello
> >
> > I have fftw3 installed and setup.py seems to have found it:
> >
> > fftw3_info:
> >  libraries fftw3 not found in /usr/local/lib
> >  libraries fftw3 not found in /opt/lib
> >  FOUND:
> >    libraries = ['fftw3']
> >    library_dirs = ['/usr/lib']
> >    define_macros = [('SCIPY_FFTW3_H', None)]
> >    include_dirs = ['/usr/include']
> >
> > But I don't see fftw3 in my scipy build.
>
> There is no scipy.fftw3 package, if that is what you were looking for.
> Everything is under scipy.fftpack. In particular, you can use the
> program ldd to double-check that the file scipy/fftpack/_fftpack.so is
> linked to libfftw3.
>


More information about the SciPy-user mailing list