Skip to content

failing numpy tests in SciPy-bundle 2020.03 with intel/2020a on AMD Rome #11836

@boegel

Description

@boegel
================================  short test summary info ================================ 
FAILED linalg/tests/test_linalg.py::TestSolve::test_sq_cases - AssertionError: In test case: <LinalgCase: csingle>                                                                                                                                                              FAILED linalg/tests/test_linalg.py::TestNorm_NonSystematic::test_longdouble_norm - AssertionError:
======= 2 failed, 10259 passed, 68 skipped, 180 deselected, 20 xfailed, 3 warnings in 93.27s (0:01:33) =======
_______________________ TestNorm_NonSystematic.test_longdouble_norm _______________________
self = <numpy.linalg.tests.test_linalg.TestNorm_NonSystematic object at 0x14626eb3f4f0>

    def test_longdouble_norm(self):
        # Non-regression test: p-norm of longdouble would previously raise
        # UnboundLocalError.
        x = np.arange(10, dtype=np.longdouble)
>       old_assert_almost_equal(norm(x, ord=3), 12.65, decimal=2)
E       AssertionError:
E       Arrays are not almost equal to 2 decimals
E        ACTUAL: nan
E        DESIRED: 12.65
                                                                                                                                                                                                                                                                                self       = <numpy.linalg.tests.test_linalg.TestNorm_NonSystematic object at 0x14626eb3f4f0>
x          = array([0., 1., 2., 3., 4., 5., 6., 7., 8., 9.], dtype=float128)
/tmp/eb-1fcneklb/tmpdqp6ozjl/lib/python3.8/site-packages/numpy/linalg/tests/test_linalg.py:1506: AssertionError
case       = <LinalgCase: csingle>
exclude    = {'generalized', 'size-0'}
msg        = 'In test case: <LinalgCase: csingle>\n\nTraceback (most recent call last):\n  File "/tmp/eb-1fcneklb/tmpdqp6ozjl/lib/p... decimals\n ACTUAL: array([2.+1.j, 1.+2.j], dtype=complex64)\n DESIRED: array([nan+nanj, nan+nanj], dtype=complex64)\n'
require    = {'square'}
self       = <numpy.linalg.tests.test_linalg.TestSolve object at 0x14626f4b3820>

/tmp/eb-1fcneklb/tmpdqp6ozjl/lib/python3.8/site-packages/numpy/linalg/tests/test_linalg.py:356: AssertionError

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions