[R-sig-Debian] GotoBLAS2 breaks lapack

Sergei Petrov p2004r at gmail.com
Wed May 9 18:17:42 CEST 2012


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

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 :(



More information about the R-SIG-Debian mailing list