236 |
printf 'genmake ... ' 1>&2 |
printf 'genmake ... ' 1>&2 |
237 |
$command > make.log 2>&1 |
$command > make.log 2>&1 |
238 |
RETVAL=$? |
RETVAL=$? |
239 |
cp Makefile $CDIR |
# Reduce the size of the testing emails! |
240 |
|
# cp Makefile $CDIR |
241 |
if test "x$RETVAL" != x0 ; then |
if test "x$RETVAL" != x0 ; then |
242 |
tail make.log |
tail make.log |
243 |
echo "genmakemodel: genmake failed" 1>&2 |
echo "genmakemodel: genmake failed" 1>&2 |
427 |
RETVAL=$? |
RETVAL=$? |
428 |
if test "x$RETVAL" = x0 ; then |
if test "x$RETVAL" = x0 ; then |
429 |
echo successful 1>&2 |
echo successful 1>&2 |
430 |
if test "x$ADM" = x ; then |
# === Reduce the size of the testing emails! |
431 |
cp output.txt $CDIR"/output.txt" |
# if test "x$ADM" = x ; then |
432 |
else |
# cp output.txt $CDIR"/output.txt" |
433 |
cp output.txt_adm $CDIR"/output.txt_adm" |
# else |
434 |
fi |
# cp output.txt_adm $CDIR"/output.txt_adm" |
435 |
|
# fi |
436 |
return 0 |
return 0 |
437 |
else |
else |
438 |
tail run.log |
tail run.log |
940 |
if test "x$HAVE_MPACK" = xt ; then |
if test "x$HAVE_MPACK" = xt ; then |
941 |
tar -cf $DRESULTS".tar" $DRESULTS > /dev/null 2>&1 \ |
tar -cf $DRESULTS".tar" $DRESULTS > /dev/null 2>&1 \ |
942 |
&& gzip $DRESULTS".tar" \ |
&& gzip $DRESULTS".tar" \ |
943 |
&& $MPACK -s MITgcm-test -m 1500000 $DRESULTS".tar.gz" $ADDRESSES |
&& $MPACK -s MITgcm-test -m 3555000 $DRESULTS".tar.gz" $ADDRESSES |
944 |
RETVAL=$? |
RETVAL=$? |
945 |
if test "x$RETVAL" != x0 ; then |
if test "x$RETVAL" != x0 ; then |
946 |
echo |
echo |