Hi Alex,

unfortunately the randomized language model implementation is not yet
thread-safe, so it is incompatible with the multi-threaded Moses. Only the
SRILM interface is currently supported.

-phi

On Wed, Dec 16, 2009 at 4:28 PM, Alexander Fraser
<[email protected]> wrote:
> Hi Barry and other folks,
>
> I'm also having trouble compiling Moses with threads and RandLM, there
> seems to be a bug in MainMT.cpp ?
>
> Here is what I am doing:
>
> Get fresh copy of Moses (I did this on Monday night).
>
> ./regenerate-makefiles.sh
> ./configure --enable-threads
> --with-srilm=/home/users6/fraser/statmt/srilm-1.5.7
> --with-randlm=/home/users6/fraser/statmt/randlm-v0.11
> --with-boost=/home/users6/fraser --with-boost-thread=boost_thread
> make
>
> (The last argument --with-boost-thread is necessary to stop it from
> picking up the globally installed boost thread library).
>
> I attach config.log, which makes it through fine (though I think there
> is some weird use of -DWITH_THREADS in there which might be
> interesting).
>
> I also attach make.log (which only contains the compilation error, I
> typed make twice).
>
> Let me know if I can provide any more info.
>
> Thanks a lot for your help!
>
> Cheers, Alex
>
> _______________________________________________
> 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