Bug 1878449
Summary: | cblas_zdotc_sub returns incorrect results on ppc64le | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Elliott Sales de Andrade <quantum.analyst> | ||||
Component: | openblas | Assignee: | Susi Lehtola <susi.lehtola> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | susi.lehtola | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | ppc64le | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | openblas-0.3.10-6.fc31 openblas-0.3.10-6.fc32 openblas-0.3.10-6.fc33 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-09-27 01:05:03 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Reported upstream at https://github.com/xianyi/OpenBLAS/issues/2837 Since there's a difference in the GCC version, this might also be a compiler bug. FEDORA-2020-24494f58a6 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-24494f58a6 FEDORA-2020-717dfe4ee8 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-717dfe4ee8 FEDORA-2020-717dfe4ee8 has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-717dfe4ee8` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-717dfe4ee8 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-24494f58a6 has been pushed to the Fedora 31 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-24494f58a6` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-24494f58a6 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-c83d83368e has been pushed to the Fedora 32 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c83d83368e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c83d83368e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2020-24494f58a6 has been pushed to the Fedora 31 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-c83d83368e has been pushed to the Fedora 32 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2020-717dfe4ee8 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. |
Created attachment 1714660 [details] Test program demonstrating the issue I am trying to figure out why python-dask fails when built on ppc64le. I have traced the test failure back to NumPy and then to OpenBLAS in Fedora. I have not been successful in reproducing with upstream OpenBLAS, so possibly this has to do with some specific compiler flags used in the package build. The attached file demonstrates the issue. On working systems (e.g., x86_64, any release), the two printed result should be complex conjugates. On ppc64le (>=32, *not* 31), one result is vastly different from the other. Version-Release number of selected component (if applicable): openblas-0.3.10-5.fc34.ppc64le openblas-0.3.10-4.fc33.ppc64le openblas-0.3.10-5.fc32.ppc64le but NOT: openblas-0.3.10-5.fc31.ppc64le Steps to Reproduce: $ mock -r $ROOT --install gcc openblas-devel $ mock -r $ROOT --copyin test.c / $ mock -r $ROOT --shell # gcc -o test test.c -I /usr/include/openblas -lopenblas # ./test Actual results: On Fedora 32, 33, Rawhide ppc64le: Result: 1.862562916551286+1.737647909933064j Result: 1.862562916551286-0.179897400206173j Expected results: On Fedora 31 ppc64le or x86_64 (any release): Result: 1.862562916551287+1.917545310139237j Result: 1.862562916551287-1.917545310139237j