Closed bchretien closed 11 years ago
On ubuntu the "blas" library exists and it does symlink to an highly optimized BLAS implementation, typically either OpenBLAS or other implementations like ATLAS.
If you link with gslcblas the performance in operations like big matrix multiplication are quite slow. The gslcblas is just a reference implementation.
If you are preparing a package for the ARCH distribution I'm wondering if OpenBLAS is available and in which form and if a generic blas library is available.
Indeed, I saw this error while making an AUR package for the Git version: https://aur.archlinux.org/packages/gsl-shell-git/
OpenBLAS is available in AUR. If the performance gain is really important, I guess I could make a more complicated PKGBUILD which will add -lgslcblas
only if OpenBLAS is not installed. atlas-lapack is available in AUR as well.
Also, you may see a patch for truetype font support on Arch Linux in the AUR package.
Hi Benjamin,
on Debian system -lblas works fine out of the box.
Do you have a solution on Arch linux to avoid linking explicitly to gslcblas ? Should I consider this still an open issue ?
Francesco
I will look into it as soon as I can. Note that I can handle these linking issues directly into the PKGBUILD script, which might be the best solution.
Since another AUR user reported the issue to me, I finally modified the PKGBUILD with an extra patch for makepkages. I guess we can close the issue now.
Compilation failed with undefined reference to
cblas...
errors.