On 18 March 2021 at 09:15, Tomas Kalibera wrote: | This is documented in R Admin manual, section A.3, and there is also | "configure --help". | | On my Ubuntu 20.04, using "--with-blas --with-lapack" when a BLAS/LAPACK | implementation is installed via "apt" works for me: | | with libblas3, liblapack3 I get in R via sessionInfo() | | BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0 | LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0 | | then I install libopenblas0 and get, after re-starting R (not rebuilding): | | BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 | LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so.3
Yes, thank you, that is exactly what I use and recommend too. And ... On 18 March 2021 at 09:34, Tomas Kalibera wrote: | and to install say MKL, this works for me: | | apt-get install intel-mkl-full | | and then: | | env MKL_INTERFACE_LAYER=GNU,LP64 MKL_THREADING_LAYER=GNU R | | gives me: | | BLAS/LAPACK: /usr/lib/x86_64-linux-gnu/libmkl_rt.so | | This is following documentation in A.3.1.3 of R Admin manual. ... which is what the (surprisingly popular, 139 stars) simple two-year old script at GitHub has been automated. https://github.com/eddelbuettel/mkl4deb I may need to update the recommendation for the two MKL_* variables. Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel