Thanks Dirk. That is what I thought, and sessionInfo() returns:
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/atlas/libblas.so.3.10.3
LAPACK: /usr/lib/x86_64-linux-gnu/atlas/liblapack.so.3.10.3
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
so R is indeed aware of a blas. However, packages that require a blas
fail to build and return
libRblas.so: cannot open shared object file: No such file or directory
Baffled,
Steve
On 09/22/2018 04:55 PM, Dirk Eddelbuettel wrote:
On 22 September 2018 at 16:08, Steve Gutreuter wrote:
| R 3.5.1 is installed under Linux Mint 19 from binaries r-base and
| r-base-dev from ubuntu bionic-cran35. Mysteriously, packages using
| libRblas cannot be compiled. I get: libRblas.so: cannot open shared
| object file: No such file or directory. And indeed, I find no libRblas.so.
|
| Any ideas about how to fix this?
What does sessionInfo() show? For me on this computer it is
R> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.1 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/libopenblasp-r0.2.20.so
[...]
If Mint follows the setup I use for the Debian package, then you _never have
libRblas.so_ because we use the _external_ BLAS. This allows you to switch
to Atlas (tuned BLAS), OpenBLAS (multithreaded), Intel MKL (multithreaded and
possibly a little faster than OpenBLAS but much bigger), ...
Dirk
_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian