Skip to content

Commit

Permalink
progress bar manage
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang548 committed May 4, 2022
1 parent 597b94b commit 5c903a6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion script/file_manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion script/network/bts1gensub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion script/network/bts2gensub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 5c903a6

Please sign in to comment.