Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 194708
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Heavens <david.heavens@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scipy-0.6.0-zfftnd_fftw.patch renames function zfftnd_mkl to zfftnd_fftw patch David Heavens 2007-10-04 13:42 0000 414 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 194708 depends on: Show dependency tree
Bug 194708 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-04 13:40 0000
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
http://projects.scipy.org/scipy/scipy/changeset/3306#file0 to
scipy-0.6.0/scipy/fftpack/src/zfftnd_fftw.c or compile without fftw support.

------- Comment #1 From David Heavens 2007-10-04 13:42:44 0000 -------
Created an attachment (id=132560) [details]
renames function zfftnd_mkl to zfftnd_fftw

this is fixed upstream in the development svn, see,
http://projects.scipy.org/scipy/scipy/changeset/3306#file0

------- Comment #2 From Markus Dittrich 2007-10-05 14:03:13 0000 -------
Thank you very much for pointing this out and your patch.
I've fixed the issue in scipy-0.6.0-r1.

cheers,
Markus

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug