I am trying to submit 10 jobs using bsub command on a specific location.
$ bsub -q alloc -P acc_CLASSNAME\
> -J "Array_#4[1-10]"\
> -o "Output.%I" -n 1\
> -W 2:00 $HOME/bash/count.sh 1
when I run this, I am keep getting an error
Run limit must be specified using bsub -W.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Request aborted by esub. Job not submitted.
I am not sure why I am getting such error because I clearly limited the time with -W command on the last line. Can some one please help me to fix this problem?
Thank you
update with prepended commands -
$ bash -x bsub -q alloc -P acc_BSR1015
+ '[' -z '' ']'
+ case "$-" in
+ __lmod_vx=x
+ '[' -n x ']'
+ set +x
bash -x -W 120 $HOME/bash/count.sh 1
bash: -W: invalid option
Usage: bash [GNU long option] [option] ...
bash [GNU long option] [option] script-file ...