[SciPy-user] FFT troubles

Rob Managan managan at llnl.gov
Fri Dec 9 16:20:19 CST 2005


At 1:46 PM -0700 12/9/05, Travis Oliphant wrote:
>Rob Managan wrote:
>
>>I am wondering if anyone can help me figure out where my FFts are
>>going bad with the latest svn version of scipy. This has been going
>>on for a few weeks.
>>Mac OSX 10.3.9, python 2.4.1
>>
>>I have fftw-2.1.5 installed and 'make check' reports no problems.
>> 
>>
>This looks like a problem with the interface to fftw.   Would you agree?
>
>Pearu knows the most about this particular section of code.   It looks
>like his
>module is generically calling the fftw library.  I don't know if all of
>the supported
>routines have the same calling conventions.
>
>Perhaps something else is going on to make it work with fftw.  Do fft's
>work with the default fft?
>
>Do scipy.basic.fft and scipy.basic.ifft  from scipy core work as expected?
>

Make that scipy.fft and scipy.ifft and the answer is yes. Just to be 
clear here is what I did.
rm -rf .../site-packages/scipy/
cd core
python setup.py install
cd ..

Then the test runs fine using scipy.fft and scipy.ifft .

When I
cd scipy
python setup.py install
cd ..

Then the test fails. I guess that means there is a problem in how the 
scipy package links with fftw-2.1.5.

What is the best way to figure out where the problem is??
-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Rob Managan               email managan at llnl.gov
LLNL                      phone: 925-423-0903
P.O. Box 808, L-095       FAX:   925-422-3389
Livermore, CA  94551-0808



More information about the SciPy-user mailing list