1 |
Hi guys, |
2 |
|
3 |
I successfully emerged dev-python/numpy-1.3.0 and |
4 |
dev-python/scipy-0.7.0 but only with a lot of re-working of |
5 |
blas/cblas/lapack to work with eselect properly. Without this, |
6 |
numpy/scipy will fail or link incorrectly to /usr/lib/ libraries. I |
7 |
wanted to share this to help other users and recommend the following |
8 |
changes to the prefix overlay: |
9 |
|
10 |
* unmask and patch sci-libs/cblas-reference |
11 |
* patch sci-libs/blas-reference |
12 |
* patch sci-libs/lapack-reference |
13 |
(see gentoo bug #277849 for patches) |
14 |
* unmask virtual/cblas (required by scipy and numpy w/ USE=lapack) |
15 |
|
16 |
to emerge scipy I still needed to point to the BLAS/LAPACK libraries |
17 |
$ env BLAS=${EPREFIX}/usr/lib LAPACK=${EPREFIX}/usr/lib emerge scipy |
18 |
|
19 |
or else the scipy build fails with warnings.warn(BlasNotFoundError.__doc__) |
20 |
|
21 |
On Sun, Jul 12, 2009 at 4:49 PM, Aaron Wilson<tallest@×××××.com> wrote: |
22 |
> I've installed goto-blas, cblas-reference, and lapack-reference by pulling |
23 |
> the ebuilds into my overlay. I did not install virtual/cblas, and I do not |
24 |
> use any of the eselct packages (they're installed, but 'eselect blas list' |
25 |
> gives nothing). It would be nice to have these features working, perhaps |
26 |
> I'll try to poke around and see what's gong wrong. |
27 |
> |
28 |
> Aaron |
29 |
> |
30 |
> |
31 |
> On Jul 11, 2009, at 11:11 AM, Michael Yang wrote: |
32 |
> |
33 |
>> Hi guys, |
34 |
>> |
35 |
>> I'm trying to install sci-libas/scipy which depends on virtual/cblas |
36 |
>> and virtual/lapack. I noticed that virtual/cblas is not in the prefix |
37 |
>> overlay, so I used ecopy to try to emerge it myself. Emerge was |
38 |
>> successful, but I ran into lapack problems since "eselect blas set 1" |
39 |
>> doesn't seem to be prefix-aware and tries to make symbolic links in |
40 |
>> /usr/lib and /usr/lib/pkgconfig rather than ${EPREFIX}/usr/lib and |
41 |
>> ${EPREFIX}/usr/lib/pkgconfig. See gentoo bug #277447 for more detail. |
42 |
>> |
43 |
>> General question: am I missing something or does the prefix overlay |
44 |
>> not support blas/cblas/atlas yet? |
45 |
>> |
46 |
> |
47 |
> |
48 |
> |