This look more like a Linux issue than Moses. You're running everything from /opt, which is usually owned by root. You probably want to use chown and chmod on /opt/too/s/Moses_1 to change ownership and permissions to the user who runs the commands.

On 05/04/2013 01:23 PM, arefeh Kazemi wrote:
Thank you Raohael,

it gtes the following error:
sh: 1: /opt/tools/Moses_1/mosesdecoder-RELEASE-1.0/mosesdecoder-RELEASE-1.0/scripts/generic/extract-parallel.perl: Permission denied
Exit code: 126
ERROR: Phrase extraction failed (missing input files?) at /opt/tools/Moses_1/mosesdecoder-RELEASE-1.0/mosesdecoder-RELEASE-1.0/scripts/training/train-model.perl line 1433.

I do the commands under the root and I don't know why it gets Permission denied.

------------------------------------------------------------------------
*From:* Raphael Payen <[email protected]>
*To:* arefeh Kazemi <[email protected]>
*Sent:* Saturday, May 4, 2013 1:25 AM
*Subject:* Re: [Moses-support] problem in the training step

The >& training.out has redirected the output to a file named training.out

--
Raphaƫl Payen

On Fri, May 3, 2013 at 4:58 PM, arefeh Kazemi <[email protected] <mailto:[email protected]>> wrote:
> Hi everyone
> when I run this command for training the moses, nothing is happen and it
> gets no output and error (it sometime gets some output like [3] 2674 where
> the numbers differs). Do anyone else have this problem too?
>
> nohup nice
> /opt/tools/Moses_1/mosesdecoder-RELEASE-1.0/mosesdecoder-RELEASE-1.0/scripts/training/train-model.perl > -root-dir train -corpus /opt/tools/dataset/corpus/fa-en.clean -f fa -e en
> -alignment grow-diag-final-and -reordering msd-bidirectional-fa  -lm
> 0:3:/opt/tools/lm/fa-en.blm.fa:8 -external-bin-dir
> /opt/tools/Moses_1/mosesdecoder-RELEASE-1.0/mosesdecoder-RELEASE-1.0/tools/
>>& training.out &
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected] <mailto:[email protected]>
> http://mailman.mit.edu/mailman/listinfo/moses-support
>




_______________________________________________
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

Reply via email to