[SciPy-Dev] One scipy.test() failure on rev7143

Bruce Southey bsouthey at gmail.com
Tue Feb 15 13:13:04 EST 2011


On 02/15/2011 11:09 AM, Gökhan Sever wrote:
> I could reproduce the issue both using:
>
> python -c"import scipy;scipy.test()"
> python -c"import scipy.special;scipy.special.test()"
>
> Using 64-bit local builds.
>
> On Mon, Feb 14, 2011 at 4:54 PM, Christoph Gohlke <cgohlke at uci.edu 
> <mailto:cgohlke at uci.edu>> wrote:
>
>
>
>     On 2/14/2011 3:32 PM, Gökhan Sever wrote:
>     > Hello,
>     >
>     > Installing scipy on a fresh laptop (using Fedora 14 - x86_64):
>     >
>     >> >> scipy.test()
>     > Running unit tests for scipy
>     > NumPy version 1.6.0.dev-af1e833
>     > NumPy is installed in /usr/lib64/python2.7/site-packages/numpy
>     > SciPy version 0.10.0.dev7143
>     > SciPy is installed in /usr/lib64/python2.7/site-packages/scipy
>     > Python version 2.7 (r27:82500, Sep 16 2010, 18:02:00) [GCC 4.5.1
>     > 20100907 (Red Hat 4.5.1-3)]
>     > nose version 1.0.0
>     >
>     .............................................................................................................................................................................................................K........................................................................................../usr/lib64/python2.7/site-packages/scipy/interpolate/fitpack2.py:673:
>     > 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)
>     >
>     ....../usr/lib64/python2.7/site-packages/scipy/interpolate/fitpack2.py:604:
>     > UserWarning:
>     > The required storage space exceeds the available storage space:
>     nxest
>     > or nyest too small, or s too small.
>     > The weighted least-squares spline corresponds to the current set of
>     > knots.
>     >    warnings.warn(message)
>     >
>     ......................K..K....................................................................................................................................................................................................................................................................................................................................................................................................................../usr/lib64/python2.7/site-packages/scipy/io/wavfile.py:31:
>     > WavFileWarning: Unfamiliar format bytes
>     >    warnings.warn("Unfamiliar format bytes", WavFileWarning)
>     > /usr/lib64/python2.7/site-packages/scipy/io/wavfile.py:121:
>     > WavFileWarning: chunk not understood
>     >    warnings.warn("chunk not understood", WavFileWarning)
>     >
>     ...............................................................................................................................................................................................................................SSSSSS......SSSSSS......SSSS............................................................................................................................./usr/lib64/python2.7/site-packages/scipy/linalg/decomp.py:57:
>     > ComplexWarning: Casting complex values to real discards the
>     imaginary part
>     >    overwrite_a, overwrite_b)
>     >
>     ..........................................................................................................................................................................................K.................................................................................................................................................................................................................................................................................................................................................................../usr/lib64/python2.7/site-packages/scipy/ndimage/morphology.py:254:
>     > PendingDeprecationWarning: The CObject type is marked Pending
>     > Deprecation in Python 2.7.  Please use capsule objects instead.
>     >    structure, mask, output, border_value, origin, invert, cit, 1)
>     >
>     ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................SSSSSSSSSSS................................................................................................................................................................K...............................................................K.....................................................................................................................................................
>     ......KK......................................................................................................................................................................................................................................................................................................................................................................................................................F........K.K........................................................................................................................................................................................................................................................................................................................................................................................K........K.........SSSSSSS..................................................................................................................................................................
>     ................................................................................................................................................................................................................................Warning:
>     > overflow encountered in exp
>     > Warning: overflow encountered in exp
>     > Warning: overflow encountered in exp
>     > Warning: overflow encountered in exp
>     > Warning: overflow encountered in exp
>     > Warning: overflow encountered in exp
>     > Warning: overflow encountered in exp
>     > Warning: overflow encountered in exp
>     > Warning: overflow encountered in exp
>     > Warning: overflow encountered in exp
>     > .................................Warning: invalid value
>     encountered in sqrt
>     >
>     .........................................................................................................................................................................................................................................................................................................S............................................................................................................................................................................................Warning:
>     > divide by zero encountered in divide
>     > Warning: divide by zero encountered in divide
>     > Warning: divide by zero encountered in divide
>     >
>     .................................................................................................................................................................................................................................................................................................................................................................................................................
>     >
>     ======================================================================
>     > FAIL: Real-valued Bessel domains
>     >
>     ----------------------------------------------------------------------
>     > Traceback (most recent call last):
>     >    File
>     >
>     "/usr/lib64/python2.7/site-packages/scipy/special/tests/test_basic.py",
>     > line 1712, in test_ticket_854
>     >      assert_(not isnan(special.airye(-1)[2:4]).any(),
>     special.airye(-1))
>     >    File "/usr/lib64/python2.7/site-packages/numpy/testing/utils.py",
>     > line 34, in assert_
>     >      raise AssertionError(msg)
>     > AssertionError: (nan, nan, nan, nan)
>     >
>     >
>     ----------------------------------------------------------------------
>     > Ran 4773 tests in 40.854s
>     >
>     > FAILED (KNOWNFAIL=12, SKIP=35, failures=1)
>     > <nose.result.TextTestResult run=4773 errors=0 failures=1>
>     >
>     > Anything to worry?
>     >
>     > Thanks.
>     >
>     >
>     > --
>     > Gökhan
>     >
>     >
>
>
>     This is a know bug <http://projects.scipy.org/scipy/ticket/1233>.
>
>     Christoph
>     _______________________________________________
>     SciPy-Dev mailing list
>     SciPy-Dev at scipy.org <mailto:SciPy-Dev at scipy.org>
>     http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>
>
>
> -- 
> Gökhan
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
I did not see this with scipy0.9rc3 using any of the various Python 
versions (still need to get Python 3.2) on my 64bit Fedora 14 system 
which does not have any Intel compilers or libraries.

Do you get this error with Python 3.1?

Also, with regards to Pauli's last comment on ticket 1233, it would be 
interesting if using fwrap instead of f2py helps.

Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20110215/fed6c804/attachment.html>


More information about the SciPy-Dev mailing list