On 07/24/2017 12:42 PM, Dave Love wrote:
Brandon Hsu
<brandon.hsu(a)omniwaresoft.com.tw> writes:
> Hi,
>
> I try to compile and install some programs in CentOS 7 which depends on
> LAPACK.
>
> I hope to use LAPACK linked to OpenBLAS, which gives better performance
> compared to Reference BLAS.
OpenBLAS provides its own LAPACK, which has some optimizations and is
probably more recent than RHEl's -- I haven't checked. You can just
link against that, and the EPEL OB rpms are recent.
Exactly. No need to link LAPACK to OpenBLAS, because the OpenBLAS
library already contains LAPACK. Instead of linking to e.g.
-llapack -lblas
you just link to -lopenblas or one of the other flavors we ship (32-bit
vs 64-bit integers, sequential or parallel).
--
Susi Lehtola
Fedora Project Contributor
jussilehtola(a)fedoraproject.org