Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436750 - sci-libs/scikits_learn can't detect blas as non-root
Summary: sci-libs/scikits_learn can't detect blas as non-root
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL: https://github.com/scikit-learn/sciki...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-01 06:26 UTC by true
Modified: 2016-01-26 19:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 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