[Numpy-discussion] Intel OSX test failure (original) (raw)

David M. Cooke cookedm at physics.mcmaster.ca
Thu Jun 8 18:11:57 EDT 2006


On Thu, 8 Jun 2006 14:57:02 -0700 Gennan Chen <gnchen at cortechs.net> wrote:

Hi!

I just got an MacBook Pro and tried to install numpy+scipy on that. I successfully installed ipython+matplotlib+python 2.4 through darwinports. Then I svn co a copy of numpy +scipy. Compilation (gcc 4.0.1 + gfortran) seems working fine for numpy. After I installed it and run numpy.test() in ipython, it failed. And the error is: In [4]: numpy.test() Found 3 tests for numpy.lib.getlimits Found 30 tests for numpy.core.numerictypes Found 13 tests for numpy.core.umath Found 3 tests for numpy.core.scalarmath Found 8 tests for numpy.lib.arraysetops Found 42 tests for numpy.lib.typecheck Found 95 tests for numpy.core.multiarray Found 3 tests for numpy.dft.helper Found 36 tests for numpy.core.ma Found 2 tests for numpy.core.oldnumeric Found 9 tests for numpy.lib.twodimbase Found 9 tests for numpy.core.defmatrix Found 1 tests for numpy.lib.ufunclike Found 35 tests for numpy.lib.functionbase Found 1 tests for numpy.lib.polynomial Found 6 tests for numpy.core.records Found 19 tests for numpy.core.numeric Found 5 tests for numpy.distutils.miscutil Found 4 tests for numpy.lib.indextricks Found 46 tests for numpy.lib.shapebase Found 0 tests for main ..............................................F......................... ........................................................................ ........................................................................ ........................................................................ ........................................................................ .......... ====================================================================== FAIL: checklargetypes (numpy.core.tests.testscalarmath.testpower) ---------------------------------------------------------------------- Traceback (most recent call last): File "/opt/local/lib/python2.4/site-packages/numpy/core/tests/ testscalarmath.py", line 42, in checklargetypes assert b == 6765201, "error with %r: got %r" % (t,b) AssertionError: error with <type 'float128scalar'>: got 0.0 ---------------------------------------------------------------------- Ran 370 tests in 0.510s FAILED (failures=1) Out[4]: <unittest.TextTestRunner object at 0x1581fd0>

Anyone has any idea?? or Anyone ever successfully did that?

It's new; something's missing in the new power code I added for the scalartypes. It'll get fixed when I get around to it :-)

-- |>|/|< /--------------------------------------------------------------------------
|David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |cookedm at physics.mcmaster.ca



More information about the NumPy-Discussion mailing list