Skip to content

Commit 36190c3

Browse files
authored
Merge pull request #15527 from gforney/master
scripts: also look for _cat in .out and cpu.csv file names when compu…
2 parents 2f112bd + 7e16a93 commit 36190c3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Utilities/Scripts/timing_stats.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,16 @@ outfile=$fdsbase.out
4040
cpufile=${fdsbase}_cpu.csv
4141
cd $dir
4242
if ! [ -e $outfile ]; then
43-
exit
43+
outfile=${fdsbase}_cat.out
44+
if ! [ -e $outfile ]; then
45+
exit
46+
fi
4447
fi
4548
if ! [ -e $cpufile ]; then
46-
exit
49+
cpufile=${fdsbase}_cat_cpu.csv
50+
if ! [ -e $cpufile ]; then
51+
exit
52+
fi
4753
fi
4854
# Grep for wall clock time
4955
WALL_CLOCK_TIME_VALUE=`grep -H "Total Elapsed Wall Clock Time (s):" "$outfile" | awk -F' ' '{print $(NF)}'`

0 commit comments

Comments
 (0)