Docs |
Forums |
Lists |
Bugs |
Planet |
Store |
GMN |
Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity
|
Format For Printing
|
XML
|
Clone This Bug
in sci-libs/scipy-0.6.0 fftw support is broken, this affects all archs and
platforms.
the offending file is scipy-0.6.0/scipy/fftpack/src/zfftnd_fftw.c with the
offending function being miss named (hence a trivial patch), this is fixed in
svn trunk but the release (scipy-0.6.0) is broken with regards to fft
functionality (signal processing, etc).
Reproducible: Always
Steps to Reproduce:
1. USE=fftw emerge =sci-libs/scipy-0.6.0
2. in a python shell run,
>>> import scipy
>>> from scipy import signal
Actual Results:
see nasty output like,
Traceback (most recent call last):
File "filtfilt.py", line 2, in ?
from scipy.signal import lfilter
File "/usr/lib64/python2.4/site-packages/scipy/signal/__init__.py", line 12,
in ?
from signaltools import *
File "/usr/lib64/python2.4/site-packages/scipy/signal/signaltools.py", line
7, in ?
from scipy.fftpack import fft, ifft, ifftshift, fft2, ifft2
File "/usr/lib64/python2.4/site-packages/scipy/fftpack/__init__.py", line 10,
in ?
from basic import *
File "/usr/lib64/python2.4/site-packages/scipy/fftpack/basic.py", line 13, in
?
import _fftpack as fftpack
ImportError: /usr/lib64/python2.4/site-packages/scipy/fftpack/_fftpack.so:
undefined symbol: zfftnd_fftw
Expected Results:
to see a prompt to then be able to run my signal processing code.
either apply a change like to
scipy-0.6.0/scipy/fftpack/src/zfftnd_fftw.c or compile without fftw support.
Created an attachment (id=132560) [edit]
renames function zfftnd_mkl to zfftnd_fftw
this is fixed upstream in the development svn, see,
Thank you very much for pointing this out and your patch.
I've fixed the issue in scipy-0.6.0-r1.
cheers,
Markus