From: Paul Garlick <pgarlick@tourbillion-technology.com>
To: guix-devel@gnu.org, ludo@gnu.org
Subject: Re: LAPACK vs. OpenBLAS
Date: Fri, 06 Aug 2021 13:32:59 +0100 [thread overview]
Message-ID: <09853afc81b10c34eeb29332a73a968cbfe41b21.camel@tourbillion-technology.com> (raw)
Hi Ludo,
> A surprisingly large number of packages depend on ‘lapack’:
> Perhaps we could have a lint checker warning against the use of
lapack.
Good idea. Possibly with a helpful message along the lines of 'the
openblas package provides a LAPACK interface'.
I encountered this issue when packaging an optimization package [0]
recently. The build system, cmake, requires a path to the BLAS_LIBRARY
and also a path to the LAPACK_LIBRARY. One can see how the shared
library liblapack.so, provided by the lapack package, could be the
first (but mistaken) choice for the packager.
I notice that Debian [1] use NO_LAPACK=1 as an extra make option for
openblas. This has the effect of generating a liblapack.so file.
For the case of optizelle, the package I was working on, I labelled the
openblas input as "blas/lapack" to make it clear that the package has a
dual purpose.
Best regards,
Paul.
[0] https://hpc.guix.info/package/optizelle
[1] https://sources.debian.org/src/openblas/0.3.13+ds-3/debian/rules/
next reply other threads:[~2021-08-06 12:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-06 12:32 Paul Garlick [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-24 12:55 LAPACK vs. OpenBLAS Ludovic Courtès
2021-06-24 13:58 ` zimoun
2021-06-24 15:00 ` Eric Brown
2021-06-29 14:38 ` Ludovic Courtès
2021-06-29 16:00 ` Eric Brown
2021-06-29 16:13 ` Eric Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09853afc81b10c34eeb29332a73a968cbfe41b21.camel@tourbillion-technology.com \
--to=pgarlick@tourbillion-technology.com \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).