#!/bin/tcsh
#
set rootdir = $1
if (! -d $rootdir) then
  echo $0 WARNING: no such directory $rootdir
  exit
endif
set find00 = `find $rootdir -name \*00.out`

echo '-------------------------------------------------------------------------' 
  fgrep "Model simulation time" $find00
echo '-------------------------------------------------------------------------' 
  fgrep "Average secs" $find00
echo '-------------------------------------------------------------------------'
  fgrep "Average mins" $find00
echo '-------------------------------------------------------------------------'
  fgrep "Total wallclock time" $find00
echo '-------------------------------------------------------------------------'
