Open ArchangeGabriel opened 2 years ago
Swapping from gcc to clang and the tests than pass. I verified the same four tests fails on my system using gcc 11.2.0.
We've recently had some issues with SIMD instructions seeming incorrect in certain compilers, which sounds like this might be related to. (See https://github.com/apache/arrow/pull/12422#issuecomment-1039523955). Stumped us so far, but I think we are still looking into it. cc @rok @jonkeane
Adding any of -mno-sse
-mno-sse2
-mno-sse3
to CXXFLAGS and the tests pass.
Replacing -DARROW_SIMD_LEVEL=AVX2
with -DARROW_SIMD_LEVEL=NONE -DARROW_RUNTIME_SIMD_LEVEL=AVX512
and the tests also pass.
This is all on an AMD system that supports up to avx2.
I confirm the problem on my machine. With -DARROW_SIMD_LEVEL=AVX2 all test was failed. With -DARROW_SIMD_LEVEL=SSE4_2 the 54th test 'arrow-flight-test' failed and all other tests passed.
As I understand my CPU does not support AVX2 instructions and that was the main problem. But the test 'arrow-flight-test' is not related to that, anyway I also append Log of that test.
Hmm, it's a pity that we're not displaying the actual values being compared on failure. It's possible that the test failures are simply due to floating-point accuracy. But ideally the tests should be improved to take that into account. @cyb70289 You might want to take a look. (but @wjones127 perhaps you also want to take a deeper look and suggest improvements/fixes, especially if you manage to reproduce?)
@erydit The GDAL is issue is unrelated, please let's not conflate these.
Also, the fact that Arrow doesn't work on an AVX2 CPU if compiled with AVX2 enabled is entirely expected. It is not a bug.
While building for Arch Linux, I’m observing 4 tests failures in the aforementioned suite:
They are also happening with 6.0.1, but were not sometime ago so I suspect an update in some of arrow dependencies to be responsible for this. I’m happy to provide any information that could be useful, but I don’t want to create an account on JIRA, I try to limit the number of accounts I have everywhere.