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

Pauli Virtanen pav@iki...
Mon Mar 19 16:09:17 CDT 2012


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

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:


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