45 |
TESTDIR="$HOME/test_${dNam}" |
TESTDIR="$HOME/test_${dNam}" |
46 |
#TESTDIR="/scratch/jmc/test_${dNam}" |
#TESTDIR="/scratch/jmc/test_${dNam}" |
47 |
MC=13 ; outDir="${dNam}-${tst_grp}" |
MC=13 ; outDir="${dNam}-${tst_grp}" |
48 |
MC=11 ;#outDir=$dNam |
#MC=11 ;#outDir=$dNam |
49 |
sepDir=1 |
sepDir=1 |
50 |
option= |
option= |
51 |
|
|
54 |
tst_list='mpa mpi mp2+rs mth' |
tst_list='mpa mpi mp2+rs mth' |
55 |
else |
else |
56 |
checkOut=1 |
checkOut=1 |
57 |
tst_list='adm gfo+rs' |
tst_list='adm tlm gfo+rs' |
58 |
#tst_list="$tst_list oad" |
#tst_list="$tst_list oad" |
59 |
if test "x$dInWeek" = xSun ; then tst_list="$tst_list tlm" ; fi |
#if test "x$dInWeek" = xSun ; then tst_list="$tst_list tlm" ; fi |
60 |
fi |
fi |
61 |
echo " test: $outDir ; list='$tst_list'" |
echo " test: $outDir ; list='$tst_list'" |
62 |
|
|
196 |
addExp='' |
addExp='' |
197 |
if test $typ = 'mpi' ; then |
if test $typ = 'mpi' ; then |
198 |
addExp="offline_cheapaml atm_gray atm_strato" |
addExp="offline_cheapaml atm_gray atm_strato" |
199 |
fi |
addExp="$addExp global_oce_cs32" |
200 |
if test $typ = 'gfo' -o $typ = 'ifc' -o $typ = 'adm' ; then |
addExp="$addExp global_oce_llc90" |
|
addExp="$addExp global_oce_biogeo_bling" |
|
201 |
fi |
fi |
202 |
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
203 |
addExp="$addExp shelfice_remeshing" |
addExp="$addExp shelfice_remeshing" |
204 |
fi |
fi |
205 |
if test $typ = 'mpi' ; then |
if test $typ = 'gfo' ; then |
206 |
addExp="$addExp global_ocean.gm_k3d" |
addExp="$addExp global_ocean.gm_k3d" |
207 |
addExp="$addExp global_oce_cs32" |
addExp="$addExp global_ocean.gm_res" |
|
addExp="$addExp global_oce_llc90" |
|
208 |
fi |
fi |
209 |
#- check day and time: |
#- check day and time: |
210 |
curDay=`date +%d` ; curHour=`date +%H` |
curDay=`date +%d` ; curHour=`date +%H` |
303 |
( cd verification ; ln -s ../$git_other/$exp2add . ) |
( cd verification ; ln -s ../$git_other/$exp2add . ) |
304 |
if test $exp2add = 'global_oce_cs32' ; then |
if test $exp2add = 'global_oce_cs32' ; then |
305 |
echo " link dir 'other_input/core2_cnyf' in here" | tee -a $tdir/output_$tt |
echo " link dir 'other_input/core2_cnyf' in here" | tee -a $tdir/output_$tt |
306 |
( cd verification/${exp2add} |
( cd ${git_other}/${exp2add} |
307 |
ln -s ../../../other_input/core2_cnyf . ) |
ln -s ../../../other_input/core2_cnyf . ) |
308 |
fi |
fi |
309 |
|
if test $exp2add = 'global_oce_llc90' ; then |
310 |
|
echo " link dir 'other_input/gael_oce_llc90_input' to 'input_fields'" \ |
311 |
|
| tee -a $tdir/output_$tt |
312 |
|
( cd ${git_other}/${exp2add} |
313 |
|
test -L input_fields && /bin/rm -f input_fields |
314 |
|
ln -s ../../../other_input/gael_oce_llc90_input input_fields |
315 |
|
echo " link dirs: 'core2_cnyf' & 'global_oce_input_fields/*' in input_verifs" \ |
316 |
|
| tee -a $tdir/output_$tt |
317 |
|
test ! -e input_verifs && mkdir input_verifs |
318 |
|
( cd input_verifs ; /bin/rm -f * |
319 |
|
ln -s ../../../../other_input/core2_cnyf . |
320 |
|
ln -s ../../../../other_input/global_oce_input_fields/* . ) |
321 |
|
) |
322 |
|
fi |
323 |
#if test $exp2add = 'shelfice_remeshing' ; then |
#if test $exp2add = 'shelfice_remeshing' ; then |
324 |
# echo " link dir 'other_input/remeshing_code' to 'extra_code'" | tee -a $tdir/output_$tt |
# echo " link dir 'other_input/remeshing_code' to 'extra_code'" | tee -a $tdir/output_$tt |
325 |
# ( cd verification/${exp2add} |
# ( cd ${git_other}/${exp2add} |
326 |
# ln -s ../../../other_input/remeshing_code extra_code ) |
# ln -s ../../../other_input/remeshing_code extra_code ) |
327 |
#fi |
#fi |
328 |
done |
done |
352 |
MPI=0 |
MPI=0 |
353 |
case $typ in |
case $typ in |
354 |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
355 |
'gfo'|'adm'|'oad'|'tlm'|'mth') comm="$comm -match $MC -devel" |
'gfo'|'adm'|'oad'|'tlm'|'mth') comm="$comm -devel" |
356 |
|
comm="$comm -match $MC" |
357 |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
358 |
'ifc') comm="$comm -devel" |
'ifc') comm="$comm -devel" |
359 |
OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |
OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |