Gentoo Archives: gentoo-science

From: "François Bissey" <frp.bissey@×××××.com>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] Sage 7.3 crashes
Date: Tue, 18 Oct 2016 07:53:08
Message-Id: 6444A4AD-E71C-4284-9FB1-837FDD8E0CBB@gmail.com
In Reply to: Re: [gentoo-science] [sage-on-gentoo] Sage 7.3 crashes by v_2e@ukr.net
1 I don’t think your situation is possible without mixing stuff
2 from the main tree (blas) and the science overlay. I didn’t even
3 realise you could mix, but I don’t think that is sane.
4 gsl from the science overlay is unfortunately not in a good shape
5 and I don’t recommend to use it as cblas.
6
7 Unless there are particular reasons for not doing so, I would recommend
8 that you use openblas from the science overlay for both blas and cblas.
9 The following useflags for openblas are sane:
10 “int64 threads -openmp”
11 You’ll want to re-emerge lapack-reference once openblas is eselected.
12 For sanity.
13
14 François
15
16 > On 18/10/2016, at 20:43, v_2e@×××.net wrote:
17 >
18 > On Tue, 18 Oct 2016 09:11:59 +1300
19 > François Bissey <frp.bissey@×××××.com> wrote:
20 >
21 >> ... If you have
22 >> "-lreflapack" what blas are you using if not "refblas"?
23 >> So does /usr/lib64/libgslcblas.so exist on your system?
24 >> Is /usr/lib64/libblas.so a dangling symlink (point to nothing)?
25 >>
26 > Here is the output:
27 >
28 > $ eselect blas list
29 > Available providers for blas:
30 > [1] reference *
31 >
32 > $ ls -l /usr/lib64/libgslcblas.so
33 > lrwxrwxrwx 1 root root 20 бер 28 2016 /usr/lib64/libgslcblas.so -> libgslcblas.so.0.0.0
34 > $ ls -l /usr/lib64/libgslcblas.so.0.0.0
35 > -rwxr-xr-x 1 root root 251720 бер 28 2016 /usr/lib64/libgslcblas.so.0.0.0
36 >
37 > $ ls -l /usr/lib64/libblas.so
38 > lrwxrwxrwx 1 root root 12 гру 15 2015 /usr/lib64/libblas.so -> libblas.so.3
39 > $ ls -l /usr/lib64/libblas.so.3
40 > lrwxrwxrwx 1 root root 16 гру 15 2015 /usr/lib64/libblas.so.3 -> libblas.so.3.6.0
41 > $ ls -l /usr/lib64/libblas.so.3.6.0
42 > -rwxr-xr-x 1 root root 362384 гру 15 2015 /usr/lib64/libblas.so.3.6.0
43 >
44 >
45 > So both files do exist.
46 > As of the GSL, it looks like on my system it is installed from 'science' overlay:
47 >
48 > $ emerge -vp gsl
49 > [ebuild R ] sci-libs/gsl-2.1:0/19::science USE="-cblas-external -int64 -static-libs" ABI_X86="(64) -32" 0 KiB
50 >
51 > Should I install the GSL from the main Portage tree instead?
52 > Vladimir
53 > -----
54 > <v_2e@×××.net>
55 >