[Rd] [R] Building with MKL on Ubuntu
    Ei-ji Nakama 
    nakama at ki.rim.or.jp
       
    Thu Nov  6 16:08:55 CET 2008
    
    
  
Hi
2008/11/6 Anand Patil <anand.prabhakar.patil at gmail.com>:
> I tried that earlier, and it doesn't encounter the zdotu error (maybe it was
> fixed in 10.0.5?) but I got a different error:
no, see MKL manual.
Because fortran do not have compatibility, You appoint ABI of your
Fortran in a link of MKL.
> /opt/intel/fce/10.1.018/lib/libiomp5.so: undefined reference to
> `pthread_atfork'
MKL 10.0.1.x that libiomp5 was necessary.
Hmm, but not need libiomp5 with MKL 10.0.5.x.
I do not understand which version MKL were recovered in, but libiomp5
seems to be unnecessary in the latest edition.
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  -lgomp"
LDFLAGS="-L$MKL_LIB_PATH" ./configure --with-lapack="$MKL" --with-blas="$MKL"
-liomp5 -lguide -lpthread  You omit three library, and please link
Please check the result of the big %*% just to make sure.
-- 
EI-JI Nakama  <nakama (a) ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb"  <nakama (a) ki.rim.or.jp>
    
    
More information about the R-devel
mailing list