Skip to content

GotoBLAS2 breaks lapack

5 messages · Sergei Petrov, Dirk Eddelbuettel

#
Dirk Eddelbuettel <edd <at> debian.org> writes:
Unfortunately it is broken :(

Link not found at ./getGotoBLAS2 line 83
#
On 9 May 2012 at 17:41, Sergei Petrov wrote:
| Dirk Eddelbuettel <edd <at> debian.org> writes:
| 
| > One last follow-up.  Debian's Atlas maintainer has started to work in the
| > OpenGoto packaging.  There will be proper Goto packages now that the license
| > is better, but it may take a while. It took years to get Atlas packaged
| > 'right' so don;t expect anything too soon.  The gotoblas2-helper package is
| > still useful for the 'here and now'.
| 
| Unfortunately it is broken :(
| 
| Link not found at ./getGotoBLAS2 line 83

I recommend using the (already packaged) libopenblas-base / libopenblas-dev
package.  

In casual benchmarking it outperformed the gotoblas2 package it was
originally based on.

Dirk
#
2012/5/9 Dirk Eddelbuettel <edd at debian.org>:
apt-get install libopenblas-base libopenblas-dev

LANG=en update-alternatives --config libblas.so.3gf

There are 3 choices for the alternative libblas.so.3gf (providing
/usr/lib/libblas.so.3gf).

  Selection    Path                                      Priority   Status
------------------------------------------------------------
* 0            /usr/lib/openblas-base/libopenblas.so.0    40        auto mode
  1            /usr/lib/atlas-base/atlas/libblas.so.3gf   35        manual mode
  2            /usr/lib/libblas/libblas.so.3gf            10        manual mode
  3            /usr/lib/openblas-base/libopenblas.so.0    40        manual mode


LANG=en update-alternatives --config liblapack.so.3gf
There are 2 choices for the alternative liblapack.so.3gf (providing
/usr/lib/liblapack.so.3gf).

  Selection    Path                                        Priority   Status
------------------------------------------------------------
* 0            /usr/lib/atlas-base/atlas/liblapack.so.3gf   35        auto mode
  1            /usr/lib/atlas-base/atlas/liblapack.so.3gf   35
manual mode
  2            /usr/lib/lapack/liblapack.so.3gf             10
manual mode


R

Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object '/usr/lib/R/library/stats/libs/stats.so':
  /usr/lib/liblapack.so.3gf: undefined symbol: ATL_chemv


liblapack.so missed in  libopenblas-base :(
#
On 9 May 2012 at 19:17, Sergei Petrov wrote:
| 2012/5/9 Dirk Eddelbuettel <edd at debian.org>:
| > I recommend using the (already packaged) libopenblas-base / libopenblas-dev
| > package.
| >
| > In casual benchmarking it outperformed the gotoblas2 package it was
| > originally based on.
| >
| 
| apt-get install libopenblas-base libopenblas-dev
| 
| LANG=en update-alternatives --config libblas.so.3gf

I never ever play by hand with update-alternatives to override (and I can
simply install or remove as needed to get my preferred choice working), and
guess what, nothing is borked on my system.  

I recommend you simply purge the related BLAS packages, install again and
enjoy the (very well working) defaults.

Dirk
#
2012/5/9 Dirk Eddelbuettel <edd at debian.org>:
Removing atlas* completely repaired lapack. Thank you!