Sys.BlasLapack {base} | R Documentation |
Reports information on the BLAS and LAPACK libraries in use.
Sys.BlasLapack()
Oracle's distribution of R can be compiled to load Intel Math Kernel Library (MKL) or AMD Core Math Library (ACML) dynamically at run time. (See ‘INSTALL’ file for more information.)
If dynamic loading of external BLAS and LAPACK is enabled, R
will first look for ‘libmkl_rt.so’ amongst the shared
libraries (e.g. in the paths specified in the
LD_LIBRARY_PATH
system environment variable) to
load MKL dynamically. If MKL is not found, then R will look for
‘libacml.so’ to load ACML dynamically. If neither library
is found, then R will use its internal BLAS and LAPACK.
When MKL is dynamically loaded, the number of threads it uses
can be changed by the system environment variable
OMP_NUM_THREADS
.
A list with 2 elements
|
name of BLAS/LAPACK library in use |
|
number of threads used by BLAS/LAPACK (relevant only for MKL, where -1 represents the default) |
Oracle Corporation
Sys.BlasLapack()