]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/kaldi.git/blob - egs/fame/s5/cmd.sh
[scripts] Change hostname -d to hostname -f for mac compatibility.
[processor-sdk/kaldi.git] / egs / fame / s5 / cmd.sh
1 # you can change cmd.sh depending on what type of queue you are using.
2 # If you have no queueing system and want to run on a local machine, you
3 # can change all instances 'queue.pl' to run.pl (but be careful and run
4 # commands one by one: most recipes will exhaust the memory on your
5 # machine).  queue.pl works with GridEngine (qsub).  slurm.pl works
6 # with slurm.  Different queues are configured differently, with different
7 # queue names and different ways of specifying things like memory;
8 # to account for these differences you can create and edit the file
9 # conf/queue.conf to match your queue's configuration.  Search for
10 # conf/queue.conf in http://kaldi-asr.org/doc/queue.html for more information,
11 # or search for the string 'default_config' in utils/queue.pl or utils/slurm.pl.
13 export train_cmd=queue.pl
14 export decode_cmd="queue.pl --mem 2G"
15 # the use of cuda_cmd is deprecated, used only in 'nnet1',
16 export cuda_cmd="queue.pl --gpu 1"
18 if [[ "$(hostname -f)" == "*.fit.vutbr.cz" ]]; then
19   queue_conf=$HOME/queue_conf/default.conf # see example /homes/kazi/iveselyk/queue_conf/default.conf,
20   export train_cmd="queue.pl --config $queue_conf --mem 2G --matylda 0.2"
21   export decode_cmd="queue.pl --config $queue_conf --mem 3G --matylda 0.1"
22   export cuda_cmd="queue.pl --config $queue_conf --gpu 1 --mem 10G --tmp 40G"
23 fi