Bug 1618944 - ergo: use openblas instead of atlas
Summary: ergo: use openblas instead of atlas
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ergo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susi Lehtola
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1506952
TreeView+ depends on / blocked
 
Reported: 2018-08-18 17:02 UTC by Dominik 'Rathann' Mierzejewski
Modified: 2018-08-21 18:57 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-08-19 09:05:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dominik 'Rathann' Mierzejewski 2018-08-18 17:02:26 UTC
Description of problem:
Please BuildRequire: openblas instead of atlas where available (x86_64 %{ix86} armv7hl %{power64} aarch64 s390x, see %{openblas_arches} macro defined in openblas-srpm-macros package). Currently, it's available on all primary Fedora arches, so you can technically skip using the macro.

Version-Release number of selected component (if applicable):
ergo-3.7-2.fc29

Additional information:
OpenBLAS selects best code path for the target architecture at runtime unlike ATLAS.

A lot of benchmarks around the net suggest openblas is faster than ATLAS in most workloads:
https://github.com/tmolteno/necpp/issues/18
http://blog.nguyenvq.com/blog/2014/11/10/optimized-r-and-python-standard-blas-vs-atlas-vs-openblas-vs-mkl/
https://freddie.witherden.org/pages/blas-gemm-bench/
http://nghiaho.com/?p=1726

Many Fedora packages have switched to openblas already (e.g. scalapack and all dependent ones and numpy).

Comment 1 Susi Lehtola 2018-08-19 09:05:56 UTC
It used to be OpenBLAS. But the tests fail with it.

Comment 2 Dominik 'Rathann' Mierzejewski 2018-08-19 20:53:20 UTC
Have you reported the failures upstream? What did upstream say?

Comment 3 Susi Lehtola 2018-08-21 09:16:18 UTC
Upstream told me to use some other BLAS library than OpenBLAS and that made the problems go away.

Comment 4 Susi Lehtola 2018-08-21 18:57:01 UTC
As the maintainer of OpenBLAS I'm not sure I agree with the push, since OpenBLAS is *not* as stable as one would hope. There's constantly problems on some processor model with incorrect results, and upstream also makes large changes with insufficient testing, that then blow up in Fedora. Like the recent update to 0.3.2...


Note You need to log in before you can comment on or make changes to this bug.