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

Diff of /MITgcm/tools/example_scripts/ACESgrid/aces_test_ifc_mpi

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

revision 1.17 by jmc, Fri Jan 21 05:04:38 2011 UTC revision 1.18 by jmc, Wed Aug 17 20:45:35 2011 UTC
# Line 56  if [ $checkOut -eq 1 ] ; then Line 56  if [ $checkOut -eq 1 ] ; then
56      ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean )      ( cd $gcmDIR/verification ; ../tools/do_tst_2+2 -clean )
57      echo "cvs update of dir $gcmDIR :"      echo "cvs update of dir $gcmDIR :"
58      ( 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
59        RETVAL=$?
60        if test "x$RETVAL" != x0 ; then
61           echo " cvs update fail (return val=$RETVAL) => exit"
62           exit
63        fi
64    else    else
65      echo "no dir: $gcmDIR/CVS => try a fresh check-out"      echo "no dir: $gcmDIR/CVS => try a fresh check-out"
66      checkOut=2      checkOut=2
# Line 69  if [ $checkOut -eq 2 ] ; then Line 74  if [ $checkOut -eq 2 ] ; then
74    cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1    cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P -d $gcmDIR MITgcm > /dev/null 2>&1
75    /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs    /usr/bin/find $gcmDIR -type d | xargs chmod g+rxs
76    /usr/bin/find $gcmDIR -type f | xargs chmod g+r    /usr/bin/find $gcmDIR -type f | xargs chmod g+r
77    fi
78    
79    #- change dir to $gcmDIR/verification dir:
80    if test -e $gcmDIR/verification ; then
81      if [ $checkOut -lt 2 ] ; then
82        echo " dir $gcmDIR/verification exist" ; fi
83      cd $gcmDIR/verification
84  else  else
85    if test -e $gcmDIR/verification ; then    echo "no dir $gcmDIR/verification => exit"
86       echo "dir $gcmDIR/verification exist"    exit
   else  
      echo "no dir $gcmDIR/verification => exit"  
      exit  
   fi  
87  fi  fi
88    
 cd $gcmDIR/verification  
89  echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir aces-$sfx  echo ./testreport $options -of $OPTFILE -command \"$EXE\" -odir aces-$sfx
90  ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx  ./testreport $options -of $OPTFILE -command "$EXE" -odir aces-$sfx
91    

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.22