[Rd] Intel MKL compiling issue

jing hua zhao jinghuazhao at hotmail.com
Sun Apr 23 15:47:24 CEST 2017


HI Robert,


This helps -- would you be able to do with --enable-R-shlib? I also got complaints with it.


Jing Hua

________________________________
From: R-devel <r-devel-bounces at r-project.org> on behalf of Cohn, Robert S <robert.s.cohn at intel.com>
Sent: 21 April 2017 13:26
To: r-devel at r-project.org
Subject: Re: [Rd] Intel MKL compiling issue

> 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#
Build R-3.3.1 with Intel® C++ and Fortran Compilers and ...<https://software.intel.com/en-us/articles/build-r-301-with-intel-c-compiler-and-intel-mkl-on-linux#>
software.intel.com
R is a freely available language and environment for statistical computing and graphics which provides a wide variety of statistical and graphical techniques: linear ...


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

______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

	[[alternative HTML version deleted]]



More information about the R-devel mailing list