Detection of BLAS library ?

64 views
Skip to first unread message

sajids...@u.northwestern.edu

unread,
Jul 27, 2019, 7:14:40 PM7/27/19
to libflame-discuss
Hi libflame developers,

I was looking at the configure scripts and wondering how libflame configure decides which blas library to use (in the case when I have multiple BLAS implementations installed). Can I specify the location of BLAS I want it to link against for deterministic builds ?


Thank You,
Sajid Ali
Applied Physics
Northwestern University

Field G. Van Zee

unread,
Jul 29, 2019, 4:45:11 PM7/29/19
to libflame...@googlegroups.com
Hi Sajid,

libflame's configure script doesn't actually decide which BLAS library
to use, because libflame (generally speaking) doesn't provide a BLAS
library*. The choice of which BLAS library to use is made by the
end-user when linking his/her application.

Field

*There is one exception to this, which is when libflame is configured to
be compiled with built-in BLAS, but almost nobody should ever be doing
this anyway because it will result in ultra-low performance in that BLAS
code. You should almost always use an optimized BLAS or BLAS-like
library such as BLIS [1].

[1] https://github.com/flame/blis
> --
> You received this message because you are subscribed to the Google
> Groups "libflame-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to libflame-discu...@googlegroups.com
> <mailto:libflame-discu...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/libflame-discuss/08a233bf-c26c-44bf-b686-07df2c6d2102%40googlegroups.com
> <https://groups.google.com/d/msgid/libflame-discuss/08a233bf-c26c-44bf-b686-07df2c6d2102%40googlegroups.com?utm_medium=email&utm_source=footer>.

sajids...@u.northwestern.edu

unread,
Jul 31, 2019, 9:45:32 AM7/31/19
to libflame-discuss
Hi Field,

Thanks for the info!

Reply all
Reply to author
Forward
0 new messages