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 |
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 |
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 |
|
|
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 |
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" |
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 |