[Python-modules-team] Bug#452991: python-scipy: scipy.test(level=1) fails with python2.4/2.5

Eike von Seggern jan_eike_von.seggern at mailbox.tu-dresden.de
Mon Nov 26 15:11:43 UTC 2007


Package: python-scipy
Version: 0.6.0-3
Severity: normal

Hello,

when running scipy.test(level=1) with python2.4 or python2.5 it fails
giving an "Illegal instruction" and the interpreter returns with 132.

The output is the following:
eike at joutsen:~$ python2.4
Python 2.4.4 (#2, Aug 16 2007, 02:03:40) 
[GCC 4.1.3 20070812 (prerelease) (Debian 4.1.2-15)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
>>> scipy.test(level=1)
  Found 9 tests for scipy.cluster.vq
  Found 18 tests for scipy.fftpack.basic
  Found 4 tests for scipy.fftpack.helper
  Found 20 tests for scipy.fftpack.pseudo_diffs
  Found 1 tests for scipy.integrate
  Found 10 tests for scipy.integrate.quadpack
  Found 3 tests for scipy.integrate.quadrature
  Found 6 tests for scipy.interpolate
  Found 6 tests for scipy.interpolate.fitpack
  Found 4 tests for scipy.io.array_import
  Found 28 tests for scipy.io.mio
  Found 13 tests for scipy.io.mmio
  Found 5 tests for scipy.io.npfile
  Found 4 tests for scipy.io.recaster
  Found 16 tests for scipy.lib.blas
  Found 128 tests for scipy.lib.blas.fblas

****************************************************************
WARNING: clapack module is empty
-----------
See scipy/INSTALL.txt for troubleshooting.
Notes:
* If atlas library is not found by numpy/distutils/system_info.py,
  then scipy uses flapack instead of clapack.
****************************************************************

  Found 42 tests for scipy.lib.lapack
  Found 41 tests for scipy.linalg.basic
<module 'scipy.linalg.fblas' from '/usr/lib/python2.4/site-packages/scipy/linalg/fblas.so'>
  Found 16 tests for scipy.linalg.blas
  Found 72 tests for scipy.linalg.decomp
  Found 128 tests for scipy.linalg.fblas
  Found 6 tests for scipy.linalg.iterative
  Found 4 tests for scipy.linalg.lapack
  Found 7 tests for scipy.linalg.matfuncs
  Found 9 tests for scipy.linsolve.umfpack
  Found 2 tests for scipy.maxentropy
  Found 3 tests for scipy.misc.pilutil
  Found 399 tests for scipy.ndimage
  Found 5 tests for scipy.odr
  Found 8 tests for scipy.optimize
  Found 1 tests for scipy.optimize.cobyla
  Found 10 tests for scipy.optimize.nonlin
  Found 4 tests for scipy.optimize.zeros
  Found 5 tests for scipy.signal.signaltools
  Found 4 tests for scipy.signal.wavelets
  Found 152 tests for scipy.sparse
  Found 342 tests for scipy.special.basic
  Found 3 tests for scipy.special.spfun_stats
  Found 107 tests for scipy.stats
  Found 73 tests for scipy.stats.distributions
  Found 10 tests for scipy.stats.morestats
  Found 0 tests for __main__
.../usr/lib/python2.4/site-packages/scipy/cluster/vq.py:477: UserWarning: One of the clusters is empty. Re-run kmean with a different initialization.
  warnings.warn("One of the clusters is empty. "
exception raised as expected: One of the clusters is empty. Re-run kmean with a different initialization.
................................................Residual: 1.05006950608e-07
..................../usr/lib/python2.4/site-packages/scipy/interpolate/fitpack2.py:458: UserWarning: 
The coefficients of the spline returned have been computed as the
minimal norm least-squares solution of a (numerically) rank deficient
system (deficiency=7). If deficiency is large, the results may be
inaccurate. Deficiency may strongly depend on the value of eps.
  warnings.warn(message)
......
Don't worry about a warning regarding the number of bytes read.
Warning: 1000000 bytes requested, 20 bytes read.
.........................................................................caxpy:n=4
..caxpy:n=3
....ccopy:n=4
..ccopy:n=3
.............cscal:n=4
....cswap:n=4
..cswap:n=3
.....daxpy:n=4
..daxpy:n=3
....dcopy:n=4
..dcopy:n=3
.............dscal:n=4
....dswap:n=4
..dswap:n=3
.....saxpy:n=4
..saxpy:n=3
....scopy:n=4
..scopy:n=3
.............sscal:n=4
....sswap:n=4
..sswap:n=3
.....zaxpy:n=4
..zaxpy:n=3
....zcopy:n=4
..zcopy:n=3
.............zscal:n=4
....zswap:n=4
..zswap:n=3
.....................................................................................
****************************************************************
WARNING: cblas module is empty
-----------
See scipy/INSTALL.txt for troubleshooting.
Notes:
* If atlas library is not found by numpy/distutils/system_info.py,
  then scipy uses fblas instead of cblas.
****************************************************************

...........................................................................................caxpy:n=4
..caxpy:n=3
....ccopy:n=4
..ccopy:n=3
.............cscal:n=4
....cswap:n=4
..cswap:n=3
.....daxpy:n=4
..daxpy:n=3
....dcopy:n=4
..dcopy:n=3
.............dscal:n=4
....dswap:n=4
..dswap:n=3
.....saxpy:n=4
..saxpy:n=3
....scopy:n=4
..scopy:n=3
.............sscal:n=4
....sswap:n=4
..sswap:n=3
.....zaxpy:n=4
..zaxpy:n=3
....zcopy:n=4
..zcopy:n=3
.............zscal:n=4
....zswap:n=4
..zswap:n=3
..........
****************************************************************
WARNING: clapack module is empty
-----------
See scipy/INSTALL.txt for troubleshooting.
Notes:
* If atlas library is not found by numpy/distutils/system_info.py,
  then scipy uses flapack instead of clapack.
****************************************************************

...Result may be inaccurate, approximate err = 7.03967518032e-09
...Result may be inaccurate, approximate err = 7.27595761418e-12
......Use minimum degree ordering on A'+A.
..Use minimum degree ordering on A'+A.
...Use minimum degree ordering on A'+A.
............................................................................................................./usr/lib/python2.4/site-packages/scipy/ndimage/interpolation.py:41: UserWarning: Mode "reflect" may yield incorrect results on boundaries. Please use "mirror" instead.
  warnings.warn('Mode "reflect" may yield incorrect results on '
.............................................................................................Illegal instruction
eike at joutsen:~$ 

If you need more information or want me to run different tests I'll be
happy to help you.

Regards,
    eike


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (102, 'unstable'), (101, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-scipy depends on:
pn  atlas3-base | refblas3 | libb <none>     (no description available)
ii  atlas3-sse2 [liblapack.so.3]  3.6.0-20.6 Automatically Tuned Linear Algebra
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  libfftw3-3                    3.1.2-3    library for computing Fast Fourier
ii  libg2c0                       1:3.4.6-6  Runtime library for GNU Fortran 77
ii  libgcc1                       1:4.2.2-3  GCC support library
ii  libstdc++6                    4.2.2-3    The GNU Standard C++ Library v3
ii  libsuitesparse                3.0.0-7    collection of libraries for comput
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-central                0.5.15     register and build utility for Pyt
ii  python-imaging                1.1.6-1    Python Imaging Library
ii  python-numpy                  1:1.0.3-1  Numerical Python adds a fast array

Versions of packages python-scipy recommends:
ii  g++ [c++-compiler]            4:4.2.1-6  The GNU C++ compiler
ii  g++-4.2 [c++-compiler]        4.2.2-3    The GNU C++ compiler

-- no debconf information





More information about the Python-modules-team mailing list