Gentoo Archives: gentoo-science

From: Francois Bissey <fbissey@××××××××××××.nz>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] blas/lapack stuff
Date: Sat, 27 Oct 2012 09:02:35
Message-Id: 508BA04C.1060407@slingshot.co.nz
In Reply to: Re: [gentoo-science] blas/lapack stuff by Thomas Kahle
1 On 27/10/12 10:53, Thomas Kahle wrote:
2 > On 17:10 Wed 10 Oct 2012, justin wrote:
3 > [..]
4 >
5 >>> Calculating dependencies... done!
6 >>> [ebuild N ] app-admin/eselect-lapack-0.1 0 kB
7 >>> [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack"
8 >>> is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218,
9 >>> sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0,
10 >>> sci-libs/lapack-reference-3.3.1-r1)
11 >>>
12 >>> Total: 1 package (1 new), Size of downloads: 0 kB
13 >>> Conflict: 1 block (1 unsatisfied)
14 >>>
15 >>> * Error: The above package list contains packages which cannot be
16 >>> * installed at the same time on the same system.
17 >>>
18 >>> (sci-libs/cblas-reference-20110218::science, installed) pulled in by
19 >>> sci-libs/cblas-reference required by @selected
20 >>>
21 >>> (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge)
22 >>> pulled in by
23 >>> eselect-lapack
24 >>>
25 >>> (sci-libs/atlas-3.10.0::science, installed) pulled in by
26 >>> sci-libs/atlas required by @selected
27 >>>
28 >>>
29 >
30 >> do you have the eselect version from the sci overlay installed? Only
31 >> that one is able to eslect blas for you correctly.
32 >
33 > I'm using this eselect version and I have lapack reference-3.4.2
34 > installed and eselected. Still I get:
35 >
36 > # pkg-config --libs lapack
37 > Package lapack was not found in the pkg-config search path.
38 > Perhaps you should add the directory containing `lapack.pc'
39 > to the PKG_CONFIG_PATH environment variable
40 > No package 'lapack' found
41 >
42 > Which makes packages depending on lapack checks during configure fail.
43 >
44 > Any ideas
45 >
46
47 First of, supposing you are on amd64, does
48 /usr/lib64/pkgconfig/lapack.pc
49 exist? It should be a link pointing to
50 ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc
51 itself a link to /usr/lib64/pkgconfig/reflapack.pc
52 It is possible that some of these links have not been created properly.
53 There used to be bug about it on prefix (I don't know if anyone improved
54 my prefix bandaid). There is also the possibility that remnant from the
55 non-sci overlay mechanism interfere.
56
57 Francois

Replies

Subject Author
Re: [gentoo-science] blas/lapack stuff Thomas Kahle <tomka@g.o>