[SciPy-user] Installing scipy with fftw in non-standard location
Stefan van der Walt
stefan at sun.ac.za
Tue Nov 21 11:52:32 EST 2006
On Tue, Nov 21, 2006 at 04:55:07PM +0100, Joris De Ridder wrote:
>
> Thanks, George. This seemed to solve the problem of finding the libraries:
>
> fftw2_info:
> libraries rfftw,fftw not found in /software/fftw-2.1.5/
> libraries rfftw,fftw not found in /software/fftw-2.1.5/include
> FOUND:
> libraries = ['rfftw', 'fftw']
> library_dirs = ['/software/fftw-2.1.5/lib']
> define_macros = [('SCIPY_FFTW_H', None)]
> include_dirs = ['/software/fftw-2.1.5/include']
>
> I'm not sure that they're really included though. I guess (nowhere documented)
> that I should be importing the FFTW functionality by
>
> >>> from scipy.fftw import *
>
> but there is no such (sub)module, only the standard fftpack
module. Hence my doubts...
Run
nm _fftpack.so | grep fftw
and see if there are any fftw symbols.
Without:
000084c0 b caches_drfftw
00008400 b caches_zfftw
U fftw_destroy_plan
U fftw_execute
U fftw_free
U fftw_malloc
U fftw_plan_dft_1d
U fftw_plan_many_dft
U fftw_plan_r2r_1d
00002b20 t get_cache_id_zfftw
000084a0 b last_cache_id_drfftw
000083e4 b last_cache_id_zfftw
000084a4 b nof_in_cache_drfftw
000083e0 b nof_in_cache_zfftw
With:
... very very long list.
Cheers
Stéfan
More information about the SciPy-User
mailing list