25 |
cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack' |
cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack' |
26 |
cmdCVS='cvs -d /u/gcmpack' |
cmdCVS='cvs -d /u/gcmpack' |
27 |
|
|
28 |
|
dInWeek=`date +%a` |
29 |
TESTDIR="/scratch/jmc/test_"`hostname -s` |
TESTDIR="/scratch/jmc/test_"`hostname -s` |
30 |
MC=13 |
MC=13 |
31 |
checkOut=1 |
checkOut=1 |
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 |
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='adm gfo+rs mth' |
38 |
|
|
117 |
nbl='-100' |
nbl='-100' |
118 |
comm="./testreport" |
comm="./testreport" |
119 |
if test $typ = 'g7a' -o $typ = 'adm' -o $typ = 'mpa' ; then |
if test $typ = 'g7a' -o $typ = 'adm' -o $typ = 'mpa' ; then |
120 |
nbl='-60' |
comm="$comm -adm" ; nbl='-60' |
121 |
comm="$comm -adm" |
elif test $typ = 'tlm' ; then |
122 |
|
comm="$comm -tlm" ; nbl='-60' |
123 |
elif test $typ = 'mth' -o $typ = 'mp2' ; then |
elif test $typ = 'mth' -o $typ = 'mp2' ; then |
124 |
export GOMP_STACKSIZE=400m |
export GOMP_STACKSIZE=400m |
125 |
export OMP_NUM_THREADS=2 |
export OMP_NUM_THREADS=2 |
130 |
MPI=0 |
MPI=0 |
131 |
case $typ in |
case $typ in |
132 |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
133 |
'gfo'|'adm'|'mth') OPTFILE='../tools/build_options/linux_amd64_gfortran' |
'gfo'|'adm'|'tlm'|'mth') comm="$comm -match $MC -devel" |
134 |
comm="$comm -match $MC -devel" ;; |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
135 |
'ifc') OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |
'ifc') OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |
136 |
'pgi') OPTFILE='../tools/build_options/linux_amd64_pgf77' ;; |
'pgi') OPTFILE='../tools/build_options/linux_amd64_pgf77' ;; |
137 |
'mpa'|'mpi'|'mp2') OPTFILE='../tools/build_options/linux_amd64_gfortran' |
'mpa'|'mpi'|'mp2') comm="$comm -match $MC -devel" ; MPI=6 |
138 |
comm="$comm -match $MC -devel" ; MPI=6 ;; |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
139 |
*) OPTFILE= ;; |
*) OPTFILE= ;; |
140 |
esac |
esac |
141 |
#-- set MPI command: |
#-- set MPI command: |