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
1 Hi
2 I have successfully installed sci-libs/atlas from the science overlay.
3
4 Now there are some points which are somewhat unclear.
5 I have been redirected here from the gentoo forum.
6
7 1. cblas implementation
8 Even though
9 # eselect cblas list
10 Available providers for cblas:
11 [1] atlas *
12 [2] atlas-threads
13
14 all cblas libraries are pointing to gsl implementations:
15 ls -l /usr/lib64/libcblas.*
16 lrwxrwxrwx 1 root root 13 Aug 20 10:54 /usr/lib64/libcblas.a ->
17 libgslcblas.a
18 lrwxrwxrwx 1 root root 14 Aug 20 10:54 /usr/lib64/libcblas.so ->
19 libgslcblas.so
20 lrwxrwxrwx 1 root root 16 Aug 20 10:54 /usr/lib64/libcblas.so.0 ->
21 libgslcblas.so.0
22
23 Shouldn't the '/usr/lib64/libcblas.so' point to '/usr/lib64/libatlcblas.so'
24 etc.?
25
26
27 2. static libs for cblas
28 The installation of sci-libs/atlas did not create any static libs:
29 ls -l /usr/lib64/libatl*
30 lrwxrwxrwx 1 root root 13 Aug 22 09:11 /usr/lib64/libatlas.so ->
31 libatlas.so.3
32 -rwxr-xr-x 1 root root 5961968 Aug 22 09:11 /usr/lib64/libatlas.so.3
33 lrwxrwxrwx 1 root root 16 Aug 22 09:11 /usr/lib64/libatlcblas.so ->
34 libatlcblas.so.3
35 -rwxr-xr-x 1 root root 142504 Aug 22 09:11 /usr/lib64/libatlcblas.so.3
36
37 And i have at least one 3rd party code which requires the cblas libraries
38 to be linked statically.
39
40
41 3. eselect lapack
42 I found that 'app-admin/eselect-lapack' is blocking 'sci-libs/atlas',
43 but atlas did not pull in eselect for lapack:
44 # eselect lapack list
45 !!! Error: Can't load module lapack
46 exiting
47 eselect-cblas is also blocking 'sci-libs/atlas', but apparently atlas pulls
48 in eselect for cblas.
49
50 4. Shouldn't there also be a lapack implementation from atlas?
51
52 Could somebody clarify or help out?
53 Jody

Replies

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