Hi Tomas You're using irstlm, which isn't thread-safe. You need to either switch to a different LM (SRILM memory, kenlm and randlm are all ok), or use single-threaded moses,
best regards - Barry On Friday 01 April 2011 12:52, Tomas Hudik wrote: > Hi there, > When I run command : > moses -threads 10 -v 4 -f moses.ini < oo > aa > Defined parameters (per moses.ini or switch): > config: moses.ini > distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6 > /home/moses/reordering-table.wbe-msd-bidirectional-fe.gz > distortion-limit: 6 > input-factors: 0 > lmodel-file: 1 0 3 /home/moses/LM.qblm > mapping: 0 T 0 > threads: 10 > ttable-file: 0 0 0 5 /home/moses/phrase-table.gz > ttable-limit: 20 > verbose: 4 > weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3 > weight-l: 0.5000 > weight-t: 0.2 0.2 0.2 0.2 0.2 > weight-w: -1 > ... > It loads LM and TM normally, however, during decoding : > ... > [files ; 1-1] > Translating line 5 in thread id 1163602240 > Translating: File Open Options > > Translation Option Collection > > Translating line 4 in thread id 1153112384 > Translating: Productstream item properties > > [item ; 1-1] > PropertySegmentation fault > > If I run the same command with -threads 1 or without this parameter > everything works well. > I've got SVN 3939 compiled with --enabled-threads. Did I missed > something, or is it a bug? > > > Thanks, Tomas > > > > _______________________________________________ > Moses-support mailing list > [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
