/[MITgcm]/MITgcm/tools/example_scripts/faulks/test_lcs
ViewVC logotype

Diff of /MITgcm/tools/example_scripts/faulks/test_lcs

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

revision 1.3 by jmc, Mon Nov 27 17:43:41 2006 UTC revision 1.4 by edhill, Mon Jan 15 01:13:28 2007 UTC
# Line 30  EOF Line 30  EOF
30  # defaults  # defaults
31  export PATH='/usr/local/bin:/bin:/usr/bin'  export PATH='/usr/local/bin:/bin:/usr/bin'
32  OPTFILE=  OPTFILE=
33  TESTDIR="/scratch/edhill/test_"`hostname`  TESTDIR="/scratch2/edhill/test_"`hostname`
34  IEEE="-ieee"  IEEE="-ieee"
35    
36  #  Parse options  #  Parse options
# Line 92  export CVSROOT='/u/gcmpack' Line 92  export CVSROOT='/u/gcmpack'
92  cvs co -P MITgcm > /dev/null 2>&1  cvs co -P MITgcm > /dev/null 2>&1
93  echo "  done"  echo "  done"
94    
95  echo "Running testreport using:"  new_dir='MITgcm_g77'
96  cd MITgcm/verification  test -e $new_dir  &&  rm -rf $new_dir
97  comm="./testreport $IEEE -a edhill@mitgcm.org"  mkdir $new_dir
98  if test "x$OPTFILE" != x ; then  (
99      cd $new_dir
100      cp -ra ../MITgcm/* .
101      echo "Running testreport using:"
102      cd verification
103      comm="./testreport $IEEE -a edhill@mitgcm.org"
104      if test "x$OPTFILE" != x ; then
105      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
106  fi    fi
107  echo "  \"$comm\""    echo "  \"$comm\""
108  echo "======================"    echo "======================"
109  echo    echo
110  $comm | tail -100    $comm | tail -100
111    )
112  echo  
113  echo "======================"  new_dir='MITgcm_ifort'
114  echo "Cleaning test directories:"  test -e $new_dir  &&  rm -rf $new_dir
115  ./testreport -clean > /dev/null 2>&1  mkdir $new_dir
116  echo "======================"  (
117  echo    cd $new_dir
118      cp -ra ../MITgcm/* .
119  echo "Running testreport using:"    echo "Running testreport using:"
120  cd MITgcm/verification    cd verification
121  comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_ifort -a edhill@mitgcm.org"    comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_ifort -a edhill@mitgcm.org"
122  echo "  \"$comm\""    echo "  \"$comm\""
123  echo "======================"    echo "======================"
124  echo    echo
125  $comm | tail -100    $comm | tail -100
126    )
127  echo  
128  echo "======================"  new_dir='MITgcm_pgi'
129  echo "Cleaning test directories:"  test -e $new_dir  &&  rm -rf $new_dir
130  ./testreport -clean > /dev/null 2>&1  mkdir $new_dir
131  echo "======================"  (
132  echo    cd $new_dir
133      cp -ra ../MITgcm/* .
134  echo "Running testreport using:"    echo "Running testreport using:"
135  export PGI=/usr/local/pkg/pgi/pgi-5.2-fc3    export PGI=/usr/local/pkg/pgi/pgi-5.2-fc3
136  cd MITgcm/verification    cd verification
137  comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_pgf77+authors_fc3 -a edhill@mitgcm.org"    comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_pgf77+authors_fc3 -a edhill@mitgcm.org"
138  echo "  \"$comm\""    echo "  \"$comm\""
139  echo "======================"    echo "======================"
140  echo    echo
141  $comm | tail -100    $comm | tail -100
142    )
143  echo  
144  echo "======================"  new_dir='MITgcm_adm'
145  echo "Cleaning test directories:"  test -e $new_dir  &&  rm -rf $new_dir
146  ./testreport -clean > /dev/null 2>&1  mkdir $new_dir
147  echo "======================"  (
148  echo    cd $new_dir
149      cp -ra ../MITgcm/* .
150  echo "Running testreport using:"    echo "Running testreport using:"
151  comm="./testreport -adm $IEEE -a edhill@mitgcm.org"    cd verification
152  if test "x$OPTFILE" != x ; then    comm="./testreport -adm $IEEE -a edhill@mitgcm.org"
153      if test "x$OPTFILE" != x ; then
154      comm="$comm -of=$OPTFILE"      comm="$comm -of=$OPTFILE"
155  fi    fi
156  echo "  \"$comm\""    echo "  \"$comm\""
157  echo "======================"    echo "======================"
158  echo    echo
159  $comm | tail -100    $comm | tail -100
160    )
161    

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

  ViewVC Help
Powered by ViewVC 1.1.22