When configuring moses using the option link=shared in order to generate 
shared libraries, the moses command crashes as follows:

moses -f moses.ini
Defined parameters (per moses.ini or switch):
         config: moses.ini
         distortion-file: 0-0 wbe-msd-bidirectional-fe-allff 6 
/project/piqasso/Experiments/MT/model/nov15/it-en/reordering-table
         distortion-limit: 6
         input-factors: 0
         lmodel-file: 1 0 5 
/project/piqasso/Experiments/MT/corpora/lm/english.blm.mm
         mapping: 0 T 0
         ttable-file: 1 0 0 5 
/project/piqasso/Experiments/MT/model/nov15/it-en/phrase-table
         ttable-limit: 20
         weight-d: 0.3 0.3 0.3 0.3 0.3 0.3 0.3
         weight-l: 0.5000
         weight-t: 0.20 0.20 0.20 0.20 0.20
         weight-w: -1
Loading lexical distortion models...have 1 models
Creating lexical reordering...
weights: 0.300 0.300 0.300 0.300 0.300 0.300
binary file loaded, default OFF_T: -1
Start loading LanguageModel 
/project/piqasso/Experiments/MT/corpora/lm/english.blm.mm : [1.000] seconds
In LanguageModelIRST::Load: nGramOrder = 5
ERROR:IRST LM not-threadsafe
single factor model failed
reset mmap
Segmentation fault


The exact bjam configuration is as follows:

/bjam -j8 link=shared --prefix=/tools --with-irstlm=/tools 
--with-giza=/tools/giza-pp/bin --install-scripts=/tools/scripts

If I remove the link=shared option, it works correctly.

-- Beppe

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to