This previous email might help
   https://www.mail-archive.com/[email protected]/msg11711.html

Can I ask why you are using SRILM? These days, there are much better back
off LM implementations, which are faster and use less memory

Hieu Hoang
Research Associate (until March 2015)
** searching for interesting commercial MT position **
University of Edinburgh
http://www.hoang.co.uk/hieu

On 4 March 2015 at 00:38, 이담허 <[email protected]> wrote:

>  Hi,
>
> I want to build Moses with SRILM but it fails in despite of using proper
> vision. (1.7.1)
>
> Also, I changed MACHINE_TYPE=i686 to MACHINE_TYPE=i686-gcc4 at `uname –m`
> case loop when I build SRILM in sbin/machine-type.
>
> Here is the head of my build error messages. I hope to resolve the
> relation of SRILM and omp_get_num_threads error possibly.
>
>
>
> [smt@localhost mosesdecoder]$ ./bjam --with-srilm=/user/smt/srilm
> --with-cmph=/usr/local --with-boost=~/boost_1_57_0 -j12
>
>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> !!! You are linking with the SRILM library; Do NOT use version >= 1.7.1 !!!
>
>
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> Performing configuration checks
>
>
>
>     - Shared Boost             : yes
>
>    - Static Boost             : yes
>
> ...patience...
>
> ...patience...
>
> ...patience...
>
> ...patience...
>
> ...found 10358 targets...
>
> ...updating 71 targets...
>
> gcc.link
> moses-cmd/bin/gcc-4.7.2/release/debug-symbols-on/link-static/threading-multi/moses
>
> moses/bin/gcc-4.7.2/release/debug-symbols-on/link-static/threading-multi/libmoses.a(PhraseDictionaryTransliteration.o):
> In function
> `Moses::PhraseDictionaryTransliteration::GetTargetPhraseCollection(Moses::InputPath&)
> const':
>
> /user/smt/mosesdecoder/moses/TranslationModel/PhraseDictionaryTransliteration.cpp:71:
> warning: the use of `tmpnam' is dangerous, better use `mkstemp'
>
> /user/smt/srilm/lib/i686-m64/liboolm.a(hmaxent.o): In function
> `hmaxent::model::ensure_exp_params() [clone ._omp_fn.0]':
>
> /user/smt/srilm/lm/src/hmaxent.cc:708: undefined reference to
> `omp_get_num_threads'
>
> /user/smt/srilm/lm/src/hmaxent.cc:708: undefined reference to
> `omp_get_thread_num'
>
> /user/smt/srilm/lib/i686-m64/liboolm.a(hmaxent.o): In function
> `hmaxent::model::expectations() [clone ._omp_fn.1]':
>
> /user/smt/srilm/lm/src/hmaxent.cc:365: undefined reference to
> `omp_get_num_threads'
>
> /user/smt/srilm/lm/src/hmaxent.cc:365: undefined reference to
> `omp_get_thread_num'
>
> /user/smt/srilm/lib/i686-m64/liboolm.a(hmaxent.o): In function
> `hmaxent::model::lognormconst() [clone ._omp_fn.3]':
>
> /user/smt/srilm/lm/src/hmaxent.cc:243: undefined reference to
> `omp_get_num_threads'
>
> /user/smt/srilm/lm/src/hmaxent.cc:243: undefined reference to
> `omp_get_thread_num'
>
> /user/smt/srilm/lib/i686-m64/liboolm.a(hmaxent.o): In function
> `hmaxent::model::param_sums() [clone ._omp_fn.2]':
>
> /user/smt/srilm/lm/src/hmaxent.cc:310: undefined reference to
> `omp_get_num_threads'
>
> /user/smt/srilm/lm/src/hmaxent.cc:310: undefined reference to
> `omp_get_thread_num'
>
> /user/smt/srilm/lib/i686-m64/liboolm.a(hmaxent.o): In function
> `hmaxent::model::ensure_exp_params()':
>
> /user/smt/srilm/lm/src/hmaxent.cc:706: undefined reference to
> `GOMP_parallel_start'
>
> /user/smt/srilm/lm/src/hmaxent.cc:706: undefined reference to
> `GOMP_parallel_end'
>
> /user/smt/srilm/lib/i686-m64/liboolm.a(hmaxent.o): In function
> `hmaxent::model::lognormconst()':
>
> /user/smt/srilm/lm/src/hmaxent.cc:240: undefined reference to
> `GOMP_parallel_start'
>
> /user/smt/srilm/lm/src/hmaxent.cc:240: undefined reference to
> `GOMP_parallel_end'
>
> /user/smt/srilm/lib/i686-m64/liboolm.a(hmaxent.o): In function
> `hmaxent::model::param_sums()':
>
> /user/smt/srilm/lm/src/hmaxent.cc:307: undefined reference to
> `GOMP_parallel_start'
>
> /user/smt/srilm/lm/src/hmaxent.cc:307: undefined reference to
> `GOMP_parallel_end'
>
> /user/smt/srilm/lib/i686-m64/liboolm.a(hmaxent.o): In function
> `hmaxent::model::ensure_exp_params()':
>
> /user/smt/srilm/lm/src/hmaxent.cc:706: undefined reference to
> `GOMP_parallel_start'
>
> /user/smt/srilm/lm/src/hmaxent.cc:706: undefined reference to
> `GOMP_parallel_end'
>
> /user/smt/srilm/lm/src/hmaxent.cc:706: undefined reference to
> `GOMP_parallel_start'
>
> /user/smt/srilm/lm/src/hmaxent.cc:706: undefined reference to
> `GOMP_parallel_end'
>
> /user/smt/srilm/lib/i686-m64/liboolm.a(hmaxent.o): In function
> `hmaxent::model::expectations()':
>
> /user/smt/srilm/lm/src/hmaxent.cc:362: undefined reference to
> `GOMP_parallel_start'
>
> /user/smt/srilm/lm/src/hmaxent.cc:362: undefined reference to
> `GOMP_parallel_end'
>
> collect2: error: ld returned 1 exit status
>
>
>
> Regards,
>
>
>
> *Damheo Lee*
>
> *Integrated M.S & Ph.D candidate of UST - ETRI*
>
> Automatic Speech Translation Research Section,
>
> Automatic Speech Translation and Artificial Intelligence Research Center,
>
> SW-Content Research Laboratory
> ==================================================
> Building 7-463, 218 Gajeong-ro, Yuseong-gu, Daejeon, 305-700, South Korea
> Tel : +82-42-860-5204 Mobile: +82-10-2585-5571
> Fax: +82-42-860-4889 E-mail: [email protected]
>
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to