Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
--- mitgcm.org/front_content/make_summary 2010/03/02 19:26:10 1.61
+++ mitgcm.org/front_content/make_summary 2010/03/05 20:18:54 1.62
@@ -1,6 +1,6 @@
#! /usr/bin/env bash
-# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.61 2010/03/02 19:26:10 jmc Exp $
+# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/front_content/make_summary,v 1.62 2010/03/05 20:18:54 jmc Exp $
#
# The purpose of this script is to create HTML summaries of the
# directories produced by the "parse_emails" script.
@@ -139,12 +139,17 @@
RESTART=0
NOI3E=0
MTH=0
+ UR4=0
if test -r $dir/summary.txt ; then
comm=`grep 'ADJOINT=true' $dir/summary.txt 2>/dev/null`
eval $comm
RESTART=`grep -c 'test 2+2=4 summary' $dir/summary.txt`
NOI3E=`grep -c "^run: .*testreport.* '*-noieee'*" $dir/summary.txt`
MTH=`grep -c "^run: .*testreport.* -mth " $dir/summary.txt`
+ UR4=`grep -c "^run: .*testreport.* -use_r4 " $dir/summary.txt`
+ if test "x$UR4" = x0 ; then
+ UR4=`grep -c "^run: .*testreport.* -ur4 " $dir/summary.txt`
+ fi
fi
if test "x$RESTART" = x0 ; then
kind="forward"
@@ -152,6 +157,9 @@
else
kind="restart"
fi
+ if test "x$UR4" = x1 ; then
+ OPTFILE="${OPTFILE}.use_r4"
+ fi
if test "x$MTH" = x1 ; then
yy=`echo $OPTFILE | grep -c '+mth$'`
if test $yy = 0 ; then OPTFILE="${OPTFILE}+mth" ; fi
| ViewVC Help | |
| Powered by ViewVC 1.1.22 |