/[MITgcm]/MITgcm/tools/example_scripts/csail/test_baudelaire
ViewVC logotype

Diff of /MITgcm/tools/example_scripts/csail/test_baudelaire

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

revision 1.1 by jmc, Fri Oct 29 21:13:57 2010 UTC revision 1.3 by jmc, Wed Nov 3 19:44:49 2010 UTC
# Line 24  cmdCVS='cvs -d :pserver:cvsanon@mitgcm.o Line 24  cmdCVS='cvs -d :pserver:cvsanon@mitgcm.o
24  cmdCVS='cvs -d /u/gcmpack'  cmdCVS='cvs -d /u/gcmpack'
25    
26  TESTDIR="/scratch/jmc/test_"`hostname -s`  TESTDIR="/scratch/jmc/test_"`hostname -s`
27  MC=10  MC=13
28  checkOut=1  checkOut=1
29  sepDir=1  sepDir=1
30  option=  option=
31  tst_list='g77 adm gfo+rs mth ifc'  tst_list='g7a adm g77 gfo+rs mth ifc'
32  #tst_list='g77 adm gfo ifc mth pgi+rs'  #tst_list='g77 adm gfo ifc mth pgi+rs'
33  #tst_list='adm g77 gfo+rs mth'  #tst_list='g77 gfo+rs mth'
34    
35  #option="-nc" ; checkOut=0  #option="-nc" ; checkOut=0
36  #option="-q"  ; checkOut=0  #option="-q"  ; checkOut=0
# Line 110  do Line 110  do
110   cd verification   cd verification
111    
112   case $typ in   case $typ in
113    'g77') OPTFILE='../tools/build_options/linux_amd64_g77' ;;    'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;;
114    'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;;    'gfo'|'adm') OPTFILE='../tools/build_options/linux_amd64_gfortran' ;;
115    'gfo') OPTFILE='../tools/build_options/linux_amd64_gfortran' ;;    'ifc')       OPTFILE='../tools/build_options/linux_amd64_ifort11' ;;
116    'adm') OPTFILE='../tools/build_options/linux_amd64_gfortran' ;;    'pgi')       OPTFILE='../tools/build_options/linux_amd64_pgf77' ;;
117    'ifc') OPTFILE='../tools/build_options/linux_amd64_ifort' ;;    'mth')       OPTFILE='../tools/build_options/linux_amd64_gfortran'
118    'pgi') OPTFILE='../tools/build_options/linux_amd64_pgf77' ;;                 export GOMP_STACKSIZE=400m ;;
119    'mth') OPTFILE='../tools/build_options/linux_amd64_gfortran'     *)          OPTFILE= ;;
          export GOMP_STACKSIZE=400m ;;  
    *) OPTFILE= ;;  
120   esac   esac
121    
122   if test $sepDir = 0 -a $checkOut = '1' -a  $tt = $firstTst ; then   if test $sepDir = 0 -a $checkOut = '1' -a  $tt = $firstTst ; then
# Line 168  do Line 166  do
166    
167   fi   fi
168    
169     if test $typ = 'g7a'
170     then
171    
172      echo "Running testreport using:"
173      comm="./testreport -adm -a jmc@mitgcm.org"
174    # comm="$comm -match $MC"
175      if test "x$OPTFILE" != x ; then
176        comm="$comm -of=$OPTFILE"
177      fi
178      if test "x$option" != x ; then comm="$comm $option" ; fi
179      echo "  \"$comm\""
180      echo "======================"
181      $comm > $tdir/output_$typ 2>&1
182      tail -60 $tdir/output_$typ
183      echo
184    
185     fi
186    
187   if test $typ = 'adm'   if test $typ = 'adm'
188   then   then
189    
# Line 192  do Line 208  do
208    source /srv/software/intel/intel-11.1.073/bin/ifortvars.sh intel64    source /srv/software/intel/intel-11.1.073/bin/ifortvars.sh intel64
209    echo "Running testreport using:"    echo "Running testreport using:"
210    comm="./testreport -a jmc@mitgcm.org"    comm="./testreport -a jmc@mitgcm.org"
211    comm="$comm -match $MC"  # comm="$comm -match $MC"
212    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
213      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
214    fi    fi
# Line 231  do Line 247  do
247    export PATH=$PGI/linux86-64/10.9/bin:$PATH    export PATH=$PGI/linux86-64/10.9/bin:$PATH
248    export LM_LICENSE_FILE=$PGI/license.dat    export LM_LICENSE_FILE=$PGI/license.dat
249    echo "Running testreport using:"    echo "Running testreport using:"
250    comm="./testreport -dd"    comm="./testreport -a jmc@mitgcm.org"
251    comm="$comm -match $MC"  # comm="$comm -match $MC"
252    #comm="$comm -skd tutorial_advection_in_gyre"    #comm="$comm -skd tutorial_advection_in_gyre"
253    if test "x$OPTFILE" != x ; then    if test "x$OPTFILE" != x ; then
254      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
# Line 240  do Line 256  do
256    if test "x$option" != x ; then comm="$comm $option" ; fi    if test "x$option" != x ; then comm="$comm $option" ; fi
257    echo "  \"$comm\""    echo "  \"$comm\""
258    echo "======================"    echo "======================"
259    $comm > $tdir/output_${typ}_1 2>&1    $comm > $tdir/output_${typ} 2>&1
260    tail -100 $tdir/output_${typ}_1    tail -100 $tdir/output_${typ}
   echo  
   echo "Running testreport using:"  
   comm="./testreport -q -a jmc@mitgcm.org"  
   comm="$comm -match $MC"  
   #comm="$comm -skd tutorial_advection_in_gyre"  
   if test "x$OPTFILE" != x ; then  
     comm="$comm -of=$OPTFILE"  
   fi  
   echo "  \"$comm\""  
   echo "======================"  
   $comm > $tdir/output_${typ}_2 2>&1  
   tail -100 $tdir/output_${typ}_2  
261    echo    echo
262    
263   fi   fi

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.22