[Scipy-tickets] [SciPy] #1031: undefined symbol clapack_sgesv (importing scipy.stats fails)

SciPy Trac scipy-tickets@scipy....
Tue Feb 7 21:55:16 CST 2012

#1031: undefined symbol clapack_sgesv (importing scipy.stats fails)
  Reporter:  joelthelion   |       Owner:  cdavid
      Type:  defect        |      Status:  closed
  Priority:  normal        |   Milestone:  0.9.0 
 Component:  Build issues  |     Version:  devel 
Resolution:  invalid       |    Keywords:        

Comment(by phantal):

 The problem isn't atlas.  By default, liblapack.so, libcblas.so, and
 libblas.so are symlinks to a reference implementation.  In Gentoo, for
 example, when I install lapack-atlas, it's still linking to the reference
 implementations.  The reference implementation doesn't provide a lot of
 symbols (among them being clapack_sgesv).

 Depending on your distribution, you need to change the links to point at
 the right blas/lapack libraries.  In gentoo you can do this with eselect;
 eg, something along the lines of:

 emerge blas-atlas
 eselect blas list
 eselect blas set X
 eselect cblas list
 eselect cblas set X
 emerge lapack-atlas
 eselect lapack list
 eselect lapack set X
 emerge scipy

 ... where X must be replaced with a number retrieved from the output of
 the line above it.  2 of the libraries will offer a threaded version of
 the library that can take advantage of multiple cores.

Ticket URL: <http://projects.scipy.org/scipy/ticket/1031#comment:4>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.

More information about the Scipy-tickets mailing list