| 28 |
|
|
| 29 |
|
|
| 30 |
# defaults |
# defaults |
| 31 |
OPTFILE="../tools/build_options/linux_ia32_g77" |
export PATH='/usr/local/bin:/bin:/usr/bin' |
| 32 |
|
OPTFILE= |
| 33 |
TESTDIR="/scratch/edhill/test_"`hostname` |
TESTDIR="/scratch/edhill/test_"`hostname` |
| 34 |
IEEE="-ieee" |
IEEE="-ieee" |
| 35 |
|
|
| 51 |
-help | --help | -h | --h) |
-help | --help | -h | --h) |
| 52 |
usage ;; |
usage ;; |
| 53 |
|
|
| 54 |
-dir | --d) |
-dir | --dir | -d | --d) |
| 55 |
ac_prev=TESTDIR ;; |
ac_prev=TESTDIR ;; |
| 56 |
--dir=* | -d=*) |
-dir=* | --dir=* | -d=* | --d=*) |
| 57 |
TESTDIR=$ac_optarg ;; |
TESTDIR=$ac_optarg ;; |
| 58 |
|
|
| 59 |
-of | --of | -optfile | --optfile) |
-of | --of | -optfile | --optfile) |
| 91 |
|
|
| 92 |
echo "Running testreport using:" |
echo "Running testreport using:" |
| 93 |
cd MITgcm/verification |
cd MITgcm/verification |
| 94 |
comm="./testreport $IEEE -a edhill@mitgcm.org" | tail -100 |
comm="./testreport $IEEE -a edhill@mitgcm.org" |
| 95 |
if test "x$OPTFILE" != x ; then |
if test "x$OPTFILE" != x ; then |
| 96 |
comm="$comm -of=$OPTFILE" |
comm="$comm -of=$OPTFILE" |
| 97 |
fi |
fi |
| 98 |
echo " \"$comm\"" |
echo " \"$comm\"" |
| 99 |
echo "======================" |
echo "======================" |
| 100 |
echo |
echo |
| 101 |
$comm |
$comm | tail -100 |
| 102 |
|
|
| 103 |
|
echo |
| 104 |
|
echo "======================" |
| 105 |
|
echo "Cleaning test directories:" |
| 106 |
|
./testreport -clean > /dev/null 2>&1 |
| 107 |
|
echo "======================" |
| 108 |
|
echo |
| 109 |
|
|
| 110 |
|
echo "Running testreport using:" |
| 111 |
|
cd MITgcm/verification |
| 112 |
|
comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_ifort -a edhill@mitgcm.org" |
| 113 |
|
echo " \"$comm\"" |
| 114 |
|
echo "======================" |
| 115 |
|
echo |
| 116 |
|
$comm | tail -100 |
| 117 |
|
|
| 118 |
|
echo |
| 119 |
|
echo "======================" |
| 120 |
|
echo "Cleaning test directories:" |
| 121 |
|
./testreport -clean > /dev/null 2>&1 |
| 122 |
|
echo "======================" |
| 123 |
|
echo |
| 124 |
|
|
| 125 |
|
echo "Running testreport using:" |
| 126 |
|
export PGI=/usr/local/pkg/pgi/pgi-5.2-fc3 |
| 127 |
|
cd MITgcm/verification |
| 128 |
|
comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_pgf77+authors_fc3 -a edhill@mitgcm.org" |
| 129 |
|
echo " \"$comm\"" |
| 130 |
|
echo "======================" |
| 131 |
|
echo |
| 132 |
|
$comm | tail -100 |
| 133 |
|
|
| 134 |
echo |
echo |
| 135 |
echo "======================" |
echo "======================" |
| 146 |
echo " \"$comm\"" |
echo " \"$comm\"" |
| 147 |
echo "======================" |
echo "======================" |
| 148 |
echo |
echo |
| 149 |
$comm |
$comm | tail -100 |
| 150 |
|
|