| 13 |
dd1=`date +%d -d "1 day"` |
dd1=`date +%d -d "1 day"` |
| 14 |
# if test $dd1 != '01' ; then echo 'not last day of month'; exit ; fi |
# if test $dd1 != '01' ; then echo 'not last day of month'; exit ; fi |
| 15 |
elif test $1 = gfort ; then |
elif test $1 = gfort ; then |
| 16 |
tst_list='gadm gads gad4 gmp4 gmp2 gfo gfo4 g77' |
tst_list='gadm gads gad4 gmp4 gmp2 gfo gfo4' |
| 17 |
|
# tst_list="$tst_list g77 g7a" |
| 18 |
elif test $1 = gfor8 ; then |
elif test $1 = gfor8 ; then |
| 19 |
# tst_list='gadm gads gmp2 gmpi gfo g77' |
# tst_list='gadm gads gmp2 gmpi gfo g77' |
| 20 |
tst_list='gadm gads gmp2 gfo' |
tst_list='gadm gads gmp2 gfo' |
| 76 |
# set -x |
# set -x |
| 77 |
rm -f tr_clean_$tt.log |
rm -f tr_clean_$tt.log |
| 78 |
echo $tt | grep '^.ad' > /dev/null 2>&1 ; fwd=$? |
echo $tt | grep '^.ad' > /dev/null 2>&1 ; fwd=$? |
| 79 |
|
if test $tt = g7a ; then fwd=0 ; fi |
| 80 |
echo " testing tt= $tt , fwd= $fwd" |
echo " testing tt= $tt , fwd= $fwd" |
| 81 |
if test -e $gcmDIR/.git/config -a -d $gcmDIR/verification ; then |
if test -e $gcmDIR/.git/config -a -d $gcmDIR/verification ; then |
| 82 |
#- cleaning previous testreport run and updating the code: |
#- cleaning previous testreport run and updating the code: |
| 192 |
#- test restart: |
#- test restart: |
| 193 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
| 194 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 195 |
|
sed -n '/^===== Summary /,$ p' ../../tr_run_$tt.log |
| 196 |
;; |
;; |
| 197 |
|
|
| 198 |
'iur4') |
'iur4') |
| 209 |
#- test restart: |
#- test restart: |
| 210 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
| 211 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 212 |
|
sed -n '/^===== Summary /,$ p' ../../tr_run_$tt.log |
| 213 |
;; |
;; |
| 214 |
|
|
| 215 |
'gadm') |
'gadm') |
| 236 |
sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log |
sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log |
| 237 |
;; |
;; |
| 238 |
|
|
| 239 |
|
'g7a') |
| 240 |
|
|
| 241 |
|
./testreport -adm -of ../tools/build_options/linux_amd64_g77 \ |
| 242 |
|
-skd 'halfpipe_streamice' \ |
| 243 |
|
-nc $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 244 |
|
|
| 245 |
|
sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log |
| 246 |
|
;; |
| 247 |
|
|
| 248 |
'gmp2') |
'gmp2') |
| 249 |
|
|
| 250 |
export OMP_NUM_THREADS=2 |
export OMP_NUM_THREADS=2 |
| 258 |
#- test restart: |
#- test restart: |
| 259 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
| 260 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 261 |
|
sed -n '/^===== Summary /,$ p' ../../tr_run_$tt.log |
| 262 |
;; |
;; |
| 263 |
|
|
| 264 |
'gmpi') |
'gmpi') |
| 271 |
#- test restart: |
#- test restart: |
| 272 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
| 273 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 274 |
|
sed -n '/^===== Summary /,$ p' ../../tr_run_$tt.log |
| 275 |
;; |
;; |
| 276 |
|
|
| 277 |
'gmp4') |
'gmp4') |
| 284 |
#- test restart: |
#- test restart: |
| 285 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
| 286 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
../tools/do_tst_2+2 -mpi $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 287 |
|
sed -n '/^===== Summary /,$ p' ../../tr_run_$tt.log |
| 288 |
;; |
;; |
| 289 |
|
|
| 290 |
'gfo') |
'gfo') |
| 297 |
#- test restart: |
#- test restart: |
| 298 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
| 299 |
../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1 |
../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 300 |
|
sed -n '/^===== Summary /,$ p' ../../tr_run_$tt.log |
| 301 |
;; |
;; |
| 302 |
|
|
| 303 |
'gfo4') |
'gfo4') |
| 310 |
#- test restart: |
#- test restart: |
| 311 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
| 312 |
../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1 |
../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 313 |
|
sed -n '/^===== Summary /,$ p' ../../tr_run_$tt.log |
| 314 |
;; |
;; |
| 315 |
|
|
| 316 |
'g77') |
'g77') |
| 317 |
|
|
| 318 |
./testreport -of ../tools/build_options/linux_amd64_g77 \ |
./testreport -of ../tools/build_options/linux_amd64_g77 \ |
| 319 |
-skd 'fizhi-cs-32x32x40 fizhi-cs-aqualev20' \ |
-skd 'fizhi-cs-32x32x40 fizhi-cs-aqualev20 halfpipe_streamice internal_wave tutorial_advection_in_gyre' \ |
| 320 |
-nc $sendCmd >> ../../tr_run_$tt.log 2>&1 |
-nc $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 321 |
|
|
| 322 |
sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log |
sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log |
| 324 |
#- test restart: |
#- test restart: |
| 325 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
echo '' >> ../../tr_run_$tt.log 2>&1 |
| 326 |
../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1 |
../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1 |
| 327 |
|
sed -n '/^===== Summary /,$ p' ../../tr_run_$tt.log |
| 328 |
;; |
;; |
| 329 |
|
|
| 330 |
*) echo "unrecognized test suffix '$tt' <== skipped" ;; |
*) echo "unrecognized test suffix '$tt' <== skipped" ;; |