- AlmaLinux 8.8
- OneAPI 2023.1 (with ifort and MKL)
# Activate ifort & MKL on bash
$ . /opt/intel/oneapi/setvars.sh
# some libraries
$ su -
su$ dnf install readline-devel libXt-devel libcurl-devel libjpeg-devel cairo-devel libtiff-devel xz-devel pcre2-devel java
su$ dnf install openssl-devel libxml2-devel harfbuzz-devel fribidi-devel
su$ exit
# Download & compile R with MKL
$ wget https://cran.r-project.org/src/base/R-4/R-4.3.1.tar.gz
$ tar xvzf R-4.3.1.tar.gz
$ cd R-4.3.1
$ FC=ifort ./configure --prefix=/opt/local/R/R-4.3.1 --with-blas=" -L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -ldl " --with-lapack
$ make
$ su
su$ make install
su$ exit
- https://www.intel.com/content/www/us/en/developer/articles/technical/using-onemkl-with-r.html
- https://www.intel.com/content/www/us/en/developer/articles/technical/accelerate-r-code-with-math-kernel-library.html#gs.52vl8b
- https://www.intel.com/content/www/us/en/developer/articles/technical/quick-linking-intel-mkl-blas-lapack-to-r.html