| 18 |
# Turn off stack limit for FIZHI & AD-tests |
# Turn off stack limit for FIZHI & AD-tests |
| 19 |
ulimit -s unlimited |
ulimit -s unlimited |
| 20 |
# MPI test (for now, only with gfortran) |
# MPI test (for now, only with gfortran) |
| 21 |
# source $HOME/bin/openmpi.sh |
source $HOME/bin/openmpi.sh |
| 22 |
|
|
| 23 |
#- method to access CVS: |
#- method to access CVS: |
| 24 |
cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack' |
cmdCVS='cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack' |
| 198 |
if test $typ = 'mpi' ; then |
if test $typ = 'mpi' ; then |
| 199 |
addExp="offline_cheapaml atm_gray atm_strato" |
addExp="offline_cheapaml atm_gray atm_strato" |
| 200 |
fi |
fi |
|
if test $typ = 'gfo' -o $typ = 'ifc' -o $typ = 'mpa' ; then |
|
|
addExp="$addExp global_oce_biogeo_bling" |
|
|
fi |
|
| 201 |
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
if test $typ = 'gfo' -o $typ = 'ifc' ; then |
| 202 |
addExp="$addExp shelfice_remeshing" |
addExp="$addExp shelfice_remeshing" |
| 203 |
fi |
fi |
| 204 |
if test $typ = 'mpi' ; then |
if test $typ = 'mpi' ; then |
| 205 |
addExp="$addExp global_ocean.gm_k3d" |
addExp="$addExp global_ocean.gm_k3d" |
| 206 |
|
addExp="$addExp global_ocean.gm_res" |
| 207 |
addExp="$addExp global_oce_cs32" |
addExp="$addExp global_oce_cs32" |
| 208 |
fi |
fi |
| 209 |
#- check day and time: |
#- check day and time: |
| 303 |
( cd verification ; ln -s ../$git_other/$exp2add . ) |
( cd verification ; ln -s ../$git_other/$exp2add . ) |
| 304 |
if test $exp2add = 'global_oce_cs32' ; then |
if test $exp2add = 'global_oce_cs32' ; then |
| 305 |
echo " link dir 'other_input/core2_cnyf' in here" | tee -a $tdir/output_$tt |
echo " link dir 'other_input/core2_cnyf' in here" | tee -a $tdir/output_$tt |
| 306 |
( cd verification/${exp2add} |
( cd ${git_other}/${exp2add} |
| 307 |
ln -s ../../../other_input/core2_cnyf . ) |
ln -s ../../../other_input/core2_cnyf . ) |
| 308 |
fi |
fi |
| 309 |
#if test $exp2add = 'shelfice_remeshing' ; then |
#if test $exp2add = 'shelfice_remeshing' ; then |
| 338 |
MPI=0 |
MPI=0 |
| 339 |
case $typ in |
case $typ in |
| 340 |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
'g77'|'g7a') OPTFILE='../tools/build_options/linux_amd64_g77' ;; |
| 341 |
'gfo'|'adm'|'oad'|'tlm'|'mth') comm="$comm -match $MC -devel" |
'gfo'|'adm'|'oad'|'tlm'|'mth') comm="$comm -devel" |
| 342 |
|
#comm="$comm -match $MC" |
| 343 |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
| 344 |
'ifc') comm="$comm -devel" |
'ifc') comm="$comm -devel" |
| 345 |
OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |
OPTFILE='../tools/build_options/linux_amd64_ifort11' ;; |
| 357 |
EXE="mpirun -np TR_NPROC ./mitgcmuv" |
EXE="mpirun -np TR_NPROC ./mitgcmuv" |
| 358 |
fi |
fi |
| 359 |
fi |
fi |
| 360 |
|
if test $typ = 'g7a' ; then |
| 361 |
|
#- pkg/ecco does not compile with g77 + no NetCDF here => no pkg/profiles |
| 362 |
|
comm="$comm -skd global_oce_biogeo_bling" |
| 363 |
|
fi |
| 364 |
|
|
| 365 |
#-- set specific Env Vars: |
#-- set specific Env Vars: |
| 366 |
if test $typ = 'oad' ; then |
if test $typ = 'oad' ; then |