Detecting fftw (was Re: [SciPy-user] Absoft Compiler)

Gerard Vermeulen gvermeul at grenoble.cnrs.fr
Wed Nov 6 03:37:44 EST 2002


On Tue, Nov 05, 2002 at 08:53:37PM +0200, Pearu Peterson wrote:
> 
> On Mon, 4 Nov 2002, Travis Oliphant wrote:
> 
> > > There are a couple of additional problems:  the SciPy install didn't
> > > detect that I have the fftw libraries installed (from the RPM), and the
> > > test suite complains up near the top about the lack of a test_matfuncs
> > > module.
> > 
> > There is a site.cfg file where this information can be placed if it is in
> > an unusual location.
> > 
> > Welcome to the group....
> 
> Hmm, I would like that people would not need to use site.cfg if they are
> using system defaults.
> Could someone send information where RPM packed fftw libraries and
> include files are installed? 
> 
> The current system_info.py assumes that one of the following file groups
> exists:
>   libfftw.a, librfftw.a, fftw.h, rfftw.h
> or
>   libdfftw.a, libdrfftw.a, dfftw.h, drfftw.h
> (in proper lib/include directories, of course)
> 
> How fftw installation in Redhat based systems differs from this setup?
> 
> Pearu
> 
On my Mandrake-8.2 the RPM for fftw consists of a 'user' package and
a 'devel' package. To rebuild SciPy the 'devel' package is needed (this may
be also the case on other distro's).

The relevant files for the rpm packages are:

[packer at venus packer]$ rpm -ql fftw | grep lib
/usr/lib/libfftw.so.2
/usr/lib/libfftw.so.2.0.5
/usr/lib/libfftw_threads.so.2
/usr/lib/libfftw_threads.so.2.0.5
/usr/lib/librfftw.so.2
/usr/lib/librfftw.so.2.0.5
/usr/lib/librfftw_threads.so.2
/usr/lib/librfftw_threads.so.2.0.5
/usr/lib/libsfftw.so.2
/usr/lib/libsfftw.so.2.0.5
/usr/lib/libsfftw_threads.so.2
/usr/lib/libsfftw_threads.so.2.0.5
/usr/lib/libsrfftw.so.2
/usr/lib/libsrfftw.so.2.0.5
/usr/lib/libsrfftw_threads.so.2
/usr/lib/libsrfftw_threads.so.2.0.5
[packer at venus packer]$

[packer at venus packer]$ rpm -ql fftw-devel | grep lib
/usr/lib/libfftw.a
/usr/lib/libfftw.la
/usr/lib/libfftw.so
/usr/lib/libfftw_threads.a
/usr/lib/libfftw_threads.la
/usr/lib/libfftw_threads.so
/usr/lib/librfftw.a
/usr/lib/librfftw.la
/usr/lib/librfftw.so
/usr/lib/librfftw_threads.a
/usr/lib/librfftw_threads.la
/usr/lib/librfftw_threads.so
/usr/lib/libsfftw.a
/usr/lib/libsfftw.la
/usr/lib/libsfftw.so
/usr/lib/libsfftw_threads.a
/usr/lib/libsfftw_threads.la
/usr/lib/libsfftw_threads.so
/usr/lib/libsrfftw.a
/usr/lib/libsrfftw.la
/usr/lib/libsrfftw.so
/usr/lib/libsrfftw_threads.a
/usr/lib/libsrfftw_threads.la
/usr/lib/libsrfftw_threads.so
[packer at venus packer]$

[packer at venus packer]$ rpm -ql fftw-devel | grep include
/usr/include/fftw.h
/usr/include/fftw_threads.h
/usr/include/rfftw.h
/usr/include/rfftw_threads.h
/usr/include/sfftw.h
/usr/include/sfftw_threads.h
/usr/include/srfftw.h
/usr/include/srfftw_threads.h
[packer at venus packer]$


Regards -- Gerard




More information about the SciPy-User mailing list