SRILM appears to be linking against openmp so gcc needs -fopenmp in
Moses.  Try this:

bjam linkflags=-fopenmp cxxflags=-fopenmp --with-srilm=...

On 02/22/2015 04:32 PM, Barry Haddow wrote:
> Hi TinTin
> 
> First, make sure you do a clean build, and that you're absolutely sure  
> Moses is linking against SRILM V1.6. If the build still fails, then  
> post your log to the list,
> 
> cheers - Barry
> 
> Quoting TinTin Kalaw <[email protected]> on Sun, 22 Feb 2015  
> 22:48:03 +0800:
> 
>> It is because this other tool that I need (a thesis project of an
>> upperclassmen) was made with SRILM. To run their project, SRILM must work.
>>
>> I used an older version of SRILM (v1.6.0). The build still failed.
>>
>> Thank you for your fast reply.
>>
>> Regards,
>>
>>
>>
>> *Kristine Ma. Dominique F. KalawContact No.: 0927.854.4201Email:
>> [email protected] <[email protected]>*
>>
>> On Sun, Feb 22, 2015 at 5:30 PM, Hieu Hoang <[email protected]> wrote:
>>
>>>  use a older version of SRILM.
>>>
>>> Can I ask why you use SRILM in more detail? Do you use it to create
>>> language models, or within the decoder to look up LM scores? In both cases,
>>> there are now better tools to use than SRILM
>>>
>>>
>>> On 22/02/15 07:22, TinTin Kalaw wrote:
>>>
>>> Good day!
>>>
>>>  Whenever I try to compile Moses with the *--with-srilm=/my/path/to/srilm*,
>>> I get a compilation error. If I compile it with the
>>> *--with-boost=/my/path/to/boost* or with just *./bjam*, it is a success.
>>> Unfortunately I cannot use an alternative to SRILM because this other tool
>>> that I am using makes use of SRILM and Moses.
>>>
>>>  I have already successfully installed/compiled the other
>>> tools/packages/dependencies that Moses needs. My machine is running on a
>>> dual-boot OS of *Windows 8.1* and *Ubuntu 14.04 LTS 64-bit*. I am
>>> currently using Ubuntu. I used *Giza v1.0.7*, *SRILM v1.7.1*, *Boost
>>> 1_57_0*, and the version of *Moses* as of Feb 7 2015.
>>>
>>>  Attached here is the *build.log.gz* of the command *./bjam
>>> --with-srilm=$SRILM*.
>>>
>>>  I am hoping for your swift response regarding this issue. Thank you.
>>>
>>>  --
>>>   Regards,
>>>
>>>
>>>
>>> *Kristine Ma. Dominique F. Kalaw Contact No.: 0927.854.4201 Email:
>>> [email protected] <[email protected]>*
>>>
>>>
>>> _______________________________________________
>>> Moses-support mailing  
>>> [email protected]http://mailman.mit.edu/mailman/listinfo/moses-support
>>>
>>>
>>> --
>>> Hieu Hoang
>>> Research Associate (until March 2015)
>>> ** searching for interesting commercial MT position **
>>> University of Edinburghhttp://www.hoang.co.uk/hieu
>>>
>>>
>>
> 
> 
> 
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to