[SciPy-User] building numpy + scipy with MKL 10.3 and icc + ifort 12.1

Pauli Virtanen pav@iki...
Thu Jul 5 12:54:08 CDT 2012


05.07.2012 13:20, Steve Schmerler kirjoitti:
[clip]
> numpy
> -----
> Using gcc, all tests pass. Using icc, I get some messages like::
>
>     .../numpy/core/tests/test_umath.py:570: RuntimeWarning: invalid
> value encountered in fmax
>     assert_equal(np.fmax(arg1, arg2), out)
>
> all in test_umath.py. No test fails however. Is this a problem?
[clip]

Not a problem --- it's just an indication that some tests encounter NaNs.

[clip]
> With both gcc and icc, I get 3 errors. 
> 
>     ======================================================================
>     ERROR: test_simple_fat (test_decomp.TestRQ)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File "/home/schmerler/soft/lib/python2.7/site-packages/scipy/linalg/tests/test_decomp.py", line 1155, in test_simple_fat
>         r,q = rq(a)
>       File "/home/schmerler/soft/lib/python2.7/site-packages/scipy/linalg/decomp_qr.py", line 293, in rq
>         rq, tau, work, info = gerqf(a1, lwork=lwork, overwrite_a=overwrite_a)
>     error: (lwork>=n||lwork==-1) failed for 1st keyword lwork: dgerqf:lwork=2

There was an actual bug in the RQ codes on the Scipy side in 0.10.1,
https://github.com/scipy/scipy/commit/ed29437a98d1

Doesn't appear always, though, but MKL may make the difference. Can you
try if it is fixed (should be) in the the 0.11.0 beta?

-- 
Pauli Virtanen



More information about the SciPy-User mailing list