Repository navigation
Closed
Labels
2023.06-software.eessi.io2023.06 version of software.eessi.ioaarch64related to Arm 64-bit targets (aarch64)pilot-2023.06testsRelated to software testing
Description
We're seeing a number of failing tests in the numpy test suite on ARM neoverse_v1 in:
=========================== short test summary info ============================
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_identity - AssertionError:
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_ifft[None] - AssertionErr...
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_ifft[backward] - Assertio...
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_ifft[ortho] - AssertionEr...
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_ifft[forward] - Assertion...
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_ifft2 - AssertionError:
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_ifftn - AssertionError:
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_irfft2 - AssertionError:
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_irfftn - AssertionError:
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_all_1d_norm_preserving - ...
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_dtypes[float16] - Asserti...
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_dtypes[float32] - Asserti...
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_dtypes[float64] - Asserti...
FAILED fft/tests/test_pocketfft.py::TestFFT1D::test_dtypes[float128] - Assert...
FAILED polynomial/tests/test_classes.py::test_bad_conditioned_fit[Polynomial]
FAILED polynomial/tests/test_classes.py::test_bad_conditioned_fit[Legendre]
FAILED polynomial/tests/test_classes.py::test_bad_conditioned_fit[Chebyshev]
FAILED polynomial/tests/test_classes.py::test_bad_conditioned_fit[Laguerre]
FAILED polynomial/tests/test_classes.py::test_bad_conditioned_fit[Hermite] - ...
FAILED polynomial/tests/test_classes.py::test_bad_conditioned_fit[HermiteE]
= 20 failed, 14429 passed, 81 skipped, 1253 deselected, 22 xfailed, 79 warnings in 171.82s (0:02:51) =
ignoring failing tests
For now, we've ignored the failure of the following tests, but we'll need to investigate this issue in more detail. Will the test failures of SciPy-bundle pop up in more installs on ARM neoverse_v1 where we also increased the number of accepted test failures for OpenBlas? Or will this result in more problems when installing other software dependant on numpy?
See also:
It did not seem to be a problem however in:
- {2023.06}[foss/2021a] GROMACS v2021.3 #288 which installed Openblas here
Metadata
Metadata
Assignees
Labels
2023.06-software.eessi.io2023.06 version of software.eessi.ioaarch64related to Arm 64-bit targets (aarch64)pilot-2023.06testsRelated to software testing
Activity
boegel commentedon Aug 24, 2023
As discussed with @laraPPr, next steps before looking into reporting this upstream are:
SciPy-bundle/2021.10-foss-2021bthat is now in place in EESSI pilot 2023.06 (see also https://numpy.org/doc/stable/reference/testing.html#running-tests-from-inside-python);SciPy-bundleversions with more recent toolchains, and see if the failing tests persist;SciPy-bundle/2021.05-foss-2021a;laraPPr commentedon Aug 28, 2023
While trying to rerun the tests (numpy.fft.test(verbose=3) and numpy.polynomial.test(verbose=3)) on the neoverse_v1 aws clusters ( c7g.2xlarge and c7g.4xlarge). I found that EESSI was using the neoverse_n1 installs. So it will be difficult to rerun the failing tests of the numpy that is now in place for neoverse_v1 architectures.
boegel commentedon Aug 29, 2023
Hmm, it's worth figuring out why
neoverse_n1is being selected on the Graviton 3 instances, that's sub-optimal, but it's orthogonal to this issue (so let's open a dedicated separate issue for that).You can bypass what archspec thinks is the most suited software substack by setting
$EESSI_SOFTWARE_SUBDIR_OVERRIDEbefore running the EESSI init script:laraPPr commentedon Aug 29, 2023
Where should I open that issue?
laraPPr commentedon Aug 29, 2023
numpy.fft.test(verbose=3)
Details
c
laraPPr commentedon Aug 29, 2023
numpy.polynomial.test(verbose=3)
Details
boegel commentedon Aug 29, 2023
Issue on problems with CPU detection should go here in
software-layerrepolaraPPr commentedon Aug 29, 2023
#320
[-]SciPy-bundle test suite failure on ARM neoverse_v1[/-][+]numpy test suite failures on ARM neoverse_v1[/+][-]numpy test suite failures on ARM neoverse_v1[/-][+]numpy/scipy test suite failures on `aarch64/neoverse_v1` (SciPy-bundle)[/+]boegel commentedon Sep 28, 2023
When extending the list of known issues with more info (see PR #340), I noticed that there are also 2 failing tests in the
scipytest suite onaarch64/neoverse_v1forSciPy-bundle/2021.05-foss-2021aand 55 failing tests in
SciPy-bundle/2021.10-foss-2021b:Details
boegel commentedon Sep 30, 2023
With
SciPy-bundle/2022.05-foss-2022a(scipy 1.8.1), we're seeing 18 failing tests onaarch64/neoverse_v1(via PR #346), but for some reason we still get a zero exit code...There are also failing tests for
scipy1.8.1, but the test command is still existing with zero exit code...edit: ah, that's because the
scipyeasyblock auto-enablesignore_test_resultfor scipy < 1.9, because only from 1.9 onwards did we start being a bit more strict on the scipy test suite...Details
boegel commentedon Sep 30, 2023
With
SciPy-bundle/2023.02-gfbf-2022b(scipy 1.10.1), there's suddenly a lot more failing tests onaarch64/neoverse_v1(via PR #3477): 928 (out of 49043)...Details
edit: this should be put in context though, since total tests also went up from 35441 (scipy 1.8.1) to 49043 (scipy 1.10.1)
boegel commentedon Jan 19, 2024
Some more updates here:
For
SciPy-bundle/2023.07-gfbf-2023a+SciPy-bundle/2023.11-gfbf-2023bwe see 2 failing tests onaarch64/neoverse_v1insoftware.eessi.io/versions/2023.06:Details
For
SciPy-bundle/2023.02-gfbf-2022binsoftware.eessi.io/versions/2023.06, we builtnumpywith-march=armv8.4-ainstead of-mcpu=native, to avoid a significant increase in failing tests , see #448 + #419 (comment) .With that change, we see the same 2 failing tests as we do for
SciPy-bundle/2023.07-gfbf-2023a+SciPy-bundle/2023.11-gfbf-2023b.Merge pull request EESSI#318 from trz42/semi_automatic_rebuild_and_gcc
boegel commentedon Jun 26, 2024
For
aarch64/a64fx, we're seeing:SciPy-bundle-2023.11-gfbf-2023b.eb:SciPy-bundle-2023.07-gfbf-2023a.eb:That's in line with what we've seen for
neoverse_v1.ocaisa commentedon Sep 19, 2025
Seems like this is at least stable now, so closing
bedroge commentedon Oct 29, 2025
For SciPy-bundle 2024.05 we're still seeing two failing tests for
neoverse_v1(see #1210 (comment)):And three for
a64fx(see #1210 (comment)):In version 2025.06 all tests succeeded for all CPU targets (see #1269). 🎉