[SciPy-user] problems finding fftw

John Hunter jdhunter at ace.bsd.uchicago.edu
Tue Apr 13 10:21:12 EDT 2004


I am building scipy from CVS, checked out last night, and am having
trouble getting it to find fftw.  I built fftw 


  502  cd /usr/local/src/
  504  tar xvfz ~jdhunter/c/src/fftw-2.1.3.tar.gz 
  505  cd fftw-2.1.3/
  507  configure --enable-i386-hacks --enable-threadss

  554  make clean
  556  configure --enable-threads --enable-float --enable-i386-hacks
  557  make
  558  make install

and it is installed to /usr/local

    peds-pc311:/var/tmp/builds/scipy> ls -l /usr/local/lib/libfftw*
    -rw-r--r--    1 root     root       952600 Apr 12 17:47 /usr/local/lib/libfftw3.a
    -rw-r--r--    1 root     root       950986 Apr 12 17:45 /usr/local/lib/libfftw3f.a
    -rwxr-xr-x    1 root     root          664 Apr 12 17:45 /usr/local/lib/libfftw3f.la
    -rw-r--r--    1 root     root        26782 Apr 12 17:44 /usr/local/lib/libfftw3f_threads.a
    -rwxr-xr-x    1 root     root          688 Apr 12 17:44 /usr/local/lib/libfftw3f_threads.la
    -rwxr-xr-x    1 root     root          661 Apr 12 17:47 /usr/local/lib/libfftw3.la
    -rw-r--r--    1 root     root        26648 Apr 12 17:46 /usr/local/lib/libfftw3_threads.a
    -rwxr-xr-x    1 root     root          685 Apr 12 17:46 /usr/local/lib/libfftw3_threads.la

I set my fftw environment var and edited scipy_core/scipy_distutils/site.cfg

    peds-pc311:/var/tmp/builds/scipy> setenv | grep -i fftw
    FFTW=/usr/local/lib

    peds-pc311:/var/tmp/builds/scipy> grep fftw scipy_core/scipy_distutils/site.cfg
    [fftw]
    fftw_libs = fftw3, fftw3f
    fftw_opt_libs = fftw3_threads, fftw3f_threads
    # if the above aren't found, look for {s,d}fftw_libs and {s,d}fftw_opt_libs

Is site.cfg supposed to remain in scipy_core/scipy_distutils?

But when I build I get fftw not found

    peds-pc311:/var/tmp/builds/scipy> python setup.py clean
    fftw_info:
    NOT AVAILABLE

    dfftw_info:
    NOT AVAILABLE

Any idea what is going wrong?

John Hunter




More information about the SciPy-User mailing list