Gentoo Archives: gentoo-science

From: "Bastian Löffler" <Bastian_Loeffler@×××××.de>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] Trouble building scipy-0.14.0 against acml
Date: Mon, 16 Jun 2014 16:04:51
Message-Id: 539F159A.7010705@arcor.de
In Reply to: Re: [gentoo-science] Trouble building scipy-0.14.0 against acml by "François Bissey"
1 Hi,
2
3 this is for lapack:
4
5 pkg-config --libs-only-L lapack
6 -L//opt/acml5.3.1/gfortran64/lib
7
8 cat /usr/lib64/pkgconfig/lapack.pc
9 prefix=//opt/acml5.3.1/gfortran64
10 libdir=${prefix}/lib
11 includedir=${prefix}/include
12 Name: acml-gfortran64
13 Description: AMD Core Math Library for amd64 CPUs
14 Version: 5.3.1
15 URL:
16 http://developer.amd.com/tools/cpu-development/amd-core-math-library-acml/
17 Libs: -L${libdir} -lacml
18 Libs.private: -lm -lrt
19 Cflags: -I${includedir}
20
21 ls -la /usr/lib64/pkgconfig/lapack.pc
22 lrwxrwxrwx 1 root root 77 14. Jan 00:04 /usr/lib64/pkgconfig/lapack.pc
23 ->
24 ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc
25
26 and this is
27
28 pkg-config --libs-only-L cblas blas
29
30 Package cblas was not found in the pkg-config search path.
31 Perhaps you should add the directory containing `cblas.pc'
32 to the PKG_CONFIG_PATH environment variable
33 No package 'cblas' found
34
35 I have no cblas eselected.
36
37 Am 16.06.2014 03:27, schrieb François Bissey:
38 > And
39 > pkg-config --libs-only-L cblas blas
40 > since that's what is actually parsed by the ebuild. Have you
41 > any cblas eselected? If yes which one.
42 >
43 > Francois
44 >
45 > On Mon, 16 Jun 2014 13:19:57 François Bissey wrote:
46 >> Out of curiosity and to jog my brain can you send the equivalent for lapack?
47 >>
48 >> Something is definitely going wrong when the site.cfg is generated.
49 >>
50 >> Francois
51 >>
52 >> On Sun, 15 Jun 2014 23:40:13 Bastian Löffler wrote:
53 >>> pkg-config --libs-only-L blas
54 >>> -L//opt/acml5.3.1/gfortran64/lib
55 >>>
56 >>> cat /usr/lib64/pkgconfig/blas.pc
57 >>> prefix=//opt/acml5.3.1/gfortran64
58 >>> libdir=${prefix}/lib
59 >>> includedir=${prefix}/include
60 >>> Name: acml-gfortran64
61 >>> Description: AMD Core Math Library for amd64 CPUs
62 >>> Version: 5.3.1
63 >>> URL:
64 >>> http://developer.amd.com/tools/cpu-development/amd-core-math-library-acml/
65 >>> Libs: -L${libdir} -lacml
66 >>> Libs.private: -lm -lrt
67 >>> Cflags: -I${includedir}
68 >>>
69 >>> ls -la /usr/lib64/pkgconfig/blas.pc
70 >>> lrwxrwxrwx 1 root root 73 14. Jan 00:04 /usr/lib64/pkgconfig/blas.pc ->
71 >>> ../../../etc/env.d/alternatives/blas/_current/usr/lib64/pkgconfig/blas.pc
72 >>>
73 >>> Am 15.06.2014 23:32, schrieb François Bissey:
74 >>>> OK so it looks sane, let's do some more sanity check as in the email
75 >>>> I linked:
76 >>>> pkg-config --libs-only-L blas
77 >>>> cat /usr/lib64/pkgconfig/blas.pc
78 >>>> ls -la /usr/lib64/pkgconfig/blas.pc
79 >>>>
80 >>>> On Sun, 15 Jun 2014 23:30:22 Bastian Löffler wrote:
81 >>>>> Well of course i checked that:
82 >>>>>
83 >>>>> eselect blas list
84 >>>>>
85 >>>>> Available providers for blas:
86 >>>>> [1] acml-gfortran64 *
87 >>>>> [2] acml-gfortran64-openmp
88 >>>>> [3] eigen
89 >>>>> [4] reference
90 >>>>>
91 >>>>> SO my blas is acml-gfortran64.
92 >
93 >

Replies

Subject Author
Re: [gentoo-science] Trouble building scipy-0.14.0 against acml "François Bissey" <frp.bissey@×××××.com>