/[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.6 by jmc, Fri Sep 30 20:39:51 2011 UTC revision 1.8 by jmc, Wed Mar 14 18:24:16 2012 UTC
# Line 10  Line 10 
10    
11  if test $# = 0  if test $# = 0
12  then  then
13    tst_list='mp2 ur4 adm'    tst_list='adm mp2 ur4'
14  else  else
15    tst_list=$*    tst_list=$*
16  fi  fi
# Line 40  fi Line 40  fi
40    
41    echo "=========================================================================="    echo "=========================================================================="
42    
43    mv -f tr_run_$tt.log tr_run_$tt.log_bak    if test -e tr_run_$tt.log ; then mv -f tr_run_$tt.log tr_run_$tt.log_bak ; fi
44    cd MITgcm_$tt/verification    cd MITgcm_$tt/verification
45    
46    date    date
# Line 52  if test $tt = 'adm' ; then Line 52  if test $tt = 'adm' ; then
52    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
53    
54    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \
55     -devel -nc -ef -syntax-only -obj -dd > ../../tr_run_$tt.log 2>&1     -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1
56    
57    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -adm -of ../tools/build_options/linux_amd64_ifort11 \
58     -devel -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \     -devel -q -command='mpirun -v -np TR_NPROC ./mitgcmuv_ad' \
59     -a jmc@mitgcm.org -nc >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
60    
61    #unset echo    #unset echo
62    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,$ p" ../../tr_run_$tt.log
# Line 70  if test $tt = 'mp2' ; then Line 70  if test $tt = 'mp2' ; then
70    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
71    
72    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \
73     -devel -nc -ef -syntax-only -obj -dd > ../../tr_run_$tt.log 2>&1     -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1
74    
75    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 2 -mth -of ../tools/build_options/linux_amd64_ifort11 \
76     -devel -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -q -command='mpirun -v -np TR_NPROC ./mitgcmuv' \
77     -a jmc@mitgcm.org -nc >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
78    
79    #unset echo    #unset echo
80    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,$ p" ../../tr_run_$tt.log
# Line 91  if test $tt = 'ur4' ; then Line 91  if test $tt = 'ur4' ; then
91    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
92    
93    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \
94     -devel -nc -ef -syntax-only -obj -dd > ../../tr_run_$tt.log 2>&1     -devel -nc -repl_mk do_make_syntax.sh -obj -dd > ../../tr_run_$tt.log 2>&1
95    
96    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \    testreport -MPI 3 -ur4 -of ../tools/build_options/linux_amd64_ifort11 \
97     -devel -nc -match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv' \     -devel -q -match 5 -command='mpirun -v -np TR_NPROC ./mitgcmuv' \
98     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1     -a jmc@mitgcm.org >> ../../tr_run_$tt.log 2>&1
99    
100    sed -n "/ email /,$ p" ../../tr_run_$tt.log    sed -n "/ email /,$ p" ../../tr_run_$tt.log

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

  ViewVC Help
Powered by ViewVC 1.1.22