/[MITgcm]/MITgcm/tools/example_scripts/csail/test_baudelaire
ViewVC logotype

Diff of /MITgcm/tools/example_scripts/csail/test_baudelaire

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

revision 1.23 by jmc, Sat Jan 30 15:55:45 2016 UTC revision 1.29 by jmc, Sun Jul 10 14:30:24 2016 UTC
# Line 85  if test $checkOut = 2 ; then Line 85  if test $checkOut = 2 ; then
85    cd $tdir    cd $tdir
86    $cmdCVS co -P MITgcm > /dev/null    $cmdCVS co -P MITgcm > /dev/null
87    echo "  done"    echo "  done"
88      if test -d other_input ; then
89        list_dirs=`(cd other_input ; ls 2> /dev/null )`
90        echo "Updating ( $cmdCVS update -P -d ) 'other_input' extra dirs:"
91        for exd in $list_dirs ; do
92         if test -d other_input/$exd/CVS ; then echo "  $exd"
93          ( cd other_input/$exd ; $cmdCVS update -P -d )
94         fi
95        done
96        echo " <-- update of 'other_input' dirs done"
97      fi
98  else  else
99    cd $tdir    cd $tdir
100  fi  fi
# Line 101  do Line 111  do
111    #- define list of additional experiences to test:    #- define list of additional experiences to test:
112    addExp=''    addExp=''
113    if test $typ = 'mp2' -o $typ = 'ifc' ; then    if test $typ = 'mp2' -o $typ = 'ifc' ; then
114      addExp='offline_cheapaml atm_gray'      addExp="offline_cheapaml atm_gray"
115      fi
116      if test $typ = 'gfo' -o $typ = 'ifc' ; then
117        addExp="$addExp global_oce_biogeo_bling"
118        addExp="$addExp shelfice_remeshing"
119      fi
120      if test $typ = 'mpi' ; then
121        addExp="$addExp global_oce_cs32"
122    fi    fi
123    #- check day and time:    #- check day and time:
124    curDay=`date +%d` ; curHour=`date +%H`    curDay=`date +%d` ; curHour=`date +%H`
# Line 152  do Line 169  do
169          echo " add dir: $exp2add (from Contrib:verification_other)"          echo " add dir: $exp2add (from Contrib:verification_other)"
170          ( cd verification ;  $cmdCVS co -P -d $exp2add \          ( cd verification ;  $cmdCVS co -P -d $exp2add \
171               MITgcm_contrib/verification_other/$exp2add > /dev/null )               MITgcm_contrib/verification_other/$exp2add > /dev/null )
172            if test $exp2add = 'global_oce_cs32' ; then
173              echo " link dir 'other_input/gael_oce_cs32_input' to 'input_fields'"
174              ( cd verification/${exp2add}
175                ln -s ../../../other_input/gael_oce_cs32_input input_fields )
176            fi
177            if test $exp2add = 'shelfice_remeshing' ; then
178              echo " link dir 'other_input/remeshing_code' to 'extra_code'"
179              ( cd verification/${exp2add}
180                ln -s ../../../other_input/remeshing_code extra_code )
181            fi
182        done        done
183      fi      fi
184    else    else

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.22