From jinghuazhao at hotmail.com  Thu Apr 20 11:39:43 2017
From: jinghuazhao at hotmail.com (jing hua zhao)
Date: Thu, 20 Apr 2017 09:39:43 +0000
Subject: [Rd] Intel MKL compiling issue
In-Reply-To: <1492676507.12031.32.camel@iarc.fr>
References: <assp.1282c13225.1492604380.3239.81.camel@ipb-halle.de>,
 <1492676507.12031.32.camel@iarc.fr>
Message-ID: <LOXP123MB115888589BCC98C692154A1CA51B0@LOXP123MB1158.GBRP123.PROD.OUTLOOK.COM>

Dear R-developers,


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,


./configure LDFLAGS=-L/genetics/data/software/lib CFLAGS=-fPIC -I/genetics/data/software/include --enable-R-shlib


I have used,


export MKL_NUM_THREADS=15
export MKLROOT=/genetics/data/software/intel/composer_xe_2013.4.183/mkl
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MKLROOT/lib/intel64
/genetics/data/software/intel/composer_xe_2013.4.183/mkl/bin/mklvars.sh intel64
CPPFLAGS="-I/genetics/data/software/include -L/genetics/data/software/lib" \
./configure --prefix=/genetics/data/software --enable-R-shlib --enable-threads=posix --with-lapack \
 --with-blas="-fopenmp -m64 -I$MKLROOT/include -L$MKLROOT/lib/intel64 -lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_core -lpthread -lm"


Many thanks,



Jing Hua

	[[alternative HTML version deleted]]



[Rd] Intel MKL compiling issue
jing hua zhao