Output of qsub was: sh: qsub: command not found

3,677 views
Skip to first unread message

minnth...@gmail.com

unread,
Sep 10, 2018, 12:31:40 AM9/10/18
to kaldi-help
Hi,

I was trying to run the aishell example from kaldi/egs/aishell/v1/run.sh.
steps/make_mfcc.sh: [info]: no segments file exists: assuming wav.scp indexed by utterance.
queue.pl: Error submitting jobs to queue (return status was 32512)
queue log file is exp/make_mfcc/train/q/make_mfcc_train.log, command was qsub -v PATH -cwd -S /bin/bash -j y -l arch=*64* -o exp/make_mfcc/train/q/make_mfcc_train.log -l mem_free=4G,ram_free=4G   -t 1:4 /root/kaldi/egs/aishell/v1/exp/make_mfcc/train/q/make_mfcc_train.sh >>exp/make_mfcc/train/q/make_mfcc_train.log 2>&1
Output of qsub was: sh: qsub: command not found



Would you please help me to understand why this happening?

Thank you,
Minn

Daniel Povey

unread,
Sep 10, 2018, 12:33:39 AM9/10/18
to kaldi-help

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To post to this group, send email to kaldi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kaldi-help/56d3f363-32fb-494a-af0a-39c42701fd49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

minnth...@gmail.com

unread,
Sep 10, 2018, 1:59:43 AM9/10/18
to kaldi-help
Hi

Thanks for your advice.

But,

Is it convenient to run with run.pl instead of queue.pl?
I ran this example by changing run.pl in cmd.sh but the computer halts while running the .sh file in   sid/train_ivector_extractor.sh --cmd "$train_cmd --mem 10G" \  --num-iters 5 exp/full_ubm_1024/final.ubm data/train \   exp/extractor_1024.

entn-at

unread,
Sep 10, 2018, 2:10:06 AM9/10/18
to kaldi-help
Your machine may be running out of memory when parallel jobs are started with run.pl
Try setting train_cmd to "run.pl --max-jobs-run 1" in cmd.sh, so that only a single job is executed at a time. 

minnth...@gmail.com

unread,
Sep 10, 2018, 4:45:48 AM9/10/18
to kaldi-help
Hi entn-at,

I changed to "run.pl --max-jobs-run 1" in cmd.sh but I got this error

sid/train_ivector_extractor.sh --cmd run.pl --max-jobs-run 1 --mem 10G --num-iters 5 exp/full_ubm_1024/final.ubm data/train exp/extractor_1024
sid/train_ivector_extractor.sh: doing Gaussian selection and posterior computation
Accumulating stats (pass 0)
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.3.log
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.1.log
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.6.log
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.5.log
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.8.log
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.10.log
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.7.log
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.4.log
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.9.log
run.pl: job failed, log is in exp/extractor_1024/log/acc.0.2.log
Error accumulating stats on iteration 0


So, do I need to drop the parameter     --mem 10G      in calling      sid/train_ivector_extractor.sh --cmd run.pl --max-jobs-run 1 --mem 10G --num-iters 5 exp/full_ubm_1024/final.ubm data/train exp/extractor_1024   ?

Daniel Povey

unread,
Sep 10, 2018, 11:39:13 AM9/10/18
to kaldi-help
The --mem 10g option has no effect when calling run.pl, and the --max-jobs-run also has no effect here because it's not an array job.   You could try reducing the number of jobs from 10 to 1 (--nj 1) when invoking train_ivector_extractor.sh.   Obviously it will be slower.

--
Go to http://kaldi-asr.org/forums.html find out how to join
---
You received this message because you are subscribed to the Google Groups "kaldi-help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kaldi-help+...@googlegroups.com.
To post to this group, send email to kaldi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages