From: "François Bissey" <frp.bissey@gmail.com>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] Trouble building scipy-0.14.0 against acml
Date: Tue, 17 Jun 2014 09:26:53 +1200 [thread overview]
Message-ID: <2358114.aUMdxTSU4C@qcd-nzi3> (raw)
In-Reply-To: <539F159A.7010705@arcor.de>
OK we have a culprit. You need to eselect a cblas.
There is no way that the message you get from
pkg-config --libs-only-L cblas blas
will be parsed to anything useful.
Francois
On Mon, 16 Jun 2014 18:04:42 Bastian Löffler wrote:
> Hi,
>
> this is for lapack:
>
> pkg-config --libs-only-L lapack
> -L//opt/acml5.3.1/gfortran64/lib
>
> cat /usr/lib64/pkgconfig/lapack.pc
> prefix=//opt/acml5.3.1/gfortran64
> libdir=${prefix}/lib
> includedir=${prefix}/include
> Name: acml-gfortran64
> Description: AMD Core Math Library for amd64 CPUs
> Version: 5.3.1
> URL:
> http://developer.amd.com/tools/cpu-development/amd-core-math-library-acml/
> Libs: -L${libdir} -lacml
> Libs.private: -lm -lrt
> Cflags: -I${includedir}
>
> ls -la /usr/lib64/pkgconfig/lapack.pc
> lrwxrwxrwx 1 root root 77 14. Jan 00:04 /usr/lib64/pkgconfig/lapack.pc
> ->
> ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.p
> c
>
> and this is
>
> pkg-config --libs-only-L cblas blas
>
> Package cblas was not found in the pkg-config search path.
> Perhaps you should add the directory containing `cblas.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'cblas' found
>
> I have no cblas eselected.
>
> Am 16.06.2014 03:27, schrieb François Bissey:
> > And
> > pkg-config --libs-only-L cblas blas
> > since that's what is actually parsed by the ebuild. Have you
> > any cblas eselected? If yes which one.
> >
> > Francois
> >
> > On Mon, 16 Jun 2014 13:19:57 François Bissey wrote:
> >> Out of curiosity and to jog my brain can you send the equivalent for
> >> lapack?
> >>
> >> Something is definitely going wrong when the site.cfg is generated.
> >>
> >> Francois
> >>
> >> On Sun, 15 Jun 2014 23:40:13 Bastian Löffler wrote:
> >>> pkg-config --libs-only-L blas
> >>> -L//opt/acml5.3.1/gfortran64/lib
> >>>
> >>> cat /usr/lib64/pkgconfig/blas.pc
> >>> prefix=//opt/acml5.3.1/gfortran64
> >>> libdir=${prefix}/lib
> >>> includedir=${prefix}/include
> >>> Name: acml-gfortran64
> >>> Description: AMD Core Math Library for amd64 CPUs
> >>> Version: 5.3.1
> >>> URL:
> >>> http://developer.amd.com/tools/cpu-development/amd-core-math-library-acm
> >>> l/
> >>> Libs: -L${libdir} -lacml
> >>> Libs.private: -lm -lrt
> >>> Cflags: -I${includedir}
> >>>
> >>> ls -la /usr/lib64/pkgconfig/blas.pc
> >>> lrwxrwxrwx 1 root root 73 14. Jan 00:04 /usr/lib64/pkgconfig/blas.pc ->
> >>> ../../../etc/env.d/alternatives/blas/_current/usr/lib64/pkgconfig/blas.p
> >>> c
> >>>
> >>> Am 15.06.2014 23:32, schrieb François Bissey:
> >>>> OK so it looks sane, let's do some more sanity check as in the email
> >>>> I linked:
> >>>> pkg-config --libs-only-L blas
> >>>> cat /usr/lib64/pkgconfig/blas.pc
> >>>> ls -la /usr/lib64/pkgconfig/blas.pc
> >>>>
> >>>> On Sun, 15 Jun 2014 23:30:22 Bastian Löffler wrote:
> >>>>> Well of course i checked that:
> >>>>>
> >>>>> eselect blas list
> >>>>>
> >>>>> Available providers for blas:
> >>>>> [1] acml-gfortran64 *
> >>>>> [2] acml-gfortran64-openmp
> >>>>> [3] eigen
> >>>>> [4] reference
> >>>>>
> >>>>> SO my blas is acml-gfortran64.
next prev parent reply other threads:[~2014-06-16 21:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <53959961.1060000@bastian-loeffler.de>
2014-06-09 11:25 ` [gentoo-science] Trouble building scipy-0.14.0 against acml Bastian Löffler
2014-06-09 11:42 ` François Bissey
2014-06-09 11:51 ` François Bissey
2014-06-09 18:41 ` Bastian Löffler
2014-06-09 21:33 ` François Bissey
2014-06-09 21:47 ` François Bissey
2014-06-15 14:22 ` Bastian Löffler
2014-06-15 21:13 ` François Bissey
2014-06-15 21:20 ` Bastian Löffler
2014-06-15 21:27 ` François Bissey
2014-06-15 21:30 ` Bastian Löffler
2014-06-15 21:32 ` François Bissey
2014-06-15 21:40 ` Bastian Löffler
2014-06-16 1:19 ` François Bissey
2014-06-16 1:27 ` François Bissey
2014-06-16 16:04 ` Bastian Löffler
2014-06-16 21:26 ` François Bissey [this message]
2014-06-26 20:39 ` Bastian Löffler
2014-06-26 21:08 ` François Bissey
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=2358114.aUMdxTSU4C@qcd-nzi3 \
--to=frp.bissey@gmail.com \
--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