[pymvpa] "SVD did not converge" - how can I make PyMVPA use lapack version?

Michael Bannert mbannert at tuebingen.mpg.de
Tue Mar 6 10:12:16 UTC 2018

Dear all,

I would like to use the lapack version of SVD since it is supposed to be 
more robust than the numpy/scipy implementations ( 

I have installed on my a macOS using Homebrew, which seemed to work but 
it gave me this message:

This formula is keg-only, which means it was not symlinked into 
/usr/local, because macOS already provides this software and installing 
another version in parallel can cause all kinds of trouble.

For compilers to find this software you may need to set:
     LDFLAGS:  -L/usr/local/opt/lapack/lib
     CPPFLAGS: -I/usr/local/opt/lapack/include
For pkg-config to find this software you may need to set:
     PKG_CONFIG_PATH: /usr/local/opt/lapack/lib/pkgconfig

I defined the environment variables as suggested but PyMVPA's 
externals.exists('liblapack.so') still returns false.

What can I do to make it work?

Best & thanks,

PS: Eventually, I will need to use it on a remote Linux system where 
lapack is installed as /usr/lib64/liblapack.so.3 but PyMVPA fails to 
find it via "externals.exists('liblapack.so')" too.

More information about the Pkg-ExpPsy-PyMVPA mailing list