Gentoo Archives: gentoo-science

From: jody <jody.xha@×××××.com>
To: gentoo-science@l.g.o
Subject: [gentoo-science] Fwd: sci-lib/atlas, static libraries, cblas, lapack
Date: Mon, 02 Sep 2013 07:05:01
Message-Id: CAKbzMGdcSE7zfcYO7XVQBihprxxpHx_uMUTHdS7g5z4LACAGag@mail.gmail.com
Hi
I have successfully installed sci-libs/atlas from the science overlay.

Now there are some points which are somewhat unclear.
I have been redirected here from the gentoo forum.

1. cblas implementation
Even though
 # eselect cblas list
Available providers for cblas:
  [1]   atlas *
  [2]   atlas-threads

all cblas libraries are pointing to gsl implementations:
 ls -l /usr/lib64/libcblas.*
lrwxrwxrwx 1 root root 13 Aug 20 10:54 /usr/lib64/libcblas.a ->
libgslcblas.a
lrwxrwxrwx 1 root root 14 Aug 20 10:54 /usr/lib64/libcblas.so ->
libgslcblas.so
lrwxrwxrwx 1 root root 16 Aug 20 10:54 /usr/lib64/libcblas.so.0 ->
libgslcblas.so.0

Shouldn't the '/usr/lib64/libcblas.so' point to '/usr/lib64/libatlcblas.so'
etc.?


2. static libs for cblas
The installation of sci-libs/atlas did not create any static libs:
  ls -l /usr/lib64/libatl*
lrwxrwxrwx 1 root root      13 Aug 22 09:11 /usr/lib64/libatlas.so ->
libatlas.so.3
-rwxr-xr-x 1 root root 5961968 Aug 22 09:11 /usr/lib64/libatlas.so.3
lrwxrwxrwx 1 root root      16 Aug 22 09:11 /usr/lib64/libatlcblas.so ->
libatlcblas.so.3
-rwxr-xr-x 1 root root  142504 Aug 22 09:11 /usr/lib64/libatlcblas.so.3

And i have at least one 3rd party code which requires the cblas libraries
to be linked statically.


3. eselect lapack
I found that 'app-admin/eselect-lapack' is blocking 'sci-libs/atlas',
but atlas did not pull in eselect for lapack:
  # eselect lapack list
!!! Error: Can't load module lapack
exiting
eselect-cblas is also blocking 'sci-libs/atlas', but apparently atlas pulls
in eselect for cblas.

4. Shouldn't there also be a lapack implementation from atlas?

Could somebody clarify or help out?
Jody

Replies

Subject Author
Re: [gentoo-science] Fwd: sci-lib/atlas, static libraries, cblas, lapack "François Bissey" <fbissey@××××××××××××.nz>