Gentoo Archives: gentoo-science

From: Thomas Kahle <tomka@g.o>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] is numpy using the old lapack interface?
Date: Sat, 01 Dec 2012 03:03:13
Message-Id: 20121201022758.GU9183@schlaumatte
In Reply to: Re: [gentoo-science] is numpy using the old lapack interface? by fbissey@slingshot.co.nz
1 On 12:06 Fri 02 Nov 2012, fbissey@××××××××××××.nz wrote:
2 > Quoting Thomas Kahle <tomka@g.o>:
3 >
4 > > On 09:42 Thu 01 Nov 2012, fbissey@××××××××××××.nz wrote:
5 > >> Quoting Thomas Kahle <tomka@g.o>:
6 > >>
7 > >> > One more thing, This is fixed in 1.6 tree of numpy, where the
8 > >> > call to gfortran uses what is in the site config.
9 > >> > Will sage move to a higher version of numpy at some point?
10 > >> >
11 > >> >
12 > >> Yes! The problem that prevent us to upgrade numpy is fixed in numpy-1.7. The
13 > >> release cannot come quickly enough for us.
14 > >
15 > > OK. Any idea when this will happen?
16 > >
17 > >> For numpy 1.5 would by any chance gfortran be called with -fexternal-blas at
18 > >> some point?
19 > >
20 > > Can't find '-fexternal' in build.log.
21 > >
22 > >> On my system with python 3.2 lapack was not properly detected,
23 > >> that's why dotblas hasn't been built. Numpy 1.5.1 with python 3.2 used an
24 > >> internal implementation of the lapack functions it uses.
25 > >>
26 > >> This probably explains why scipy doesn't compile with numpy 1.5 and
27 > >> python 3.2.
28 > >
29 > > And this where all this started for me ...
30 > >
31 > > Anyway, the solution of my broken numpy,scipy is to wait for 1.7 or
32 > > rollback to a reference-lapack that installs itself as liblapack?
33 > >
34 >
35 > If you don't use numpy with python 3.x you could simply create a file
36 > /etc/portage/env/dev-python/numpy with USE_PYTHON="2.7" in it.
37 > That would skip the offending problem quite nicely without locking you
38 > in a particular blas implementation.
39
40 Do you have a reference for your method? It does not work for me.
41 Instead in /etc/portage/env/ I have a file nopy3k.conf which contains
42 just USE_PYTHON="2.7". Then in /etc/portage/package.env I configure
43
44 dev-python/numpy nopy3k.conf
45
46 Cheers,
47 Thomas
48
49
50 --
51 Thomas Kahle
52 http://dev.gentoo.org/~tomka/

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-science] is numpy using the old lapack interface? Francois Bissey <fbissey@××××××××××××.nz>