[R] Building with MKL on Ubuntu

2008-11-04 Thread Anand Patil
Hi all, I'm trying to build R from subversion with MKL 10.0.2 on Ubuntu. I tried: ./configure --with-blas='-L/opt/intel/mkl/10.0.2.018/lib/em64t -lmkl -lguide' --with-lapack='/opt/intel/mkl/10.0.2.018/lib/em64t -lmkl -lmkl_lapack' --enable-R-shlib and got: R is now configured for x86_64-unknown-

Re: [R] Building with MKL on Ubuntu

2008-11-04 Thread Prof Brian Ripley
Look in config.log to see what's wrong. (E.g. is /opt/intel/mkl/10.0.2.018/lib/em64t in the ld.so cache?) And note the warnings in the manual about using --with-lapack: it is most definitely not recommended. R-devel would be a better place to ask questions about this. On Tue, 4 Nov 2008, An

Re: [R] Building with MKL on Ubuntu

2008-11-04 Thread plummer
I can see a couple of problems: 1) No "-lpthread" in --with-blas 2) No "-L" prefix in the library path in --with-lapack In addition, I don't think you need to add -lmkl to --with-lapack, although that is probably harmless. Martyn Quoting Prof Brian Ripley <[EMAIL PROTECTED]>: > Look in config.

Re: [R] Building with MKL on Ubuntu

2008-11-05 Thread Ei-ji Nakama
Hi If you want to use MKL10(no 8 or 9), you should obey instructions of R-admin. MKL10 needs openmp. This needs gcc4.2 or later. OpenMP for Intel was necessary with MKL10.0.1.x (There was not it in a manual of MKL). # Please try an additional effect of "-liomp5" in the %*% # fp-model of Linux of