[Rd] Intel MKL compiling issue

Cohn, Robert S robert.s.cohn at intel.com
Fri Apr 21 15:26:35 CEST 2017

> I would appreciate any insights over compiling R 3.4 with Intel MKL -- I have been successful until R 3.3.3 but now it stops complaining about pcre though it worked without Intel MKL as follows,

I successfully built R-rc_2017-04-19_r72555.tar.gz with icc & MKL on centos 7 with this:

# https://software.intel.com/en-us/articles/build-r-301-with-intel-c-compiler-and-intel-mkl-on-linux#                                              
export ICC_OPT="-mkl -xHOST -fp-model strict"
export CC="icc $ICC_OPT"
export CXX="icpc $ICC_OPT"
export FC="ifort -mkl -xHOST"
export F77="ifort -mkl -xHOST"
export FPICFLAGS=" -fPIC"
export AR=xiar
export LD=xild
export MKL="-lmkl_gf_lp64 -lmkl_intel_thread  -lmkl_core -liomp5 -lpthread"
./configure --with-x=no --with-blas=-lmkl

More information about the R-devel mailing list