Hi Felipe

Multi-threading support has very recently been added to moses chart, so you 
need the latest svn version. You also need to build moses with threading 
enables (run ./configure --help to see the arguments). You can check if it's 
working by running top and verifying that cpu usage is above 100%. Note that 
multiple threads are only used in decoding - whilst the decoder is loading its 
models, only one thread will be working,

best regards - Barry

On Thursday 10 Mar 2011 18:58:21 Felipe Sánchez Martínez wrote:
> Hi,
> 
> Last question. Does moses chart also support threads? I launched MERT
> with --decoder-flags "-threads 4" but I am not sure if it is really
> using threads. It seems not.
> 
> Thanks again for your help.
> --
> Felipe
> 
> El 10/03/11 19:26, Philipp Koehn escribió:
> > Hi,
> >
> > if you are planning to run MERT on a single multi-core machine,
> > then you should use multi-threaded Moses, which will be much
> > simpler and likely even be faster that running processes in parallel.
> >
> > -phi
> >
> > 2011/3/10 Felipe Sánchez Martínez<[email protected]>:
> >> Hi,
> >>
> >>> not that I know. However, assuming you want to use moses-parallel in
> >>> order to take advantage of a multi-core desktop with Ubuntu, installing
> >>> a regular queue management system is not that costly, since Torque is
> >>> conveniently packaged into the distro. In fact, I run moses-parallel on
> >>> my desktop machine in this way.
> >>
> >> This is exactly what I want to do. After installing torque (which, BTW,
> >> I did not know), should I do any change to moses-parallel.pl?
> >>
> >> --
> >> Felipe
> >>
> >>> Cheers,
> >>>
> >>> Germán
> >>>
> >>> On Thu, 10 Mar 2011, Felipe Sánchez Martínez wrote:
> >>>> Hello all,
> >>>>
> >>>> Is there any way to run moses-parallel.pl on a regular installation
> >>>> where no special software, such as Sun Grid Engine, is used for
> >>>> scheduling jobs. I would perform the translations needed by mert in
> >>>> parallel. I searched the list archive and I did not find anything :(
> >>>>
> >>>> Thank you very much for your help.
> >>>> --
> >>>> Felipe
> >>>> _______________________________________________
> >>>> Moses-support mailing list
> >>>> [email protected]
> >>>> http://mailman.mit.edu/mailman/listinfo/moses-support
> >>
> >> --
> >> Felipe Sánchez Martínez
> >> Dep. de Llenguatges i Sistemes Informàtics
> >> Universitat d'Alacant, E-03071 Alacant (Spain)
> >> Tel.: +34 965 903 400, ext: 2966 Fax: +34 965 909 326
> >> http://www.dlsi.ua.es/~fsanchez
> >> _______________________________________________
> >> 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