/[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.4 by jmc, Fri Jul 28 17:02:18 2017 UTC revision 1.5 by jmc, Fri Jan 5 22:25:25 2018 UTC
# Line 94  do Line 94  do
94    echo "=========================================================================="    echo "=========================================================================="
95    set -x    set -x
96    #- update the code:    #- update the code:
97    ( cd MITgcm_$tt ; $cmdCVS update -P -d  >> ../tr_clean_$tt.log 2>&1 )    ( cd MITgcm_$tt ; $cmdCVS update -P -d  >> ../tr_clean_$tt.log 2>&1 ; retv=$? )
98    set +x    set +x
99      if test $retv != 0 ; then
100        echo "cvs update in MITgcm_$tt fail (return val=$retv) => skip" | tee -a tr_clean_$tt.log
101        continue
102      fi
103   else   else
104   #- download new code:   #- download new code:
105    echo " run '$cmdCVS co -P -d  MITgcm_$tt MITgcm'"  >> tr_clean_$tt.log    echo " run '$cmdCVS co -P -d  MITgcm_$tt MITgcm'"  >> tr_clean_$tt.log
106    echo "=========================================================================="    echo "=========================================================================="
107    set -x    set -x
108      $cmdCVS co -P -d  MITgcm_$tt MITgcm >> tr_clean_$tt.log 2>&1      $cmdCVS co -P -d  MITgcm_$tt MITgcm >> tr_clean_$tt.log 2>&1 ; retv=$?
109    set +x    set +x
110      if test $retv != 0 ; then
111        echo "cvs co of MITgcm_$tt fail (return val=$retv) => skip" | tee -a tr_clean_$tt.log
112        continue
113      fi
114   fi   fi
115    echo ""    echo ""
116    echo "=========================================================================="    echo "=========================================================================="
# Line 125  case $tt in Line 133  case $tt in
133    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
134    
135    ./testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \    ./testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \
136     -devel -q -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -q -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
137    
138    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
139  ;;  ;;
# Line 137  case $tt in Line 145  case $tt in
145    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
146    
147    ./testreport -MPI 3 -ur4 -adm -of ../tools/build_options/linux_amd64_ifort11 \    ./testreport -MPI 3 -ur4 -adm -of ../tools/build_options/linux_amd64_ifort11 \
148     -devel -q -match 5 -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -q -match 5 -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
149    
150    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
151  ;;  ;;
# Line 152  case $tt in Line 160  case $tt in
160    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
161    
162    ./testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \    ./testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \
163     -devel -q -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -q -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
164    
165    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
166    
167    #- test restart:    #- test restart:
168    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
169    ../tools/do_tst_2+2 -mpi -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 -mpi -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
170  ;;  ;;
171    
172  'iur4')  'iur4')
# Line 168  case $tt in Line 176  case $tt in
176    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
177    
178    ./testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \    ./testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \
179     -devel -q -match 5 -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -q -match 5 -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
180    
181    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
182    
183    #- test restart:    #- test restart:
184    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
185    ../tools/do_tst_2+2 -mpi -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 -mpi -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
186  ;;  ;;
187    
188  'gadm')  'gadm')
189    
190    ./testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_gfortran \    ./testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_gfortran \
191     -devel -ncad -nc -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -ncad -nc -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
192    
193    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
194  ;;  ;;
# Line 188  case $tt in Line 196  case $tt in
196  'gads')  'gads')
197    
198    ./testreport -adm -of ../tools/build_options/linux_amd64_gfortran \    ./testreport -adm -of ../tools/build_options/linux_amd64_gfortran \
199     -devel -ncad -nc -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -ncad -nc -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
200    
201    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
202  ;;  ;;
# Line 196  case $tt in Line 204  case $tt in
204  'gad4')  'gad4')
205    
206    ./testreport -adm -ur4 -of ../tools/build_options/linux_amd64_gfortran \    ./testreport -adm -ur4 -of ../tools/build_options/linux_amd64_gfortran \
207     -devel -ncad -nc -match 5 -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -ncad -nc -match 5 -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
208    
209    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
210  ;;  ;;
# Line 207  case $tt in Line 215  case $tt in
215    export GOMP_STACKSIZE=400m    export GOMP_STACKSIZE=400m
216    
217    ./testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_gfortran \    ./testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_gfortran \
218     -devel -nc -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -nc -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
219    
220    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
221    
222    #- test restart:    #- test restart:
223    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
224    ../tools/do_tst_2+2 -mpi -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 -mpi -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
225  ;;  ;;
226    
227  'gmpi')  'gmpi')
228    
229    ./testreport -MPI 3 -of ../tools/build_options/linux_amd64_gfortran \    ./testreport -MPI 3 -of ../tools/build_options/linux_amd64_gfortran \
230     -devel -nc -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -nc -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
231    
232    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
233    
234    #- test restart:    #- test restart:
235    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
236    ../tools/do_tst_2+2 -mpi -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 -mpi -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
237  ;;  ;;
238    
239  'gmp4')  'gmp4')
240    
241    ./testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_gfortran \    ./testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_gfortran \
242     -devel -nc -match 5 -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -nc -match 5 -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
243    
244    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
245    
246    #- test restart:    #- test restart:
247    echo '' >> ../../tr_run_$tt.log 2>&1    echo '' >> ../../tr_run_$tt.log 2>&1
248    ../tools/do_tst_2+2 -mpi -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 -mpi -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
249  ;;  ;;
250    
251  'gfo')  'gfo')
252    
253    ./testreport -of ../tools/build_options/linux_amd64_gfortran \    ./testreport -of ../tools/build_options/linux_amd64_gfortran \
254     -devel -nc -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -nc -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
255    
256    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
257    
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 -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
261  ;;  ;;
262    
263  'gfo4')  'gfo4')
264    
265    ./testreport -ur4 -of ../tools/build_options/linux_amd64_gfortran \    ./testreport -ur4 -of ../tools/build_options/linux_amd64_gfortran \
266     -devel -nc -match 5 -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -devel -nc -match 5 -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
267    
268    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
269    
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 -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
273  ;;  ;;
274    
275  'g77')  'g77')
276    
277    ./testreport -of ../tools/build_options/linux_amd64_g77 \    ./testreport -of ../tools/build_options/linux_amd64_g77 \
278     -skd 'fizhi-cs-32x32x40 fizhi-cs-aqualev20' \     -skd 'fizhi-cs-32x32x40 fizhi-cs-aqualev20' \
279     -nc -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1     -nc -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
280    
281    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log    sed -n "/ email /,/^======== End of testreport / p" ../../tr_run_$tt.log
282    
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 -a jmc@dev.mitgcm.org >> ../../tr_run_$tt.log 2>&1    ../tools/do_tst_2+2 -a jm_c@mitgcm.org >> ../../tr_run_$tt.log 2>&1
286  ;;  ;;
287    
288  *) echo "unrecognized test suffix '$tt' <== skipped" ;;  *) echo "unrecognized test suffix '$tt' <== skipped" ;;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22