Hi,
I am using MKL version 10.3 and Python 2.7.2 and compiled numpy1.6.1 using custom library method.
I ran numpy.test('full') and here is the output.
compiler options used "icc -O2 -g -fPIC -fp-model strict -openmp -xhost "
Couple of tests failed. Has anyone noticed similar problems. Is there a fix for these. These errors don't appear when numpy is compiled with gcc.
test_nonzero_bytesswap
======================================================================
FAIL: test_nonzero_byteswap (test_regression.TestRegression)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/user/python27-install/lib/python2.7/site-packages/numpy/core/tests/test_regression.py", line 1450, in test_nonzero_byteswap
assert_equal(a.nonzero()[0], [1])
File "/home/user/python27-install/lib/python2.7/site-packages/numpy/testing/utils.py", line 256, in assert_equal
return assert_array_equal(actual, desired, err_msg, verbose)
File "/home/user/python27-install/lib/python2.7/site-packages/numpy/testing/utils.py", line 707, in assert_array_equal
verbose=verbose, header='Arrays are not equal')
File "/home/user/python27-install/lib/python2.7/site-packages/numpy/testing/utils.py", line 600, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Arrays are not equal
(shapes (0,), (1,) mismatch)
x: array([], dtype=int64)
y: array([1])
======================================================================
FAIL: test_kind.TestKind.test_all
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/user/python27-install/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/user/python27-install/lib/python2.7/site-packages/numpy/f2py/tests/test_kind.py", line 30, in test_all
'selectedrealkind(%s): expected %r but got %r' % (i, selected_real_kind(i), selectedrealkind(i)))
File "/home/user/python27-install/lib/python2.7/site-packages/numpy/testing/utils.py", line 34, in assert_
raise AssertionError(msg)
AssertionError: selectedrealkind(16): expected 10 but got 16
----------------------------------------------------------------------
Ran 3552 tests in 52.984s
FAILED (KNOWNFAIL=3, SKIP=1, failures=2)
-thanks,
Vyas