/[MITgcm]/MITgcm_contrib/test_scripts/other/test_local
ViewVC logotype

Diff of /MITgcm_contrib/test_scripts/other/test_local

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

revision 1.8 by jmc, Mon Aug 3 14:11:49 2020 UTC revision 1.11 by jmc, Mon Nov 1 13:45:29 2021 UTC
# Line 13  else Line 13  else
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 g77 g7a'
17    elif test $1 = gfor8 ; then    elif test $1 = gfor8 ; then
18  #   tst_list='gadm gads gmp2 gmpi gfo g77'  #   tst_list='gadm gads gmp2 gmpi gfo g77'
19      tst_list='gadm gads gmp2 gfo'      tst_list='gadm gads gmp2 gfo'
# Line 75  do Line 75  do
75  # set -x  # set -x
76    rm -f tr_clean_$tt.log    rm -f tr_clean_$tt.log
77    echo $tt | grep '^.ad' > /dev/null 2>&1 ; fwd=$?    echo $tt | grep '^.ad' > /dev/null 2>&1 ; fwd=$?
78      if test $tt = g7a ; then fwd=0 ; fi
79    echo " testing tt= $tt , fwd= $fwd"    echo " testing tt= $tt , fwd= $fwd"
80   if test -e $gcmDIR/.git/config -a -d $gcmDIR/verification ; then   if test -e $gcmDIR/.git/config -a -d $gcmDIR/verification ; then
81   #- cleaning previous testreport run and updating the code:   #- cleaning previous testreport run and updating the code:
# Line 190  case $tt in Line 191  case $tt in
191    #- test restart:    #- test restart:
192    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
193    ../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
194      sed -n '/^=====  Summary /,$ p' ../../tr_run_$tt.log
195  ;;  ;;
196    
197  'iur4')  'iur4')
# Line 206  case $tt in Line 208  case $tt in
208    #- test restart:    #- test restart:
209    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
210    ../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
211      sed -n '/^=====  Summary /,$ p' ../../tr_run_$tt.log
212  ;;  ;;
213    
214  'gadm')  'gadm')
# Line 232  case $tt in Line 235  case $tt in
235    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
236  ;;  ;;
237    
238    'g7a')
239    
240      ./testreport -adm -of ../tools/build_options/linux_amd64_g77 \
241       -skd 'halfpipe_streamice' \
242       -nc $sendCmd >> ../../tr_run_$tt.log 2>&1
243    
244      sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
245    ;;
246    
247  'gmp2')  'gmp2')
248    
249    export OMP_NUM_THREADS=2    export OMP_NUM_THREADS=2
# Line 245  case $tt in Line 257  case $tt in
257    #- test restart:    #- test restart:
258    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
259    ../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
260      sed -n '/^=====  Summary /,$ p' ../../tr_run_$tt.log
261  ;;  ;;
262    
263  'gmpi')  'gmpi')
# Line 257  case $tt in Line 270  case $tt in
270    #- test restart:    #- test restart:
271    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
272    ../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
273      sed -n '/^=====  Summary /,$ p' ../../tr_run_$tt.log
274  ;;  ;;
275    
276  'gmp4')  'gmp4')
# Line 269  case $tt in Line 283  case $tt in
283    #- test restart:    #- test restart:
284    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
285    ../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
286      sed -n '/^=====  Summary /,$ p' ../../tr_run_$tt.log
287  ;;  ;;
288    
289  'gfo')  'gfo')
# Line 281  case $tt in Line 296  case $tt in
296    #- test restart:    #- test restart:
297    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
298    ../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1
299      sed -n '/^=====  Summary /,$ p' ../../tr_run_$tt.log
300  ;;  ;;
301    
302  'gfo4')  'gfo4')
# Line 293  case $tt in Line 309  case $tt in
309    #- test restart:    #- test restart:
310    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
311    ../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1
312      sed -n '/^=====  Summary /,$ p' ../../tr_run_$tt.log
313  ;;  ;;
314    
315  'g77')  'g77')
316    
317    ./testreport -of ../tools/build_options/linux_amd64_g77 \    ./testreport -of ../tools/build_options/linux_amd64_g77 \
318     -skd 'fizhi-cs-32x32x40 fizhi-cs-aqualev20' \     -skd 'fizhi-cs-32x32x40 fizhi-cs-aqualev20 halfpipe_streamice internal_wave tutorial_advection_in_gyre' \
319     -nc $sendCmd >> ../../tr_run_$tt.log 2>&1     -nc $sendCmd >> ../../tr_run_$tt.log 2>&1
320    
321    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
# Line 306  case $tt in Line 323  case $tt in
323    #- test restart:    #- test restart:
324    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
325    ../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 $sendCmd >> ../../tr_run_$tt.log 2>&1
326      sed -n '/^=====  Summary /,$ p' ../../tr_run_$tt.log
327  ;;  ;;
328    
329  *) echo "unrecognized test suffix '$tt' <== skipped" ;;  *) echo "unrecognized test suffix '$tt' <== skipped" ;;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.22