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.


Reply via email to