You might want to have a look at the patch submitted here if you are
going to use NPLM
https://github.com/moses-smt/mosesdecoder/pull/161
On 20/07/2016 10:15, Tomasz Gawryl wrote:
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
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support
___
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support