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 IA32 is 387(80bit) about the precision,
# but SSE2(64bit) is a default in Intel64.
# It is caused by this that results are different.

There was not the problem in R-2.8.0 either
  MKL_LIB_PATH=/opt/intel/mkl/10.0.5.025/lib/em64t
  MKL="   -L${MKL_LIB_PATH}                               \
             -Wl,--start-group                               \
                     ${MKL_LIB_PATH}/libmkl_gf_lp64.a        \
                     ${MKL_LIB_PATH}/libmkl_gnu_thread.a     \
                     ${MKL_LIB_PATH}/libmkl_core.a           \
             -Wl,--end-group                                 \
             -liomp5 -lguide -lpthread -lgomp"
  ./configure --with-lapack="$MKL" --with-blas="$MKL"


2008/11/5 Anand Patil <[EMAIL PROTECTED]>:
> 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-linux-gnu
>
>  Source directory:          .
>  Installation directory:    /usr/local
>
>  C compiler:                gcc -std=gnu99  -g -O2
>  Fortran 77 compiler:       gfortran  -g -O2
>
>  C++ compiler:              g++  -g -O2
>  Fortran 90/95 compiler:    gfortran -g -O2
>  Obj-C compiler:
>
>  Interfaces supported:      X11
>  External libraries:        readline
>  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS, cairo
>  Options enabled:           shared R library, shared BLAS, R profiling,
> Java
>
>  Recommended packages:      yes
>
> but make then builds R's blas, and when I subsequently do linear algebra in
> R it's obviously not multithreading. What am I doing wrong?
>
> Thanks,
> Anand
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>



-- 
EI-JI Nakama  <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb"  <nakama (a) ki.rim.or.jp>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to