Hi,

 

I'm trying to compile mosesdecoder with NPLM with INTEL MKL but without
success. I did some searches in Google and found similar request but
unanswered:

http://comments.gmane.org/gmane.comp.nlp.moses.user/11985

 

I compiled and installed NPLM and MLK without problems.

 

Here is my error:

 

gcc.compile.c++
lm/bin/gcc-4.8/release/link-static/threading-multi/fragment_main.o

gcc.link lm/bin/gcc-4.8/release/link-static/threading-multi/fragment

/home/moses/src/nplm/src/libnplm.a(model.o): In function
`nplm::model::premultiply()':

model.cpp:(.text+0x6864): undefined reference to `sgemm_'

/home/moses/src/nplm/src/libnplm.a(util.o): In function
`nplm::setup_threads(int)':

util.cpp:(.text+0x57e): undefined reference to `MKL_Set_Threading_Layer'

util.cpp:(.text+0x585): undefined reference to `MKL_Set_Num_Threads'

collect2: error: ld returned 1 exit status

 

It looks like problem with MKL but I wouldn't like to resign of MKL..

 

Do you have any ideas how to fix this problem?

 

Best regards,

Thomas

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to