[Numpy-discussion] Need compilations with compilers other than gcc

Arnd Baecker arnd.baecker at web.de
Wed Feb 8 09:24:02 EST 2006


On Tue, 7 Feb 2006, Arnd Baecker wrote:

> On Tue, 7 Feb 2006, Pearu Peterson wrote:
[...]
> > >> So, a recommended fix would be to build Python with icc and as a
> > >> result correct libraries will be used for building 3rd party extension
> > >> modules.

OK, I went for this.
With numpy.__version__ '0.9.5.2069'
I get for numpy.test(10)

======================================================================
FAIL: check_basic
(numpy.lib.function_base.test_function_base.test_cumprod)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/work/home/baecker/INSTALL_PYTHON_again_with_icc/Inst/lib/python2.4/site-packages/numpy/lib/tests/test_function_base.py",
line 169, in check_basic
    1320, 6600, 26400],ctype))
  File
"/work/home/baecker/INSTALL_PYTHON_again_with_icc/Inst/lib/python2.4/site-packages/numpy/testing/utils.py",
line 156, in assert_array_equal
    assert cond,\
AssertionError:
Arrays are not equal (mismatch 57.1428571429%):
        Array 1: [  1.   2.  20.   0.   0.   0.   0.]
        Array 2: [  1.0000000000000000e+00   2.0000000000000000e+00
2.0000000000000000e+01
   2.2000000000000000e+02   1.32000000000000...


======================================================================
FAIL: check_basic (numpy.lib.function_base.test_function_base.test_cumsum)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/work/home/baecker/INSTALL_PYTHON_again_with_icc/Inst/lib/python2.4/site-packages/numpy/lib/tests/test_function_base.py",
line 128, in check_basic
    assert_array_equal(cumsum(a), array([1,3,13,24,30,35,39],ctype))
  File
"/work/home/baecker/INSTALL_PYTHON_again_with_icc/Inst/lib/python2.4/site-packages/numpy/testing/utils.py",
line 156, in assert_array_equal
    assert cond,\
AssertionError:
Arrays are not equal (mismatch 57.1428571429%):
        Array 1: [  1.   3.  13.  11.  17.   5.   9.]
        Array 2: [  1.   3.  13.  24.  30.  35.  39.]


======================================================================
FAIL: check_simple
(numpy.lib.function_base.test_function_base.test_unwrap)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/work/home/baecker/INSTALL_PYTHON_again_with_icc/Inst/lib/python2.4/site-packages/numpy/lib/tests/test_function_base.py",
line 273, in check_simple
    assert(all(diff(unwrap(rand(10)*100))<pi))
AssertionError

======================================================================
FAIL: check_nd (numpy.lib.index_tricks.test_index_tricks.test_grid)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/work/home/baecker/INSTALL_PYTHON_again_with_icc/Inst/lib/python2.4/site-packages/numpy/lib/tests/test_index_tricks.py",
line 30, in check_nd
    assert_array_almost_equal(c[1][:,-1],2*ones(10,'d'),11)
  File
"/work/home/baecker/INSTALL_PYTHON_again_with_icc/Inst/lib/python2.4/site-packages/numpy/testing/utils.py",
line 183, in assert_array_almost_equal
    assert cond,\
AssertionError:
Arrays are not almost equal (mismatch 90.0%):
        Array 1: [ 0.666666666667  1.111111111111  1.555555555556  2.
2.444444444444
  2.888888888889  3.333333333333 -1.037...
        Array 2: [ 2.  2.  2.  2.  2.  2.  2.  2.  2.  2.]


Concnerning warnings/remarks:
  cat build_log_numpy.txt | grep warning | wc
    1420   12817  133601
  cat build_log_numpy.txt | grep remark | wc
    3371   32184  365467

Best, Arnd




More information about the NumPy-Discussion mailing list