| 47 |
#TESTDIR="$HOME/test_${dNam}" |
#TESTDIR="$HOME/test_${dNam}" |
| 48 |
TESTDIR="/scratch/jmc/test_${dNam}" |
TESTDIR="/scratch/jmc/test_${dNam}" |
| 49 |
MC=13 ; outDir="${dNam}-${tst_grp}" |
MC=13 ; outDir="${dNam}-${tst_grp}" |
| 50 |
#MC=11 ; outDir=$dNam |
MC=11 ;#outDir=$dNam |
| 51 |
sepDir=1 |
sepDir=1 |
| 52 |
option= |
option= |
| 53 |
|
|
| 54 |
if test $tst_grp = 'a' ; then |
if test $tst_grp = 'a' ; then |
| 55 |
checkOut=2 |
checkOut=2 |
| 56 |
tst_list='mpa mth mp2+rs mpi oad' |
tst_list='mth mp2+rs mpi oad g77' |
| 57 |
#tst_list='mpa adm mpi gfo+rs mth+rs' |
#tst_list='mpa adm mpi gfo+rs mth+rs' |
| 58 |
#tst_list="$tst_list oad" |
#tst_list="$tst_list oad" |
| 59 |
else |
else |
| 60 |
checkOut=1 |
checkOut=1 |
| 61 |
tst_list='adm g77 gfo+rs ifc' |
tst_list='adm gfo+rs ifc' |
| 62 |
if test "x$dInWeek" = xSun ; then tst_list="$tst_list tlm" ; fi |
#if test "x$dInWeek" = xSun ; then tst_list="$tst_list tlm" ; fi |
| 63 |
fi |
fi |
| 64 |
echo " test: $outDir ; list='$tst_list'" |
echo " test: $outDir ; list='$tst_list'" |
| 65 |
|
|
| 200 |
if test $typ = 'mp2' -o $typ = 'ifc' ; then |
if test $typ = 'mp2' -o $typ = 'ifc' ; then |
| 201 |
addExp="offline_cheapaml atm_gray atm_strato" |
addExp="offline_cheapaml atm_gray atm_strato" |
| 202 |
fi |
fi |
|
if test $typ = 'gfo' -o $typ = 'ifc' -o $typ = 'adm' ; then |
|
|
addExp="$addExp global_oce_biogeo_bling" |
|
|
fi |
|
| 203 |
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
| 204 |
addExp="$addExp shelfice_remeshing" |
addExp="$addExp shelfice_remeshing" |
| 205 |
fi |
fi |
| 339 |
MPI=0 |
MPI=0 |
| 340 |
case $typ in |
case $typ in |
| 341 |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
| 342 |
'gfo'|'adm'|'oad'|'tlm'|'mth') comm="$comm -match $MC -devel" |
'gfo'|'adm'|'oad'|'tlm'|'mth') comm="$comm -devel" |
| 343 |
|
comm="$comm -match $MC" |
| 344 |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
| 345 |
'ifc') comm="$comm -devel" |
'ifc') comm="$comm -devel" |
| 346 |
OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |
OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |
| 347 |
'pgi') OPTFILE='../tools/build_options/linux_amd64_pgf77' ;; |
'pgi') OPTFILE='../tools/build_options/linux_amd64_pgf77' ;; |
| 348 |
'mpa'|'mpi'|'mp2') comm="$comm -match $MC -devel" ; MPI=6 |
'mpa'|'mpi'|'mp2') comm="$comm -devel" ; MPI=6 |
| 349 |
|
comm="$comm -match $MC" |
| 350 |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
| 351 |
*) OPTFILE= ;; |
*) OPTFILE= ;; |
| 352 |
esac |
esac |