diff --git a/script/file_manage.sh b/script/file_manage.sh index 7303d84..8823b1a 100644 --- a/script/file_manage.sh +++ b/script/file_manage.sh @@ -112,11 +112,13 @@ prefix=$4 N=$5 slurm=${6:-slurm} +sleep 10 + time_lap=$(($1/$2)) N_record=0 -printf "Waiting for job to complete ..." +printf "Waiting for jobs to complete ..." while true do diff --git a/script/network/bts1gensub.sh b/script/network/bts1gensub.sh index f9b76d5..c4a3b05 100755 --- a/script/network/bts1gensub.sh +++ b/script/network/bts1gensub.sh @@ -96,7 +96,7 @@ else echo -e "Submitting $(wc -l < job1_command) jobs ... \n" fi -time sh qsub1.sh | tee submit1_log | grep "#" +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 70a67b1..5fbaa57 100755 --- a/script/network/bts2gensub.sh +++ b/script/network/bts2gensub.sh @@ -100,7 +100,7 @@ else echo -e "Submitting $(wc -l < job2_command) jobs ... \n" fi -time sh qsub2.sh | tee submit2_log | grep "#" +time sh qsub2.sh | tee submit2_log echo -e "Checking the number of files\n"