FS#69032 - [openblas] Requires AVX

Attached to Project: Community Packages
Opened by Maxim Terpilowski (maximtrp) - Saturday, 19 December 2020, 15:57 GMT
Last edited by Felix Yan (felixonmars) - Sunday, 20 December 2020, 20:39 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Currently, updating openblas to 0.3.13 causes an error reported upstream here: https://github.com/xianyi/OpenBLAS/issues/3043. It happens due to lack of AVX support by old CPUs.
Openblas should be built (as suggested by @brada4) with TARGET=core2 flag to support old CPUs without AVX instructions.

Additional info:
* package version: 0.3.13
* link to upstream bug report: https://github.com/xianyi/OpenBLAS/issues/3043

Steps to reproduce:
1. Update openblas to 0.3.13.
2. Run the following code in R (with an old CPU):
```
aa <- matrix(rnorm(50*10),ncol=10)
B <- t(aa)%*%aa
eigen(B)
```
This task depends upon

Closed by  Felix Yan (felixonmars)
Sunday, 20 December 2020, 20:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  openblas 0.3.13-2
Comment by Maxim Terpilowski (maximtrp) - Saturday, 19 December 2020, 18:37 GMT
Sorry, "core2" must be uppercase (TARGET=CORE2).

Loading...