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. > > Btw if openblas is added, wouldn???t lapack also have to be replaced as well? > And not just blas?
Yes, lapack could be replaced as well. The standard build of OpenBLAS will contain all functions (including BLAS and LAPACK) in a single libopenblas.so file that may have to be symlinked to the libblas, liblapack names for compatibility with other programs if we want to switch implementations at will. > > On Dec 18, 2021, at 6:59 AM, Stuart Henderson <s...@spacehopper.org> 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 <raf...@sizeofvoid.org> 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? > >