On Sat, Dec 18, 2021 at 09:28:22AM -0500, Daniel Dickman wrote: > I think that???s an interesting idea. numpy will prefer BLAS libraries in > this order if they???re all present: > > MKL > BLIS > OpenBLAS > ATLAS > BLAS (NetLIB) > So I think it???s a vote for openblas over netlib blas.
It's not only Python world, I can also mention that R and Julia work well with OpenBLAS. And most popular Linux distributions, Conda, Homebrew, etc. ship OpenBLAS. > > Btw if openblas is added, wouldn???t lapack also have to be replaced as well? > And not just blas? there are several configurations possible; indeed, as earlier replies say, the usual setting is to have openblas to have lapack (and cblas) as well as blas all in one library. I don't think any project nowadays would willingly use NetLIB's BLAS instead of OpenBLAS, the speedup is substantial, and the platform coverage very good. ATLAS project is not in a good shape in the past 5-10 years, so we (at sagemath.org) switched to OpenBLAS quite a while ago (we used to use ATLAS). Dima > > > > On Dec 18, 2021, at 6:59 AM, Stuart Henderson <[email protected]> wrote: > > > > ???Would it make sense to replace blas with openblas? > > > > -- > > Sent from a phone, apologies for poor formatting. > > > >> On 17 December 2021 13:43:25 Rafael Sadowski <[email protected]> wrote: > >> > >>> On Fri Dec 17, 2021 at 01:03:30PM +0800, Kevin Lo wrote: > >>> Hi, > >>> > >>> Please find attached a port of the openblas. > >>> > >>> Description: > >>> OpenBLAS is an optimized BLAS (Basic Linear Algebra Subprograms) library > >>> based on GotoBLAS2 1.13 BSD version. > >>> > >>> It's loosely based on the one at openbsd-wip [1]. > >>> I tested on i386, amd64, arm, arm64, and mips64. > >>> > >>> I didn't test on others platforms due to lack of hardware. > >>> If somebody is interested, can you give it a try, check if it works for > >>> you and give some feedback? Thanks. > >>> > >>> [1] https://github.com/jasperla/openbsd-wip/tree/master/math/openblas > >>> > >>> Regards, > >>> Kevin > >> > >> I like to see openblas, I really do. But I think it will be found by > >> many other ports when it is imported. Checkout "This port is required > >> by" from https://www.freshports.org/math/openblas/ > >> > >> That means a bit more work needs to happen here, doesn't it? > >
