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: Mon, 17 Oct 2016 20:40:32
Message-Id: 1F1236FE-C7C5-43E1-AC70-5AAE3DC83419@slingshot.co.nz
In Reply to: Re: [gentoo-science] [sage-on-gentoo] Sage 7.3 crashes by Steven Trogdon
1 > On 18/10/2016, at 09:35, Steven Trogdon <strogdon@×××××.edu> wrote:
2 >
3 > On Tue, 18 Oct 2016 09:11:59 +1300
4 > François Bissey <frp.bissey@×××××.com> wrote:
5 >
6 >> On 18/10/16 06:10, v_2e@×××.net wrote:
7 >>> Hello!
8 >>>
9 >>> On Mon, 17 Oct 2016 21:55:18 +1300
10 >>> François Bissey <frp.bissey@×××××.com> wrote:
11 >>>
12 >>>> OK so I checked on my other machine. liblinbox.so should have been
13 >>>> linked to (c)blas and so should have matrix_modn_dense_float.so
14 >>>> independently. Because you didn’t get any complaints from ldd
15 >>>> on liblinbox.so I’ll assume that it was missing/not properly
16 >>>> detected when linbox was built. The way matrix_modn_dense_float.so
17 >>>> is built also suggest that cblas was missing when built.
18 >>>>
19 >>>> What does
20 >>>> pkg-config —libs cblas
21 >>>> pkg-config —libs blas
22 >>>> pkg-config —libs lapack
23 >>>> report?
24 >>>>
25 >>> $ pkg-config --libs cblas
26 >>> -lgsl
27 >>>
28 >>> $ pkg-config --libs blas
29 >>> -lblas
30 >>>
31 >>> $ pkg-config --libs lapack
32 >>> -lreflapack -lblas
33 >>>
34 >>
35 >> Smells like a system using the main tree blas/lapack rather
36 >> than the science overlay. I may have to enforce something
37 >> there. Anyway those are very strange answers nonetheless.
38 >> I would expect "-lgslcblas" not "-lgsl". If you have
39 >> "-lreflapack" what blas are you using if not "refblas"?
40 >> So does /usr/lib64/libgslcblas.so exist on your system?
41 >> Is /usr/lib64/libblas.so a dangling symlink (point to nothing)?
42 >>
43 >> Francois
44 >>
45 >>
46 >
47 > OK, the blas does appear to be perhaps dangling, but the the cblas looks like
48 > what was reported at https://github.com/cschwan/sage-on-gentoo/issues/429.
49
50 Good point Steve! I had forgotten about that. And since no one seems
51 to care about https://github.com/gentoo-science/sci/pull/638
52 It is likely to stay that way unless I include it in the sage-on-gentoo
53 overlay.
54
55 Remember folks, gsl from the science overlay is broken.
56
57 François