32 |
sepDir=1 |
sepDir=1 |
33 |
option= |
option= |
34 |
tst_list='g7a adm mpa g77 gfo+rs mth mp2+rs mpi ifc' |
tst_list='g7a adm mpa g77 gfo+rs mth mp2+rs mpi ifc' |
35 |
if test "x$dInWeek" = xSun ; then tst_list="$tst_list tlm" ; fi |
if test "x$dInWeek" = xSun ; then tst_list="$tst_list tlm oad" ; fi |
36 |
#tst_list='g77 adm gfo ifc mth pgi+rs' |
#tst_list='g77 adm gfo ifc mth pgi+rs' |
37 |
#tst_list='adm gfo+rs mth' |
#tst_list='g77 gfo+rs mth' |
38 |
|
|
39 |
#option="-nc" ; checkOut=0 |
#option="-nc" ; checkOut=0 |
40 |
#option="-q" ; checkOut=0 |
#option="-q" ; checkOut=0 |
119 |
comm="./testreport" |
comm="./testreport" |
120 |
if test $typ = 'g7a' -o $typ = 'adm' -o $typ = 'mpa' ; then |
if test $typ = 'g7a' -o $typ = 'adm' -o $typ = 'mpa' ; then |
121 |
comm="$comm -adm" |
comm="$comm -adm" |
122 |
|
elif test $typ = 'oad' ; then |
123 |
|
comm="$comm -oad" |
124 |
elif test $typ = 'tlm' ; then |
elif test $typ = 'tlm' ; then |
125 |
comm="$comm -tlm" |
comm="$comm -tlm" |
126 |
elif test $typ = 'mth' -o $typ = 'mp2' ; then |
elif test $typ = 'mth' -o $typ = 'mp2' ; then |
135 |
MPI=0 |
MPI=0 |
136 |
case $typ in |
case $typ in |
137 |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
138 |
'gfo'|'adm'|'tlm'|'mth') comm="$comm -match $MC -devel" |
'gfo'|'adm'|'oad'|'tlm'|'mth') comm="$comm -match $MC -devel" |
139 |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
140 |
'ifc') OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |
'ifc') OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |
141 |
'pgi') OPTFILE='../tools/build_options/linux_amd64_pgf77' ;; |
'pgi') OPTFILE='../tools/build_options/linux_amd64_pgf77' ;; |
154 |
fi |
fi |
155 |
|
|
156 |
#-- set specific Env Vars: |
#-- set specific Env Vars: |
157 |
|
if test $typ = 'oad' ; then |
158 |
|
source ~jmc/mitgcm/bin/setenv_OpenAD.sh |
159 |
|
fi |
160 |
if test $typ = 'ifc' ; then |
if test $typ = 'ifc' ; then |
161 |
source /srv/software/intel/intel-11.1.073/bin/ifortvars.sh intel64 |
source /srv/software/intel/intel-11.1.073/bin/ifortvars.sh intel64 |
162 |
fi |
fi |