5 |
#PBS -l nodes=1:ppn=2 |
#PBS -l nodes=1:ppn=2 |
6 |
#PBS -e /home/jmc/test_aces/output/tst_mth.stderr |
#PBS -e /home/jmc/test_aces/output/tst_mth.stderr |
7 |
#PBS -o /home/jmc/test_aces/output/tst_mth.stdout |
#PBS -o /home/jmc/test_aces/output/tst_mth.stdout |
8 |
|
|
9 |
# $Header$ |
# $Header$ |
10 |
# $Name$ |
# $Name$ |
11 |
|
|
52 |
fi |
fi |
53 |
if [ $checkOut -eq 1 ] ; then |
if [ $checkOut -eq 1 ] ; then |
54 |
if test -d $gcmDIR/CVS ; then |
if test -d $gcmDIR/CVS ; then |
55 |
/bin/rm -rf $gcmDIR/verification/??_${dNam}-${sfx}_????????_? |
#- remove previous output tar files and tar & remove previous output-dir |
56 |
|
/bin/rm -f $gcmDIR/verification/??_${dNam}-${sfx}_????????_?.tar.gz |
57 |
|
( cd $gcmDIR/verification |
58 |
|
listD=`ls -1 -d ??_${dNam}-${sfx}_????????_?` |
59 |
|
for dd in $listD |
60 |
|
do |
61 |
|
if test -d $dd ; then |
62 |
|
tar -cf ${dd}".tar" $dd > /dev/null 2>&1 && gzip ${dd}".tar" && /bin/rm -rf $dd |
63 |
|
RETVAL=$? |
64 |
|
if test "x$RETVAL" != x0 ; then |
65 |
|
echo "ERROR in tar+gzip prev outp-dir: $dd" |
66 |
|
echo " on '"`hostname`"' (return val=$RETVAL) but continue" |
67 |
|
fi |
68 |
|
fi |
69 |
|
done ) |
70 |
( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean ) |
( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean ) |
71 |
echo "cvs update of dir $gcmDIR :" |
echo "cvs update of dir $gcmDIR :" |
72 |
( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) 2>&1 |
( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) 2>&1 |