Didn't fix the error (it's not mine anyway), but I've added set -e to
the script so that you'll see the real error message, a segfault in
generateSequences, instead of compound errors from subsequent commands.

On 08/26/13 21:03, Philipp Koehn wrote:
> Hi,
> 
> my guess would be this happening due to lack of RAM. 
> Can you monitor memory usage while training runs?
> 
> -phi
> 
> 
> On Mon, Aug 26, 2013 at 7:26 PM, jian zhang <jianzhan...@gmail.com
> <mailto:jianzhan...@gmail.com>> wrote:
> 
>     Hi,
> 
>     I got the Segmentation fault exception while running script
>     OSM-Train.sh.
> 
>     *The output from OSM-Train.sh:*
> 
>     Training OSM - Start
>     Mon Aug 26 19:14:47 IST 2013
>     Extracting Singletons
>     3000Converting Bilingual Sentence Pair into Operation Corpus
>     */home/user/moses-experiment/mosesdecoder-master/scripts/OSM/OSM-Train.sh:
>     line 18: 25670 Segmentation fault    
>      $6/scripts/OSM/generateSequences $5/e $5/f $5/align $5/Singletons >
>     $5/opCorpus*
>     Learning Operation Sequence Translation Model
>     one of required modified KneserNey count-of-counts is zero
>     error in discount estimator for order 1
>     Binarizing
>     util/file.cc:63 in int util::OpenReadOrThrow(const char*) threw
>     ErrnoException because `-1 == (ret = open(name, 00))'.
>     No such file or directory while opening
>     /home/user/osm-test/output/operationLM
>     ERROR
>     Training OSM - End
> 
>     The command I am using is:
> 
>     ${MOSES_DIR}/scripts/OSM/OSM-Train.sh ${SOURCE} ${TARGET} ${ALIGN}
>     ${ORDER} ${WORKDIR} ${MOSES_DIR} ${SRILM_BINDIR}
> 
>     All variables are using absolute path.
> 
>     I was trying to look at the source code of generateSequences to
>     debug, but seems like it is not in the moses distribution. So, what
>     can cause this error?
> 
> 
>     Thanks,
> 
>     Jian Zhang
> 
> 
>     _______________________________________________
>     Moses-support mailing list
>     Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>     http://mailman.mit.edu/mailman/listinfo/moses-support
> 
> 
> 
> 
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
> 
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to