hi beppe that's strange and slightly troubling. I just ran into a similar issue.
I had thought that the threadcount variable wasn't initialized but that doesn't seem to be the case. i've just updated the code to show how many threads was specified. https://github.com/moses-smt/mosesdecoder/commit/8d2663acd9d49b75bc9f87f56d71e43e36de8e65 if it happens again, please let me know On Tue, Feb 7, 2012 at 9:41 PM, Giuseppe Attardi <[email protected]>wrote: > 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 >
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
