We recently experimented with bumping SciPy OpenBLAS version used in wheels from a pretty old version (v0.3.20-571-g3dec11c6) to 0.3.26 stable release in scipy/scipy#20215, in the hopes of fixing the reproducer in scipy/scipy#16930, which can be summarized as the following test, which we should perhaps adjust to be a tractable C-level test in this project:
def test_gh_169309():
x = np.repeat(10, 9)
actual = scipy.linalg.blas.dnrm2(x, 5, 3, -1)
expected = math.sqrt(500)
assert_allclose(actual, expected)
Bumping to 0.3.26 appeared to fix the issue on x86_64 Linux, but not on some other platforms, including MacOS ARM and Linux aarch64. In both cases, looks like actual ends up as 0..
I could probably help draft in the regression test if you tell me where to put it, but I'm unlikely to have the expertise to provide the fix.
We recently experimented with bumping SciPy OpenBLAS version used in wheels from a pretty old version (
v0.3.20-571-g3dec11c6) to0.3.26stable release in scipy/scipy#20215, in the hopes of fixing the reproducer in scipy/scipy#16930, which can be summarized as the following test, which we should perhaps adjust to be a tractable C-level test in this project:Bumping to
0.3.26appeared to fix the issue on x86_64 Linux, but not on some other platforms, including MacOS ARM and Linuxaarch64. In both cases, looks likeactualends up as0..I could probably help draft in the regression test if you tell me where to put it, but I'm unlikely to have the expertise to provide the fix.