1 |
Adam Piątyszek wrote: |
2 |
> One more problem related to the new eselect modules from your overlay. I |
3 |
> have blas-atlas and lapack-atlas libraries selected using an old |
4 |
> blas-config and lapack-config mechanism: |
5 |
> |
6 |
> lespaul ~ # blas-config -p |
7 |
> |
8 |
> Current profiles: |
9 |
> F77 BLAS: /usr/lib/blas/f77-ATLAS |
10 |
> C BLAS: /usr/lib/blas/c-ATLAS |
11 |
> |
12 |
> lespaul ~ # lapack-config -p |
13 |
> |
14 |
> Current profile: |
15 |
> F77 LAPACK: /usr/lib/lapack/f77-ATLAS |
16 |
> |
17 |
> And after merging your updated eselect modules and *-reference packages, I |
18 |
> can not switch to them using neither eselect nor blas/lapack-config: |
19 |
> |
20 |
> lespaul ~ # eselect lapack set reference |
21 |
> Implementation "reference" already active for libdir "lib"! |
22 |
> Failed to switch to implementation "reference" for libdir "lib"! |
23 |
> !!! Error: One or more actions have failed! |
24 |
> exiting. |
25 |
> |
26 |
> Eselect shows that current lapack and blas are the reference ones: |
27 |
> |
28 |
> lespaul ~ # eselect lapack show |
29 |
> reference |
30 |
> |
31 |
> However, this is not true: |
32 |
> |
33 |
> lespaul ~ # ls -l /usr/lib/liblapack.* |
34 |
> lrwxrwxrwx 1 root root 24 maj 28 17:20 /usr/lib/liblapack.a -> |
35 |
> lapack/atlas/liblapack.a |
36 |
> lrwxrwxrwx 1 root root 25 maj 28 17:20 /usr/lib/liblapack.so -> |
37 |
> lapack/atlas/liblapack.so |
38 |
> lrwxrwxrwx 1 root root 27 maj 28 17:20 /usr/lib/liblapack.so.0 -> |
39 |
> lapack/atlas/liblapack.so.0 |
40 |
> |
41 |
> Is it a bug? |
42 |
|
43 |
This problem should only happen when you first use the eselect version, |
44 |
then switch back to the *-config version, then switch to the eselect |
45 |
version again. I don't consider it a real bug, because of this. |
46 |
|
47 |
The deal is that /etc/env.d/lapack/config will specify the |
48 |
CURRENT="$foo" setting, but it can't know about how things are set up |
49 |
using *-config rather than the eselect modules. |
50 |
|
51 |
Thanks, |
52 |
Donnie |