Hi Guchun It looks as though the prepare data step is unable to find or open your corpus.
What does the prepare-data script look like? In particular, does the file referenced by the -corpus argument exist, and and is it available to the cluster nodes? cheers - Barry On Friday 27 January 2012 17:33:50 Guchun Zhang wrote: > Hi there, > > I am trying to run EMS for factored training on SGE. The config is simple > -- use generic-parallelizer.perl and set job number to 2. No other settings > for SGE. > > At the training_prepare-data step, it crashed. The error given from the > stderr file is > > PATH=/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr > /bin:/sbin:/bin:/usr/games: Command not found. > Using SCRIPTS_ROOTDIR: ..... > ...... > ...... > (1.0.5) ...... > Use of uninitialized value $firstline in substitution (s///) at > /home/guchun/Work/moses/moses-scripts/training/train-model.perl line 646. > Use of uninitialized value $firstline in substitution (s///) at > /home/guchun/Work/moses/moses-scripts/training/train-model.perl line 646. > ...... > ...... > (1.3) ...... > Use of uninitialized value $txt in scalar chomp at > /home/guchun/Work/moses/moses-scripts/training/train-model.perl line 807. > Use of uninitialized value $txt in split at > /home/guchun/Work/moses/moses-scripts/training/train-model.perl line 810. > . > . > . > . > . > (1.3) numberizing corpus....... > > I checked $PATH on the execution nodes. The value on those nodes is without > the lightdm path entry. Does this $PATH difference cause the problem? Or is > it something else more profound? > > Any advice will be much appreciated. > > Have a nice weekend. > > Many thanks, > > Guchun > -- Barry Haddow University of Edinburgh +44 (0) 131 651 3173 -- 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
