[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rocBLAS Reference Library



On Wed, Aug 30, 2023 at 10:44 AM M. Zhou <lumin@debian.org> wrote:
>
> I happen to be the co-maintainer of BLAS/LAPACK debian packages.
>
> Netlib reference BLAS is slow. That's true. And in libraries which seriously
> need high computation performance, we can add the following line in
> debian/control:
>
> Recommends: libopenblas0 | libblis3 | libatlas3-base | libmkl-rt | libblas3,
>
> So that openblas will be installed by default and delivers acceptable performance.
>
> We have three libopenblas0 variants: openmp, pthread, and serial.
> Just pick one that uses a compatible threading library.
>
> libopenblas0-openmp/unstable 0.3.23+ds-3 amd64
> libopenblas0-pthread/unstable,now 0.3.23+ds-3 amd64 [installed,automatic]
> libopenblas0-serial/unstable 0.3.23+ds-3 amd64
> libopenblas0/unstable,now 0.3.23+ds-3 amd64 [installed,automatic]
>
> If the threading library does not matter at all. Then a formal way
> to specify the libopenblas dependency can look like this:
>
>  libopenblas0-pthread | libopenblas0
>
> In this case we will not force the user to install pthread version when
> the user has installed the openmp version manually.
>

I guess some sort of LAPACK/BLAS guide on Debian wiki would be helpful
for both maintainers and users, since may lacks the knowledge of their
differences and how to deal with them in Debian packages.

Cheers,
Aron


Reply to: