Dear numpy pros,
I have a problem and I don't know whether it's from local setup intricacies
(64-bit Opteron with ACML and Python 2.5) or something in numpy (fresh SVN
checkout). I observe the following:
>>> import numpy
>>> numpy.test()
Found 5 tests for numpy.distutils.misc_util
Found 3 tests for numpy.lib.getlimits
Found 31 tests for numpy.core.numerictypes
Found 32 tests for numpy.linalg
Found 13 tests for numpy.core.umath
Found 4 tests for numpy.core.scalarmath
Found 9 tests for numpy.lib.arraysetops
Found 42 tests for numpy.lib.type_check
Found 166 tests for numpy.core.multiarray
Found 3 tests for numpy.fft.helper
Found 36 tests for numpy.core.ma
Found 1 tests for numpy.lib.ufunclike
Found 12 tests for numpy.lib.twodim_base
Found 10 tests for numpy.core.defmatrix
Found 4 tests for numpy.ctypeslib
Found 40 tests for numpy.lib.function_base
Found 1 tests for numpy.lib.polynomial
Found 8 tests for numpy.core.records
Found 26 tests for numpy.core.numeric
Found 4 tests for numpy.lib.index_tricks
Found 46 tests for numpy.lib.shape_base
Found 0 tests for __main__
........Segmentation fault
In gdb:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912496134400 (LWP 25798)]
VOID_setitem (op=Variable "op" is not available.
) at numpy/core/src/arraytypes.inc.src:522
522 if (res < 0) break;
Version information:
[nvf@ldas-pcdev1 nvf]$ uname -m
x86_64
[nvf@ldas-pcdev1 nvf]$ python
Python 2.5 (r25:51908, Sep 26 2006, 19:06:29)
[GCC 4.0.2 20051125 (Red Hat 4.0.2-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> numpy.__version__
'1.0.dev3219'
Any idea what might be wrong? One obvious thing to check was the linear
algebra, since ACML is suspect. numpy.linalg.eig worked fine for my simple
test. I don't know enough to debug further.
Thanks,
Nick
|