[SciPy-Dev] Schur decomposition test failure under Python 2.5

Ralf Gommers ralf.gommers@googlemail....
Sun Nov 6 02:22:01 CST 2011


On Sun, Nov 6, 2011 at 3:26 AM, Bruce Southey <bsouthey@gmail.com> wrote:

> On Sat, Nov 5, 2011 at 1:40 PM, Ralf Gommers
> <ralf.gommers@googlemail.com> wrote:
> > Hi,
> >
> > There's a problem with schur(.., sort='lhp') under Python 2.5 that seems
> to
> > be related to the Lapack function gees:
> > http://projects.scipy.org/scipy/ticket/1555
> >
> > It would be great if someone could have a look at this for the 0.10.0
> > release, but if not I'll mark it as a knownfailure because it's not a
> > regression.
> >
> > Ralf
> >
> >
> > _______________________________________________
> > SciPy-Dev mailing list
> > SciPy-Dev@scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-dev
> >
> >
> I have only tested the RC on my 32-bit Windows install using the
> provided binary.
> I get the test_decomp.TestSchur and syntax error in test_distributions.py.
>
> But buried in the test output (when run within command line Python but
> not under IDLE) is this:
> "capi_return is NULL
> Call-back cb_dselect_in_dgees__user__routines failed."
>
> That's the cause of the TestSchur failure.


> This also appears with the current dev version under Linux.
>
> Bruce
>
> $ python2.5 test_decomp.py
>
> ................................................................................................................................................capi_return
> is NULL
> Call-back cb_dselect_in_dgees__user__routines failed.
>
> E.....................................................................................................................................E
> ======================================================================
> ERROR: test_sort (test_decomp.TestSchur)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File
> "/home/bsouthey/python/scipystuff/git/scipy/scipy/linalg/tests/test_decomp.py",
> line 1498, in test_sort
>    s,u,sdim = schur(a,sort='lhp')
>  File
> "/usr/local/lib/python2.5/site-packages/scipy/linalg/decomp_schur.py",
> line 118, in schur
>    sort_t=sort_t)
>  File
> "/usr/local/lib/python2.5/site-packages/scipy/linalg/decomp_schur.py",
> line 106, in <lambda>
>    sfunction = lambda x: (x.real < 0.0)
> AttributeError: 'float' object has no attribute 'real'
>
> ======================================================================
> ERROR: test_decomp.test_lapack_misaligned
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/usr/local/lib/python2.5/site-packages/nose/case.py", line
> 186, in runTest
>    self.test(*self.arg)
>  File "/usr/local/lib/python2.5/site-packages/numpy/testing/decorators.py",
> line 213, in knownfailer
>    raise KnownFailureTest, msg
> KnownFailureTest: Ticket #1152, triggers a segfault in rare cases.
>
> ----------------------------------------------------------------------
>

This one is new. Is this python 2.5 on Linux? Is the error reproduceable?

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20111106/ad026f30/attachment.html 


More information about the SciPy-Dev mailing list