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

Diff of /MITgcm/tools/example_scripts/ACESgrid/test_aces_op64_tuv

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

revision 1.10 by jmc, Tue Mar 5 16:47:21 2013 UTC revision 1.11 by jmc, Thu Jun 13 22:01:34 2013 UTC
# Line 47  checkOut=1 Line 47  checkOut=1
47  #options="$options -nc" ; checkOut=0  #options="$options -nc" ; checkOut=0
48  #options="$options -q"  ; checkOut=0  #options="$options -q"  ; checkOut=0
49    
50    addExp=0
51    cvsArg="-d :pserver:cvsanon@mitgcm.org:/u/gcmpack"
52  gcmDIR="MITgcm_$sfx"  gcmDIR="MITgcm_$sfx"
53  cd $TST_DIR  cd $TST_DIR
54  #- check for disk space: relative space (99%) or absolute (10.G):  #- check for disk space: relative space (99%) or absolute (10.G):
# Line 77  if [ $checkOut -eq 1 ] ; then Line 79  if [ $checkOut -eq 1 ] ; then
79        done )        done )
80  #   ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean )  #   ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean )
81      echo "cvs update of dir $gcmDIR :"      echo "cvs update of dir $gcmDIR :"
82      ( cd $gcmDIR ; cvs -q -d :pserver:cvsanon@mitgcm.org:/u/gcmpack update -P -d ) 2>&1      ( cd $gcmDIR ; cvs -q $cvsArg update -P -d ) 2>&1
83      RETVAL=$?      RETVAL=$?
84      if test "x$RETVAL" != x0 ; then      if test "x$RETVAL" != x0 ; then
85         echo "cvs update on '"`hostname`"' fail (return val=$RETVAL) => exit"         echo "cvs update on '"`hostname`"' fail (return val=$RETVAL) => exit"
# Line 93  if [ $checkOut -eq 2 ] ; then Line 95  if [ $checkOut -eq 2 ] ; then
95       rm -rf $gcmDIR       rm -rf $gcmDIR
96    fi    fi
97  # cvs co MITgcm  # cvs co MITgcm
98    cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1    cvs $cvsArg co -P -d $gcmDIR MITgcm > /dev/null 2>&1
99      if [ $addExp -ge 1 ]; then
100       echo " add dir: offline_cheapaml (from Contrib:verification_other)"
101       ( cd $gcmDIR/verification ; cvs $cvsArg co -P -d offline_cheapaml \
102                      MITgcm_contrib/verification_other/offline_cheapaml > /dev/null 2>&1 )
103      fi
104    /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs    /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs
105    /usr/bin/find $gcmDIR -type f | xargs chmod g+r    /usr/bin/find $gcmDIR -type f | xargs chmod g+r
106  fi  fi

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22