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 |
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` |
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 |