[Numpy-discussion] numpy.linalg.eigvals crashes whn calling lapack_lite.pyd
Charles R Harris
Wed Jan 9 05:08:42 CST 2008
On Jan 9, 2008 12:24 AM, Simon <email@example.com> wrote:
> Charles R Harris <charlesr.harris <at> gmail.com> writes:
> > On Jan 8, 2008 6:49 PM, Simon <simonpy2008 <at> gmail.com> wrote:
> > Newbie here. Trying to generate eigenvalues from a matrix using:print
> numpy.linalg.eigvals(matrix)This works with small matrices, say 5 x 5, but
> causes python to crash on largermatrices, say 136 x 136, which is not
> very large.
> > Setup:Win XP SP2Python 2.5.1 (from .msi)numpy 1.0.4 (from
> (from .exe installer)When running from either the command line or the
> IDE, python.execrashes. The info in the microsoft error reporting thingy
> > AppName: python.exeModName: lapack_lite.pydOffset: 000b7434Stepping
> linalg.py using Pythonwin, I get as far as line 418 (in theeigvals
> results = lapack_routine('N', 'N', n, a, n, wr, wi,
> > dummy, 1, dummy, 1, work, lwork, 0)and
> python.exe crashes.That's the extent of my troubleshooting skills at this
> I haven't workedout if there is a specific matrix size where this starts
> occurring. Where to now?
> > Probably just a different execution path depending on matrix size. But I
> not that familiar with lapack_lite.
> > I can send the actual data for the matrix if need be, but as it's very
> Ithought it would mess up the list if I posted it here.
> > This sounds like a compiler and/or architecture incompatibility since
> doesn't seem to be part of the mix. What is your hardware?
> Xeon 5150 in Dell 490.
> I've also tried it on a couple of other boxes with different hardware
> since my
> first post, but don't have the details in front of me.
> Might try a compile from source on a unix box tomorrow, unless someone
> comes up
> with a solution before then.
Which specific version of numpy for 2.5 did you use? Can you try one of the
other versions on the sourceforge site?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion