Re: [Rd] Intel MKL compiling issue

2017-04-23 Thread Cohn, Robert S
?  This helps -- would you be able to do with --enable-R-shlib? I also got 
complaints with it.

It works when I do this:
./configure --with-x=no --with-blas=-lmkl --enable-R-shlib




[[alternative HTML version deleted]]

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


Re: [Rd] Intel MKL compiling issue

2017-04-21 Thread Cohn, Robert S
> 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

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


Re: [Rd] Intel MKL compiling issue

2017-04-20 Thread Prof Brian Ripley
There is nothing here indicating any kind of error, so no way to give 
any insights 


And please do follow the posting guide, including not posting HTML.

FWIW, I have tested R 3.4.0 RC (sic) with MKL 11.3, which is later than 
your 2013 ... (on x86_64 Fedora 24).



On 20/04/2017 10:39, jing hua zhao wrote:

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]]

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




--
Brian D. Ripley,  rip...@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

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