-i is not indispensible to multi-threading. Either of these will make moses run multi-threaded: .../moses -f moses.ini -threads 8 -i input.txt .../moses -f moses.ini -threads 8 < input.txt are you running in a virtual machine? How many cores does your computer have, and how many has the virtual machine been set to use?
On 22 February 2013 11:38, Arezki Sadoune <[email protected]> wrote: > Hi Barry > > Is the (-i ) option *indispensable* for a multi-threded running of > moses > > I am trying to run moses multi core directly on a screen, without > creating intermediate files. > > Thanks a lot > > Arezki > > --- En date de : *Jeu 21.2.13, Barry Haddow <[email protected]>*a > écrit : > > > De: Barry Haddow <[email protected]> > > Objet: Re: [Moses-support] How to run a multi-threaded Moses > À: "Arezki Sadoune" <[email protected]> > Cc: [email protected] > Date: Jeudi 21 février 2013, 18h04 > > > Hi Arezki > > Moses will only multi-thread if it is given a batch of sentences to > translate (with the -i option). Also, you will only see it using multiple > CPUs after it has loaded its models and started to translate, > > cheers - Barry > > On 21/02/13 13:49, Arezki Sadoune wrote: > > Dear all, > > > > I have trained a few Moses systems on IRSTLM which were unable to be run > using multi-threading (which is normal according to the Manual) > > > > So, I have built a new SRILM based Moses system, and I have also > recompilded Moses using the following request : (./bjam -j24 > --with-srilm=/root/srilm --with-irstlm=/root/irstlm) > > > > > > And despit of that Moses decoder is still running on a single CPU, > > > > I have also tried to run it by adding on the request the following : > "-threads 16", which didn't work too > > > > Many Thanks > > > > Arezki SADOUNE > > > > > > > > _______________________________________________ > > Moses-support mailing list > > [email protected] <http://mc/[email protected]> > > http://mailman.mit.edu/mailman/listinfo/moses-support > > > -- The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support > > -- Hieu Hoang Research Associate University of Edinburgh http://www.hoang.co.uk
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
