/[MITgcm]/MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mth
ViewVC logotype

Diff of /MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mth

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.21 by jmc, Mon Mar 12 20:46:02 2012 UTC revision 1.22 by jmc, Tue May 1 13:20:39 2012 UTC
# Line 5  Line 5 
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    
# Line 52  if [ $dsp -le 1000000 ] ; then Line 52  if [ $dsp -le 1000000 ] ; then
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

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.22