Skip to content

Commit

Permalink
keep log
Browse files Browse the repository at this point in the history
  • Loading branch information
jiang548 committed May 4, 2022
1 parent 4ef1360 commit 5371972
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions script/network/bts1gensub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions script/network/bts2gensub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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"

Expand Down

0 comments on commit 5371972

Please sign in to comment.