In the current version built against boost 1 50, with #undef
WITH_THREADS I am getting invalid gzipped output using this option:

cat source.00000 target.00000 align.00000
1
1
0-0

/home/fraser/src/master/bin/extract-rules target.00000 source.00000
align.00000 extract.00000 --GlueGrammar glue-grammar.1 --MaxSpan 10
--GZOutput

zcat extract.00000.gz
1 [X] ||| 1 [X] ||| 0-0 ||| 1 |||

gzip: extract.00000.gz: invalid compressed data--length error

BTW, you are writing the glue-grammar to the same filename
(model/glue-grammar.1) in all threads, this is likely to cause
problems. It would be better to specify this option only for the first
run.

I am using the multithreaded GNU sort, I'll try the options you
specified, thanks.

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

Reply via email to