264 |
testoutput_var $1 "trcstat_ptracer0"$ii"_mean" "p0"$ii"_mean" $2 $3; yy=$? ;; |
testoutput_var $1 "trcstat_ptracer0"$ii"_mean" "p0"$ii"_mean" $2 $3; yy=$? ;; |
265 |
'pt1sd'|'pt2sd'|'pt3sd'|'pt4sd'|'pt5sd') ii=`echo $xx | sed 's/pt//' | sed 's/..$//'` |
'pt1sd'|'pt2sd'|'pt3sd'|'pt4sd'|'pt5sd') ii=`echo $xx | sed 's/pt//' | sed 's/..$//'` |
266 |
testoutput_var $1 "trcstat_ptracer0"$ii"_sd" "p0"$ii"_StDv" $2 $3; yy=$? ;; |
testoutput_var $1 "trcstat_ptracer0"$ii"_sd" "p0"$ii"_StDv" $2 $3; yy=$? ;; |
267 |
'Qntmn') testoutput_var $1 "extforcing_qnet_min" "Qnet minimum" $2 $3; yy=$? ;; |
'Qntmn') testoutput_var $1 "forcing_qnet_min" "Qnet minimum" $2 $3; yy=$? ;; |
268 |
'Qntmx') testoutput_var $1 "extforcing_qnet_max" "Qnet maximum" $2 $3; yy=$? ;; |
'Qntmx') testoutput_var $1 "forcing_qnet_max" "Qnet maximum" $2 $3; yy=$? ;; |
269 |
'Qntav') testoutput_var $1 "extforcing_qnet_mean" "Qnet mean" $2 $3; yy=$? ;; |
'Qntav') testoutput_var $1 "forcing_qnet_mean" "Qnet mean" $2 $3; yy=$? ;; |
270 |
'Qntsd') testoutput_var $1 "extforcing_qnet_sd" "Qnet Std.Dev" $2 $3; yy=$? ;; |
'Qntsd') testoutput_var $1 "forcing_qnet_sd" "Qnet Std.Dev" $2 $3; yy=$? ;; |
271 |
'aSImn') testoutput_var $1 "seaice_area_min" "SIce Area min" $2 $3; yy=$? ;; |
'aSImn') testoutput_var $1 "seaice_area_min" "SIce Area min" $2 $3; yy=$? ;; |
272 |
'aSImx') testoutput_var $1 "seaice_area_max" "SIce Area max" $2 $3; yy=$? ;; |
'aSImx') testoutput_var $1 "seaice_area_max" "SIce Area max" $2 $3; yy=$? ;; |
273 |
'aSIav') testoutput_var $1 "seaice_area_mean" "SIce Area mean" $2 $3; yy=$? ;; |
'aSIav') testoutput_var $1 "seaice_area_mean" "SIce Area mean" $2 $3; yy=$? ;; |
385 |
cp make.log $CDIR"/make.log" |
cp make.log $CDIR"/make.log" |
386 |
return 1 |
return 1 |
387 |
fi |
fi |
388 |
|
echo successful 1>&2 |
389 |
|
else |
390 |
|
echo '' |
391 |
fi |
fi |
|
echo successful 1>&2 |
|
392 |
exit 0 |
exit 0 |
393 |
) |
) |
394 |
fi |
fi |
463 |
tail make.log |
tail make.log |
464 |
echo failed 1>&2 |
echo failed 1>&2 |
465 |
cp make.log $CDIR"/make.log" |
cp make.log $CDIR"/make.log" |
466 |
|
rm -f $EXECUTABLE |
467 |
return 1 |
return 1 |
468 |
else |
else |
469 |
echo successful 1>&2 |
echo successful 1>&2 |
1171 |
|
|
1172 |
# Cleanup only! |
# Cleanup only! |
1173 |
if test "x$CLEANUP" = xt ; then |
if test "x$CLEANUP" = xt ; then |
1174 |
if test -r $BUILD_DIR/Makefile ; then |
echo -n ' --- dir:' $BUILD_DIR ': ' |
1175 |
echo ' ------ clean dir:' $dir/$builddir |
makeclean $BUILD_DIR |
1176 |
( cd $BUILD_DIR ; make CLEAN ) |
rm -f $BUILD_DIR/$EXECUTABLE |
|
fi |
|
1177 |
if test -d $dir/$rundir/CVS ; then |
if test -d $dir/$rundir/CVS ; then |
1178 |
echo ' ------ clean dir:' $dir/$rundir |
echo -n ' --- dir:' $dir/$rundir ': ' |
1179 |
run_clean $dir/$rundir |
run_clean $dir/$rundir |
1180 |
fi |
fi |
1181 |
( |
trdir=`( cd $dir ; find . -type d -name "tr_run.*" -print | sed 's/^.\///')` |
1182 |
cd $dir |
ttd=`echo $trdir | wc -w` |
1183 |
rm -rf tr_run.* |
if test $ttd != 0 ; then |
1184 |
) |
echo ' --- rm dir:' $trdir |
1185 |
|
( cd $dir ; rm -rf $trdir ) |
1186 |
|
fi |
1187 |
continue |
continue |
1188 |
fi |
fi |
1189 |
|
|
1360 |
echo "An email containing results was sent to the following addresses:" |
echo "An email containing results was sent to the following addresses:" |
1361 |
echo " \"$ADDRESSES\"" |
echo " \"$ADDRESSES\"" |
1362 |
echo |
echo |
1363 |
|
test -f $DRESULTS".tar" && rm -f $DRESULTS".tar" |
1364 |
|
test -f $DRESULTS".tar.gz" && rm -f $DRESULTS".tar.gz" |
1365 |
fi |
fi |
|
test -f $DRESULTS".tar" && rm -f $DRESULTS".tar" |
|
|
test -f $DRESULTS".tar.gz" && rm -f $DRESULTS".tar.gz" |
|
1366 |
fi |
fi |
1367 |
fi |
fi |
1368 |
|
|