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 |
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 |
135 |
|
|
136 |
echo "Running testreport using:" |
echo "Running testreport using:" |
137 |
comm="./testreport -a jmc@mitgcm.org" |
comm="./testreport -a jmc@mitgcm.org" |
138 |
# comm="$comm -match $MC" |
comm="$comm -match $MC" |
139 |
if test "x$OPTFILE" != x ; then |
if test "x$OPTFILE" != x ; then |
140 |
comm="$comm -of=$OPTFILE" |
comm="$comm -of=$OPTFILE" |
141 |
fi |
fi |
153 |
|
|
154 |
echo "Running testreport using:" |
echo "Running testreport using:" |
155 |
comm="./testreport -a jmc@mitgcm.org" |
comm="./testreport -a jmc@mitgcm.org" |
156 |
comm="$comm -match $MC" |
# comm="$comm -match $MC" |
157 |
if test "x$OPTFILE" != x ; then |
if test "x$OPTFILE" != x ; then |
158 |
comm="$comm -of=$OPTFILE" |
comm="$comm -of=$OPTFILE" |
159 |
fi |
fi |
166 |
|
|
167 |
fi |
fi |
168 |
|
|
169 |
if test $typ = 'adm' |
if test $typ = 'g7a' |
170 |
then |
then |
171 |
|
|
172 |
echo "Running testreport using:" |
echo "Running testreport using:" |
184 |
|
|
185 |
fi |
fi |
186 |
|
|
187 |
|
if test $typ = 'adm' |
188 |
|
then |
189 |
|
|
190 |
|
echo "Running testreport using:" |
191 |
|
comm="./testreport -adm -a jmc@mitgcm.org" |
192 |
|
# comm="$comm -match $MC" |
193 |
|
if test "x$OPTFILE" != x ; then |
194 |
|
comm="$comm -of=$OPTFILE" |
195 |
|
fi |
196 |
|
if test "x$option" != x ; then comm="$comm $option" ; fi |
197 |
|
echo " \"$comm\"" |
198 |
|
echo "======================" |
199 |
|
$comm > $tdir/output_$typ 2>&1 |
200 |
|
tail -60 $tdir/output_$typ |
201 |
|
echo |
202 |
|
|
203 |
|
fi |
204 |
|
|
205 |
if test $typ = 'ifc' |
if test $typ = 'ifc' |
206 |
then |
then |
207 |
|
|
227 |
export OMP_NUM_THREADS=2 |
export OMP_NUM_THREADS=2 |
228 |
echo "Running testreport using:" |
echo "Running testreport using:" |
229 |
comm="./testreport -mth -a jmc@mitgcm.org" |
comm="./testreport -mth -a jmc@mitgcm.org" |
230 |
comm="$comm -match $MC" |
# comm="$comm -match $MC" |
231 |
if test "x$OPTFILE" != x ; then |
if test "x$OPTFILE" != x ; then |
232 |
comm="$comm -of=$OPTFILE" |
comm="$comm -of=$OPTFILE" |
233 |
fi |
fi |