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 6e6be9d commit 123590aCopy full SHA for 123590a
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=$(python -c "print(${end_time} - ${start_time})")
+elapsed_time=$(echo "$end_time - $start_time" | bc -l)
8
echo $elapsed_time
0 commit comments