[Numpy-discussion] Intel OSX test failure

Gennan Chen gnchen at cortechs.net
Thu Jun 8 16:57:02 CDT 2006


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.type_check
   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.twodim_base
   Found 9 tests for numpy.core.defmatrix
   Found 1 tests for numpy.lib.ufunclike
   Found 35 tests for numpy.lib.function_base
   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.misc_util
   Found 4 tests for numpy.lib.index_tricks
   Found 46 tests for numpy.lib.shape_base
   Found 0 tests for __main__
..............................................F......................... 
........................................................................ 
........................................................................ 
........................................................................ 
........................................................................ 
..........
======================================================================
FAIL: check_large_types (numpy.core.tests.test_scalarmath.test_power)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/opt/local/lib/python2.4/site-packages/numpy/core/tests/ 
test_scalarmath.py", line 42, in check_large_types
     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?


Gen-Nan Chen, PhD
Chief Scientist
Research and Development Group
CorTechs Labs Inc (www.cortechs.net)
1020 Prospect St., #304, La Jolla, CA, 92037
Tel: 1-858-459-9700 ext 16
Fax: 1-858-459-9705
Email: gnchen at cortechs.net






More information about the Numpy-discussion mailing list