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

Diff of /MITgcm_contrib/test_scripts/other/testing_loc

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

revision 1.9 by jmc, Mon Jul 9 18:41:07 2012 UTC revision 1.11 by jmc, Thu Aug 16 01:01:43 2012 UTC
# Line 8  if test $# = 0 ; then Line 8  if test $# = 0 ; then
8    exit    exit
9  else  else
10    if test $1 = ifort ; then    if test $1 = ifort ; then
11      tst_list='iadm imp2 iur4'  #   tst_list='iadm imp2 iur4'
12        tst_list='iad4 imp2 iur4'
13    elif test $1 = gfort ; then    elif test $1 = gfort ; then
14      tst_list='gadm gads gmp2 gmpi gfo g77'      tst_list='gadm gads gmp2 gmpi gfo g77'
15  #   tst_list='gadm gads gmp2 gfo g77'  #   tst_list='gadm gads gmp2 gfo g77'
# Line 16  else Line 17  else
17      tst_list=$*      tst_list=$*
18    fi    fi
19  fi  fi
20      echo "run: \""`basename $0` $*"\" on:" `date`
21      echo " tst_list='$tst_list'"
22    
23  #-- for now, cannot mix ifort/gfortran tests:  #-- for now, cannot mix ifort/gfortran tests:
24  gfort=1  gfort=1
# Line 47  do Line 50  do
50    echo "=========================================================================="    echo "=========================================================================="
51    set -x    set -x
52    rm -f tr_clean_$tt.log    rm -f tr_clean_$tt.log
53  if test $tt = 'iadm' -o $tt = 'gadm' -o  $tt = 'gads' ; then  if test $tt = 'iadm' -o $tt = 'iad4' -o $tt = 'gadm' -o  $tt = 'gads' ; then
54    ( cd MITgcm_$tt/verification ; testreport -adm -clean > ../../tr_clean_$tt.log 2>&1 )    ( cd MITgcm_$tt/verification ; testreport -adm -clean > ../../tr_clean_$tt.log 2>&1 )
55  else  else
56    #- cleanup previous restart:    #- cleanup previous restart:
# Line 86  case $tt in Line 89  case $tt in
89     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
90    
91    #unset echo    #unset echo
92      sed -n "/ email /,$ p" ../../tr_run_$tt.log
93    ;;
94    
95    'iad4' )
96      if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi
97    
98      testreport -MPI 3 -ur4 -adm -of ../tools/build_options/linux_amd64_ifort11 \
99       -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1
100    
101      testreport -MPI 3 -ur4 -adm -of ../tools/build_options/linux_amd64_ifort11 \
102       -devel -q -match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \
103       -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
104    
105      #unset echo
106    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,$ p" ../../tr_run_$tt.log
107  ;;  ;;
108    

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

  ViewVC Help
Powered by ViewVC 1.1.22