From robert.s.cohn at intel.com  Fri Apr 21 15:26:35 2017
From: robert.s.cohn at intel.com (Cohn, Robert S)
Date: Fri, 21 Apr 2017 13:26:35 +0000
Subject: [Rd] Intel MKL compiling issue
Message-ID: <017981773BBEDE44A0F34FBEE7EAF2DA4AD30EFC@ORSMSX113.amr.corp.intel.com>

> 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



[Rd] Intel MKL compiling issue
Cohn, Robert S