13 |
OPTFILE= |
OPTFILE= |
14 |
TESTDIR="/scratch/jmc/test_"`hostname` |
TESTDIR="/scratch/jmc/test_"`hostname` |
15 |
IEEE="-ieee" |
IEEE="-ieee" |
16 |
|
MC=10 |
17 |
|
|
18 |
|
|
19 |
# Turn off stack limit for FIZHI |
# Turn off stack limit for FIZHI |
28 |
fi |
fi |
29 |
echo " done" |
echo " done" |
30 |
|
|
31 |
|
#- clean-up old output files |
32 |
|
rm -f $tdir/output_* |
33 |
|
|
34 |
echo -n "Downloading the MITgcm code from CVS pserver..." |
echo -n "Downloading the MITgcm code from CVS pserver..." |
35 |
cd $tdir |
cd $tdir |
36 |
export CVSROOT='/u/gcmpack' |
export CVSROOT='/u/gcmpack' |
43 |
echo " \"$comm\"" |
echo " \"$comm\"" |
44 |
echo "======================" |
echo "======================" |
45 |
echo |
echo |
46 |
$comm | tail -100 |
$comm > $tdir/output_adm 2>&1 |
47 |
|
tail -100 $tdir/output_adm |
48 |
|
|
49 |
|
|
50 |
echo |
echo |
51 |
echo "======================" |
echo "======================" |
59 |
echo " \"$comm\"" |
echo " \"$comm\"" |
60 |
echo "======================" |
echo "======================" |
61 |
echo |
echo |
62 |
$comm | tail -100 |
$comm > $tdir/output_g77 2>&1 |
63 |
|
tail -100 $tdir/output_g77 |
64 |
|
|
65 |
echo |
echo |
66 |
echo "======================" |
echo "======================" |
71 |
|
|
72 |
echo "Running testreport using:" |
echo "Running testreport using:" |
73 |
export PGI=/usr/local/pkg/pgi/pgi-6.1-5 |
export PGI=/usr/local/pkg/pgi/pgi-6.1-5 |
74 |
comm="./testreport -match 10 -of ../tools/build_options/linux_ia32_pgf77+authors_fc5 -a edhill@mitgcm.org" |
comm="./testreport -match $MC -of ../tools/build_options/linux_ia32_pgf77+authors_fc5 -a edhill@mitgcm.org" |
75 |
echo " \"$comm\"" |
echo " \"$comm\"" |
76 |
echo "======================" |
echo "======================" |
77 |
echo |
echo |
78 |
$comm | tail -100 |
$comm > $tdir/output_pgi 2>&1 |
79 |
|
tail -100 $tdir/output_pgi |
80 |
|
|
81 |
echo |
echo |
82 |
echo "======================" |
echo "======================" |
86 |
echo |
echo |
87 |
|
|
88 |
echo "Running testreport using:" |
echo "Running testreport using:" |
89 |
comm="./testreport -match 10 -of ../tools/build_options/linux_ia32_gfortran -a edhill@mitgcm.org" |
comm="./testreport -match $MC -of ../tools/build_options/linux_ia32_gfortran -a edhill@mitgcm.org" |
90 |
echo " \"$comm\"" |
echo " \"$comm\"" |
91 |
echo "======================" |
echo "======================" |
92 |
echo |
echo |
93 |
$comm | tail -100 |
$comm > $tdir/output_gfo 2>&1 |
94 |
|
tail -100 $tdir/output_gfo |
95 |
|
|
96 |
echo |
echo |
97 |
echo "======================" |
echo "======================" |
101 |
echo |
echo |
102 |
|
|
103 |
echo "Running testreport using:" |
echo "Running testreport using:" |
104 |
comm="./testreport -match 10 -of ../tools/build_options/linux_ia32_ifort+authors_v9 -a edhill@mitgcm.org" |
comm="./testreport -match $MC -of ../tools/build_options/linux_ia32_ifort+authors_v9 -a edhill@mitgcm.org" |
105 |
echo " \"$comm\"" |
echo " \"$comm\"" |
106 |
echo "======================" |
echo "======================" |
107 |
echo |
echo |
108 |
$comm | tail -100 |
$comm > $tdir/output_ifc 2>&1 |
109 |
|
tail -100 $tdir/output_ifc |
110 |
|
|
111 |
echo |
echo |
112 |
echo "======================" |
echo "======================" |
118 |
echo "Running testreport using:" |
echo "Running testreport using:" |
119 |
export OMP_NUM_THREADS=2 |
export OMP_NUM_THREADS=2 |
120 |
export KMP_STACKSIZE=400m |
export KMP_STACKSIZE=400m |
121 |
comm="./testreport -mth -match 10 -of ../tools/build_options/linux_ia32_ifort.v9+mth -a edhill@mitgcm.org" |
comm="./testreport -mth -match $MC -of ../tools/build_options/linux_ia32_ifort.v9+mth -a edhill@mitgcm.org" |
122 |
echo " \"$comm\"" |
echo " \"$comm\"" |
123 |
echo "======================" |
echo "======================" |
124 |
echo |
echo |
125 |
$comm | tail -100 |
$comm | tail -100 |
126 |
|
$comm > $tdir/output_mth 2>&1 |
127 |
|
tail -100 $tdir/output_mth |
128 |
|
|