We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f579ec0 commit c6dc60fCopy full SHA for c6dc60f
tests/integration-tests/tests/performance_tests/test_starccm/test_starccm/starccm.results.sh
@@ -4,5 +4,5 @@ JOBID="$1"
4
OUTPUT=$(scontrol show jobs ${JOBID} | grep StdOut | cut -d '=' -f 2)
5
start_time=$(tail -n 250 ${OUTPUT} | grep " 501 " | awk '{print $NF}')
6
end_time=$(tail -n 250 ${OUTPUT} | grep " 600 " | awk '{print $NF}')
7
-elapsed_time=$(echo "$end_time - $start_time" | bc -l)
+elapsed_time=$(awk "BEGIN {print $end_time - $start_time}")
8
echo $elapsed_time
0 commit comments