489 |
if test "x$RETVAL" != x0 ; then |
if test "x$RETVAL" != x0 ; then |
490 |
tail make.tr_log |
tail make.tr_log |
491 |
echo failed |
echo failed |
492 |
cp make.tr_log genmake.log genmake.tr_log $CDIR |
cp genmake.log genmake.tr_log $CDIR |
493 |
|
tail -$NBLINES_MKLOG make.tr_log > $CDIR"/make.tr_log_tail" |
494 |
rm -f $EXECUTABLE |
rm -f $EXECUTABLE |
495 |
mk_fail=1 |
mk_fail=1 |
496 |
else |
else |
727 |
else |
else |
728 |
if test ! -f $OUTPUTFILE -o $OUTPUTFILE -ot $EXECUTABLE ; then |
if test ! -f $OUTPUTFILE -o $OUTPUTFILE -ot $EXECUTABLE ; then |
729 |
# output do not exist or is older than executable: |
# output do not exist or is older than executable: |
730 |
rm -f $RUNLOG ; touch $RUNLOG |
rm -f $OUTPUTFILE $RUNLOG ; touch $RUNLOG |
731 |
if test -f run.log_tmp ; then cat run.log_tmp >> $RUNLOG ; fi |
if test -f run.log_tmp ; then cat run.log_tmp >> $RUNLOG ; fi |
732 |
( eval $COMMAND ) >> $RUNLOG 2>&1 |
( eval $COMMAND ) >> $RUNLOG 2>&1 |
733 |
RETVAL=$? |
RETVAL=$? |
916 |
# Default properties |
# Default properties |
917 |
debug=0 |
debug=0 |
918 |
verbose=1 |
verbose=1 |
919 |
|
NBLINES_MKLOG=16000 |
920 |
|
|
921 |
IEEE=true |
IEEE=true |
922 |
if test "x$MITGCM_IEEE" != x ; then |
if test "x$MITGCM_IEEE" != x ; then |