From: Francois Bissey <fbissey@slingshot.co.nz>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] blas/lapack stuff
Date: Sun, 28 Oct 2012 07:27:21 +1300 [thread overview]
Message-ID: <508C2789.4000609@slingshot.co.nz> (raw)
In-Reply-To: <20121027174200.GT13271@schlaumatte>
On 28/10/12 06:42, Thomas Kahle wrote:
> On 21:50 Sat 27 Oct 2012, Francois Bissey wrote:
>> On 27/10/12 10:53, Thomas Kahle wrote:
>>> On 17:10 Wed 10 Oct 2012, justin wrote:
>>> [..]
>>>
>>>>> Calculating dependencies... done!
>>>>> [ebuild N ] app-admin/eselect-lapack-0.1 0 kB
>>>>> [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack"
>>>>> is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218,
>>>>> sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0,
>>>>> sci-libs/lapack-reference-3.3.1-r1)
>>>>>
>>>>> Total: 1 package (1 new), Size of downloads: 0 kB
>>>>> Conflict: 1 block (1 unsatisfied)
>>>>>
>>>>> * Error: The above package list contains packages which cannot be
>>>>> * installed at the same time on the same system.
>>>>>
>>>>> (sci-libs/cblas-reference-20110218::science, installed) pulled in by
>>>>> sci-libs/cblas-reference required by @selected
>>>>>
>>>>> (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge)
>>>>> pulled in by
>>>>> eselect-lapack
>>>>>
>>>>> (sci-libs/atlas-3.10.0::science, installed) pulled in by
>>>>> sci-libs/atlas required by @selected
>>>>>
>>>>>
>>>
>>>> do you have the eselect version from the sci overlay installed? Only
>>>> that one is able to eslect blas for you correctly.
>>>
>>> I'm using this eselect version and I have lapack reference-3.4.2
>>> installed and eselected. Still I get:
>>>
>>> # pkg-config --libs lapack
>>> Package lapack was not found in the pkg-config search path.
>>> Perhaps you should add the directory containing `lapack.pc'
>>> to the PKG_CONFIG_PATH environment variable
>>> No package 'lapack' found
>>>
>>> Which makes packages depending on lapack checks during configure fail.
>>>
>>> Any ideas
>>>
>>
>> First of, supposing you are on amd64, does
>> /usr/lib64/pkgconfig/lapack.pc
>> exist? It should be a link pointing to
>> ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc
>> itself a link to /usr/lib64/pkgconfig/reflapack.pc
>
> Yes, it exists, but no it is a symlink to the wrong pc file:
>
> $ ls -ahl /usr/lib64/pkgconfig/lapack.pc
> lrwxrwxrwx 1 root root 77 Oct 26 15:19 /usr/lib64/pkgconfig/lapack.pc -> ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc
>
So
../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc
is not a symlink to /usr/lib64/pkgconfig/reflapack.pc?
That should be provided by lapack-reference using the alternative2
eclass. /usr/lib64/pkgconfig/lapack.pc is created by eselect.
> Which package is to provide this symlink? It seems that it is a stale
> symlink from before -llapack was renamed to -lreflapack recently?
>
> I'm experimenting with the different implementations, it is entirely
> possible that I'm in some undefined state. Now, how to fix it?
>
yes, you may have to delete some left over files and re-emerge
lapack-reference.
Francois
next prev parent reply other threads:[~2012-10-27 21:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-11 4:42 [gentoo-science] blas/lapack stuff Andrey G. Grozin
2011-10-11 7:43 ` Andrea Arteaga
2011-12-21 10:39 ` [gentoo-science] sci-mathematics/reduce on amd64 Andrey G. Grozin
2011-12-21 11:01 ` Kacper Kowalik
2011-12-21 11:13 ` Miguel de Val-Borro
2011-12-21 13:53 ` Andrey G. Grozin
2011-12-21 14:24 ` Burcin Erocal
2011-12-21 14:57 ` Andrey G. Grozin
2011-12-21 14:35 ` Christopher Schwan
2012-09-26 3:09 ` [gentoo-science] blas/lapack stuff Andrey G. Grozin
2012-09-26 5:52 ` Kacper Kowalik
2012-09-26 11:20 ` Francois Bissey
2012-09-26 14:09 ` Sébastien Fabbro
2012-10-10 12:28 ` denis cohen
2012-10-10 15:10 ` justin
2012-10-26 21:53 ` Thomas Kahle
2012-10-27 8:50 ` Francois Bissey
2012-10-27 17:42 ` Thomas Kahle
2012-10-27 18:27 ` Francois Bissey [this message]
2011-10-11 9:25 ` My Th
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=508C2789.4000609@slingshot.co.nz \
--to=fbissey@slingshot.co.nz \
--cc=gentoo-science@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox