diff --git a/script/network/bts1gensub.sh b/script/network/bts1gensub.sh index d35835c..8817604 100755 --- a/script/network/bts1gensub.sh +++ b/script/network/bts1gensub.sh @@ -76,7 +76,7 @@ echo "sbatch -W sub$CHUNK.sh &" >> qsub1.sh fi walltime_s=$(echo $walltime | awk -F: '{ print (3600 * $1) + (60 * $2) + $3 }') -echo "progress_bar $walltime_s 100 40 params $NJOBS slurm" >> qsub1.sh +echo "progress_bar $walltime_s 100 40 params $NJOBS slurm &" >> qsub1.sh echo "wait" >> qsub1.sh #tmpqueue=($(slist|grep $queue)) @@ -96,7 +96,7 @@ else echo -e "Submitting $(wc -l < job1_command) jobs ... \n" fi -time sh qsub1.sh > submit1_log +time sh qsub1.sh | tee submit1_log echo -e "Checking the number of files\n" diff --git a/script/network/bts2gensub.sh b/script/network/bts2gensub.sh index 3d2f99a..5fbaa57 100755 --- a/script/network/bts2gensub.sh +++ b/script/network/bts2gensub.sh @@ -80,7 +80,7 @@ echo "sbatch -W sub$CHUNK.sh &" >> qsub2.sh fi walltime_s=$(echo $walltime | awk -F: '{ print (3600 * $1) + (60 * $2) + $3 }') -echo "progress_bar $walltime_s 100 40 params $NJOBS slurm" >> qsub2.sh +echo "progress_bar $walltime_s 100 40 params $NJOBS slurm &" >> qsub2.sh echo "wait" >> qsub2.sh #tmpqueue=($(slist|grep $queue)) @@ -100,7 +100,7 @@ else echo -e "Submitting $(wc -l < job2_command) jobs ... \n" fi -time sh qsub2.sh > submit2_log +time sh qsub2.sh | tee submit2_log echo -e "Checking the number of files\n"