"sh: 1: qsub: not found" Error while using GPU

97 views
Skip to first unread message

Amol Bole

unread,
Feb 15, 2019, 5:37:35 AM2/15/19
to kaldi-help

I am trying to build HMM-GMM model by using GPU for my own data, Nvidia drivers are also installed properly, CUDA 7.5 is also installed properly but I am getting following error while running.

umar@R730_UP:/data/shushant/speech_to_text/speech_combine_ng_dnn$ ./myrun.sh 
============================================================================
         MFCC Feature Extration & CMVN for Training and Test set           
============================================================================
steps/make_mfcc.sh --cmd queue.pl --nj 4 data/train exp/make_mfcc/train mfcc
utils/validate_data_dir.sh: Successfully validated data-directory data/train
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   -t 1:4 /data/shushant/speech_to_text/speech_combine_ng_dnn/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: 1: qsub: not found


I opened the log file and error is "sh: 1: qsub: not found"

Here is the ./configure command output.

umar@R730_UP:/data/shushant/speech_to_text/kaldi/src$ ./configure --cudatk-dir=/usr/local/cuda-7.5/
Configuring ...
Checking compiler g++ ...
Checking OpenFst library in /data/shushant/speech_to_text/kaldi/tools/openfst ...
Checking cub library in /data/shushant/speech_to_text/kaldi/tools/cub ...
Doing OS specific configurations ...
On Linux: Checking for linear algebra header files ...
Using ATLAS as the linear algebra library.
Successfully configured ATLAS with ATLASLIBS=/usr/lib/libatlas.so.3 /usr/lib/libf77blas.so.3 /usr/lib/libcblas.so.3 /usr/lib/liblapack_atlas.so.3
Using CUDA toolkit /usr/local/cuda-7.5 (nvcc compiler and runtime libraries)
Info: configuring Kaldi not to link with Speex (don't worry, it's only needed if you
intend to use 'compress-uncompress-speex', which is very unlikely)
SUCCESS
To compile: make clean -j; make depend -j; make -j
 ... or e.g. -j 10, instead of -j, to use a specified number of CPUs.


I attached here my run.sh and cmd.sh. Can you help me how to use GPU for this training?

cmd.sh
run.sh

Astik Biswas

unread,
Feb 15, 2019, 5:42:11 AM2/15/19
to kaldi...@googlegroups.com
Hello, 

use run.pl instead of queue.pl while running on single machine.

--
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/4cc650b4-969f-43ef-94a4-08ecab6b6908%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Amol Bole

unread,
Feb 15, 2019, 6:01:04 AM2/15/19
to kaldi-help
in cmd.sh or in run.sh or in both I have to use run.pl?

Astik Biswas

unread,
Feb 15, 2019, 6:33:38 AM2/15/19
to kaldi...@googlegroups.com
Yes, you have to change cmd.sh and you need to use run.pl instead of queue.pl.

Amol Bole

unread,
Feb 15, 2019, 8:00:35 AM2/15/19
to kaldi-help
Getting same error if I am replacing in only cmd.sh

Jan Trmal

unread,
Feb 15, 2019, 9:53:51 AM2/15/19
to kaldi-help
The suggestion was right -- you will have to find all places where queue.pl is in your scripts and replace it by run.pl
y.

Amol Bole

unread,
Feb 27, 2019, 12:25:57 AM2/27/19
to kaldi-help
Running perfectly ... Thanks for your suggestion...
Reply all
Reply to author
Forward
0 new messages