Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 436750

Summary: sci-libs/scikits_learn can't detect blas as non-root
Product: Gentoo Linux Reporter: true <gosouth0>
Component: [OLD] LibraryAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/scikit-learn/scikit-learn/pull/766
Whiteboard:
Package list:
Runtime testing required: ---

Description true 2012-10-01 06:26:24 UTC
like writen here -> https://github.com/scikit-learn/scikit-learn/pull/766

'ATLAS' detection in numpy is not necessarily reliable and does not always work (e.g. see Gentoo's patches [1,2]).

Removing the ('NO_ATLAS_INFO', 1) in blas_info.get('define_macros', [])) part enables sklearn to be properly compiled with ATLAS support on Gentoo & Gentoo Prefix (i.e. Gentoo in non-root user space).'

but:
ImportError: /usr/lib64/python2.7/site-packages/sklearn/cluster/_k_means.so: undefined symbol: cblas_ddot

$ eselect cblas list
Installed CBLAS for library directory lib64
  [1]   atlas
  [2]   atlas-threads *
  [3]   gsl
  [4]   reference

under root everything is ok.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2016-01-26 19:10:37 UTC
commit 55af64bf12a24f3fc834c8d40abd0d745ba9f673
Author: Justin Lecher <jlec@gentoo.org>
Date:   Tue Jan 26 18:01:35 2016 +0100

    sci-libs/scikits_learn: Drop old

    obsoletes:

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=436750
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=423269

    Package-Manager: portage-2.2.27
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55af64bf12a24f3fc834c8d40abd0d745ba9f673