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.
But in CentOS 7, LAPACK packages is linked to Netlib BLAS, not OpenBLAS.
As far as I know, in Arch Linux, their team provides such package https://aur.archlinux.org/packages/openblas-lapack/
which provides LAPACK library linked to OpenBLAS.
So I guess it is possible to have such package in CentOS, too.
I know that I can just compile LAPACK + OpenBLAS by myself rather than installing pre-compiled packages, but it would be better to have rpm files instead..
I tried to modify existing RPM Spec file but without success.
Can EPEL team help provide such LAPACK packages linked to OpenBLAS?
Thanks.
C. C. Hsu
On 18 July 2017 at 21:36, Brandon Hsu brandon.hsu@omniwaresoft.com.tw wrote:
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.
But in CentOS 7, LAPACK packages is linked to Netlib BLAS, not OpenBLAS.
As far as I know, in Arch Linux, their team provides such package https://aur.archlinux.org/packages/openblas-lapack/
which provides LAPACK library linked to OpenBLAS.
So I guess it is possible to have such package in CentOS, too.
I know that I can just compile LAPACK + OpenBLAS by myself rather than installing pre-compiled packages, but it would be better to have rpm files instead..
I tried to modify existing RPM Spec file but without success.
Can EPEL team help provide such LAPACK packages linked to OpenBLAS?
Not easily. Because lapack is shipped by RHEL/CentOS in the base OS, we do not provide packages which would overwrite them. What it would require instead is that someone would write a spec file which was parallel or similarly installable with the base lapack. This lapack-openblas would need to be reviewed and built by either the owner of the lapack command or someone who is knows the package well enough not to cause problems with the default lapack. If those steps are done then it could be put in the EPEL package repository.
The owner of the lapack package in Fedora is spot@fedoraproject.org and he would be the person for you to start the conversation with.
[Apologies if this appears twice, but it doesn't seem to have got through.]
Brandon Hsu brandon.hsu-TEftkcFI+2uAmYF/tR2SNU1QfAb4XDUr@public.gmane.org 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.
But in CentOS 7, LAPACK packages is linked to Netlib BLAS, not OpenBLAS.
As far as I know, in Arch Linux, their team provides such package https://aur.archlinux.org/packages/openblas-lapack/
which provides LAPACK library linked to OpenBLAS.
So I guess it is possible to have such package in CentOS, too.
I know that I can just compile LAPACK + OpenBLAS by myself rather than installing pre-compiled packages, but it would be better to have rpm files instead..
The linear algebra situation in RHEl/Fedora is unfortunate, but you can hack around linkage with inefficient BLAS/LAPACK https://loveshack.fedorapeople.org/blas-subversion.html.
Brandon Hsu brandon.hsu@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.
But in CentOS 7, LAPACK packages is linked to Netlib BLAS, not OpenBLAS.
As far as I know, in Arch Linux, their team provides such package https://aur.archlinux.org/packages/openblas-lapack/
which provides LAPACK library linked to OpenBLAS.
So I guess it is possible to have such package in CentOS, too.
I know that I can just compile LAPACK + OpenBLAS by myself rather than installing pre-compiled packages, but it would be better to have rpm files instead..
The linear algebra situation in RHEl/Fedora is unfortunate, but you can hack around linkage with inefficient BLAS/LAPACK https://loveshack.fedorapeople.org/blas-subversion.html.
On 07/24/2017 12:42 PM, Dave Love wrote:
Brandon Hsu brandon.hsu@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).
epel-devel@lists.fedoraproject.org