-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect results on Intel Xeon Gold 6448H due to OpenBLAS <0.3.21 #836
Comments
@brisk022 Is there a related issue at https://github.com/OpenMathLib/OpenBLAS? |
Unfortunately, I did not find anything that would look related. However, I do not know hardware specifications very well. So, I might have missed the obvious. |
I can reproduce on a different Sapphire Rapids model. Setting the environment variable |
@nathanweeks Great find! |
FWIW this issue is reproducible on rocker/r-ver:4.2.2 (Ubuntu 22.04 / OpenBLAS 0.3.20 / gcc 11.4.0), but rocker/r-ver:4.2.1 (Ubuntu 20.04 / OpenBLAS 0.3.8 / gcc 9.4.0) is not affected. |
rocker/r-ver:4.4.1 is affected by this issue, but rocker/o-ver:4.4.2 (Ubuntu 24.04 / OpenBLAS 0.3.26) is not. |
Container image name
All images with openblas 0.3.20 e.g. rocker/r-ver:4.4.0
Container image digest
No response
What operating system are you seeing the problem on?
Linux
System information
The problem appears only on Intel Xeon Gold 6448H. Older Intel CPUs as well as AMD CPUs seem to be unaffected.
Bug description
The upcoming switch to ubuntu 24 should fix this bug as openblas >=0.3.21 works fine. However, I decided to report it because the problem is rather egregious. All the calculations complete without any error messages but the results are wrong. The root problem is also very hard to find. We have a heterogeneous cluster and a user reported occasional problems with PCA results in seurat.
How to reproduce this bug?
The following code is taken from the R test suite.
It should produce
On Intel Xeon Gold 6448H, it produces
The text was updated successfully, but these errors were encountered: