Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2020 14:34:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244296] math/openblas: Need to resolve conflicts with cblas and lapacke
Message-ID:  <bug-244296-7788-de2RdM8zOX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244296-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244296-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244296

--- Comment #2 from Jason W. Bacon <jwb@freebsd.org> ---
(In reply to Thierry Thomas from comment #1)

I think that would be a good idea, though there will always be a need to al=
low
different BLAS/LAPACK implementations to coexist.  For instance, plink2
(https://github.com/outpaddling/freebsd-ports-wip/tree/master/plink2) curre=
ntly
crashes when linked with openblas but works fine with netlib.  Since BLAS is
not a bottleneck for this program, there's no reason not to make it availab=
le
using netlib (which is slow) while we try to diagnose the issue with openbl=
as.

While the various implementations are meant to be fully compatible, the rea=
lity
is that there will always be bugs and minor differences.  Allowing users to
work around them by using another implementation for a while will keep them
happy and productive with FreeBSD.

I was planning to save this for a separate conversation, but since we're on=
 the
subject of systemic solutions, I'm preparing to commit the work of T. Orgis=
 on
an interchangeable BLAS interface for pkgsrc:

https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=3Dpkgsrc-wip.git;a=3Dblob;f=3Dm=
k/blas.buildlink3.mk;h=3De09d41644b7d6e3eb183b03b8a40604ef632efe4;hb=3DHEAD

This system allows the sysadmin to specify one or more preferred BLAS
implementations in mk.conf (equiv to make.conf on FreeBSD) and also allows =
the
package maintainer to specify which implementations are acceptable in the
package Makefile.

After some extensive discussion, we ended up with a pretty elegant and flex=
ible
solution.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244296-7788-de2RdM8zOX>