/[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.15 by jmc, Tue Jan 15 19:02:02 2013 UTC revision 1.17 by jmc, Mon Sep 23 15:32:48 2013 UTC
# Line 12  else Line 12  else
12      tst_list='iad4 imp2 iur4'      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'
16    elif test $1 = gfor4 ; then    elif test $1 = gfor4 ; then
17      tst_list='gad4 gmp4 gfo4'      tst_list='gad4 gmp4 gfo4 g77'
18    else    else
19      tst_list=$*      tst_list=$*
20    fi    fi
# Line 55  do Line 55  do
55  if [ $fwd -eq 0 ] ; then  if [ $fwd -eq 0 ] ; then
56    set -x    set -x
57    ( 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 )
58      set +x
59  else  else
60    set -x    set -x
61    #- cleanup previous restart:    #- cleanup previous restart:
# Line 96  case $tt in Line 97  case $tt in
97    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
98    
99    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \
100     -devel -q -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \     -devel -q -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
101    
102    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
103  ;;  ;;
# Line 110  case $tt in Line 110  case $tt in
110    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
111    
112    testreport -MPI 3 -ur4 -adm -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -ur4 -adm -of ../tools/build_options/linux_amd64_ifort11 \
113     -devel -q -match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \     -devel -q -match 5 -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
114    
115    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
116  ;;  ;;
# Line 127  case $tt in Line 126  case $tt in
126    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
127    
128    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \
129     -devel -q -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -q -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
130    
131    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
132    
133    #- test restart:    #- test restart:
134    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
135    ../tools/do_tst_2+2 -mpi -exe 'mpirun -v -np TR_NPROC ./mitgcmuv' \    ../tools/do_tst_2+2 -mpi -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
136  ;;  ;;
137    
138  'iur4')  'iur4')
# Line 146  case $tt in Line 143  case $tt in
143    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
144    
145    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \
146     -devel -q -match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -q -match 5 -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
147    
148    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
149    
150    #- test restart:    #- test restart:
151    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
152    ../tools/do_tst_2+2 -mpi -exe 'mpirun -v -np TR_NPROC ./mitgcmuv' \    ../tools/do_tst_2+2 -mpi -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
153  ;;  ;;
154    
155  'gadm')  'gadm')
156    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi
157    
158    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_gfortran \    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_gfortran \
159     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \     -devel -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
160    
161    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
162  ;;  ;;
# Line 179  case $tt in Line 173  case $tt in
173  'gad4')  'gad4')
174    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi
175    
176    testreport -adm -ur4 -match 5 -of ../tools/build_options/linux_amd64_gfortran \    testreport -adm -ur4 -of ../tools/build_options/linux_amd64_gfortran \
177     -devel -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -nc -match 5 -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
178    
179    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
180  ;;  ;;
# Line 192  case $tt in Line 186  case $tt in
186    export GOMP_STACKSIZE=400m    export GOMP_STACKSIZE=400m
187    
188    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_gfortran \    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_gfortran \
189     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
190    
191    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
192    
193    #- test restart:    #- test restart:
194    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
195    ../tools/do_tst_2+2 -mpi -exe 'mpirun -v -np TR_NPROC ./mitgcmuv' \    ../tools/do_tst_2+2 -mpi -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
196  ;;  ;;
197    
198  'gmpi')  'gmpi')
199    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi
200    
201    testreport -MPI 3 -of ../tools/build_options/linux_amd64_gfortran \    testreport -MPI 3 -of ../tools/build_options/linux_amd64_gfortran \
202     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
203    
204    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
205    
206    #- test restart:    #- test restart:
207    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
208    ../tools/do_tst_2+2 -mpi -exe 'mpirun -v -np TR_NPROC ./mitgcmuv' \    ../tools/do_tst_2+2 -mpi -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
209  ;;  ;;
210    
211  'gmp4')  'gmp4')
212    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi
213    
214    testreport -MPI 3 -ur4 -match 5 -of ../tools/build_options/linux_amd64_gfortran \    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_gfortran \
215     -devel -nc -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -nc -match 5 -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
216    
217    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
218    
219    #- test restart:    #- test restart:
220    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
221    ../tools/do_tst_2+2 -mpi -exe 'mpirun -v -np TR_NPROC ./mitgcmuv' \    ../tools/do_tst_2+2 -mpi -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
    -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1  
222  ;;  ;;
223    
224  'gfo')  'gfo')
# Line 249  case $tt in Line 237  case $tt in
237  'gfo4')  'gfo4')
238    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi    if test -e tr_out.txt ; then /bin/rm -f tr_out.sav ; mv tr_out.txt tr_out.sav ; fi
239    
240    testreport -ur4 -match 5 -of ../tools/build_options/linux_amd64_gfortran \    testreport -ur4 -of ../tools/build_options/linux_amd64_gfortran \
241     -devel -nc -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -nc -match 5 -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
242    
243    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
244    

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.22