[SciPy-User] linalg.eigh hangs only after importing sparse module

Pauli Virtanen pav at iki.fi
Mon Mar 19 17:09:17 EDT 2012


Hi,

19.03.2012 19:24, Nicolas Pinto kirjoitti:
> The following simple code hangs only when sparse has been imported:
[clip]

It does not hang for me. So, first things first:

- which platform?
- which binaries?
- which LAPACK?

> Do you think this may be related to other arpack/umfpack/etc. known failures ?
> 
> Please let us know how can we help fix this issue.

ARPACK et al are probably not related, because they are not imported by
``from scipy import sparse``.

A more likely candidate is the SWIG-wrapped `sparsetools` package: it is
known to also cause some other weirdness:

    http://projects.scipy.org/scipy/ticket/1314

This unfortunately seems pretty difficult to debug. One thing I could
imagine doing is minimizing the problem, by first stripping everything
away from `scipy.sparse` except the sparsetools module, and then
stripping down the sparsetools code until the failing part is found.

-- 
Pauli Virtanen




More information about the SciPy-User mailing list