/[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.12 by jmc, Sat Aug 25 00:46:10 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'
16    else    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 80  case $tt in Line 83  case $tt in
83    
84    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \
85     -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1     -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1
86      echo '' >> ../../tr_run_$tt.log 2>&1
87    
88    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \
89     -devel -q -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \     -devel -q -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \
90     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
91    
92    #unset echo    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
93    sed -n "/ email /,$ p" ../../tr_run_$tt.log  ;;
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      echo '' >> ../../tr_run_$tt.log 2>&1
101    
102      testreport -MPI 3 -ur4 -adm -of ../tools/build_options/linux_amd64_ifort11 \
103       -devel -q -match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \
104       -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
105    
106      sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
107  ;;  ;;
108    
109  'imp2')  'imp2')
# Line 97  case $tt in Line 114  case $tt in
114    
115    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \
116     -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1     -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1
117      echo '' >> ../../tr_run_$tt.log 2>&1
118    
119    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \
120     -devel -q -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -q -command='mpirun -v -np TR_NPROC ./mitgcmuv' \
121     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
122    
123    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
124    
125    #- test restart:    #- test restart:
126    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
# Line 115  case $tt in Line 133  case $tt in
133    
134    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \
135     -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1     -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1
136      echo '' >> ../../tr_run_$tt.log 2>&1
137    
138    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \
139     -devel -q -match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -q -match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv' \
140     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
141    
142    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
143    
144    #- test restart:    #- test restart:
145    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
# Line 135  case $tt in Line 154  case $tt in
154     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \
155     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
156    
157    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
158  ;;  ;;
159    
160  'gads')  'gads')
# Line 144  case $tt in Line 163  case $tt in
163    testreport -adm -of ../tools/build_options/linux_amd64_gfortran \    testreport -adm -of ../tools/build_options/linux_amd64_gfortran \
164     -devel -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
165    
166    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
167  ;;  ;;
168    
169  'gmp2')  'gmp2')
# Line 157  case $tt in Line 176  case $tt in
176     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv' \
177     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
178    
179    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
180    
181    #- test restart:    #- test restart:
182    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
# Line 172  case $tt in Line 191  case $tt in
191     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv' \
192     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
193    
194    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
195    
196    #- test restart:    #- test restart:
197    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
# Line 186  case $tt in Line 205  case $tt in
205    testreport -of ../tools/build_options/linux_amd64_gfortran \    testreport -of ../tools/build_options/linux_amd64_gfortran \
206     -devel -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
207    
208    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
209    
210    #- test restart:    #- test restart:
211    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
# Line 200  case $tt in Line 219  case $tt in
219     -skd 'fizhi-cs-32x32x40 fizhi-cs-aqualev20' \     -skd 'fizhi-cs-32x32x40 fizhi-cs-aqualev20' \
220     -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
221    
222    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
223    
224    #- test restart:    #- test restart:
225    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1

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

  ViewVC Help
Powered by ViewVC 1.1.22