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’ among the shared
libraries (for example, 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 either the system environment variable
MKL_NUM_THREADS
or OMP_NUM_THREADS
. The former,
if defined, takes precedence.
A list with 2 elements
|
The name of the BLAS and LAPACK |
|
The number of threads used by the BLAS and LAPACK (relevant only for MKL, where -1 represents the default) |
Oracle Corporation
Sys.BlasLapack()