34 |
#git_repo="git://github.com/$git_repo" |
#git_repo="git://github.com/$git_repo" |
35 |
#git_repo="git@github.com:$git_repo" |
#git_repo="git@github.com:$git_repo" |
36 |
|
|
37 |
|
#------------------------------------------------------------------- |
38 |
# checkOut=3 : clone from GitHub and make a new copy (if sepDir) |
# checkOut=3 : clone from GitHub and make a new copy (if sepDir) |
39 |
# =2 : update (git pull) repo and make a new copy code (switch to 2 if no repo) |
# =2 : update (git pull) repo and make a new copy code (switch to 3 if no repo) |
40 |
# =1 : skip update but use a new copy (if sepDir) |
# =1 : skip update but use a new copy (if sepDir) |
41 |
# =0 : use existing test code ( switch to 1 if missing test code ) |
# =0 : use existing test code ( switch to 1 if missing test code ) |
42 |
dInWeek=`date +%a` |
dInWeek=`date +%a` |
54 |
if test $tst_grp = 'a' ; then |
if test $tst_grp = 'a' ; then |
55 |
checkOut=2 |
checkOut=2 |
56 |
#tst_list='g7a mpa mth mp2+rs mpi oad' |
#tst_list='g7a mpa mth mp2+rs mpi oad' |
57 |
tst_list='mpa adm mpi gfo+rs mth+rs' |
tst_list='mpa adm g7a mpi mth+rs gfo+rs g77' |
58 |
#tst_list="$tst_list oad" |
#tst_list="$tst_list oad" |
59 |
else |
else |
60 |
checkOut=1 |
checkOut=1 |
198 |
#- define list of additional experiences to test: |
#- define list of additional experiences to test: |
199 |
addExp='' |
addExp='' |
200 |
if test $typ = 'mpi' ; then |
if test $typ = 'mpi' ; then |
201 |
addExp="offline_cheapaml atm_gray" |
addExp="offline_cheapaml atm_gray atm_strato" |
202 |
fi |
fi |
203 |
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
if test $typ = 'gfo' -o $typ = 'ifc' -o $typ = 'mpa' ; then |
204 |
addExp="$addExp global_oce_biogeo_bling" |
addExp="$addExp global_oce_biogeo_bling" |
205 |
|
fi |
206 |
|
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
207 |
addExp="$addExp shelfice_remeshing" |
addExp="$addExp shelfice_remeshing" |
208 |
fi |
fi |
209 |
if test $typ = 'mpi' ; then |
if test $typ = 'mpi' ; then |
237 |
if test $sepDir = 1 ; then |
if test $sepDir = 1 ; then |
238 |
new_dir="MITgcm_$typ" |
new_dir="MITgcm_$typ" |
239 |
reUse=0 ; if [ $checkOut -le 0 ] ; then reUse=1 ; fi |
reUse=0 ; if [ $checkOut -le 0 ] ; then reUse=1 ; fi |
240 |
if test -d $new_dir/CVS -a $reUse = 1 ; then |
if test -d $new_dir/doc -a $reUse = 1 ; then |
241 |
cd $tdir/$new_dir |
cd $tdir/$new_dir |
242 |
if test $tt != $typ ; then |
if test $tt != $typ ; then |
243 |
( cd verification ; ../tools/do_tst_2+2 -clean ) |
( cd verification ; ../tools/do_tst_2+2 -clean ) |