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' ;; |
346 |
'pgi') OPTFILE='../tools/build_options/linux_amd64_pgf77' ;; |
'pgi') OPTFILE='../tools/build_options/linux_amd64_pgf77' ;; |
347 |
'mpa'|'mpi'|'mp2') comm="$comm -match $MC -devel" ; MPI=8 |
'mpa'|'mpi'|'mp2') comm="$comm -devel" ; MPI=8 |
348 |
|
#comm="$comm -match $MC" |
349 |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
OPTFILE='../tools/build_options/linux_amd64_gfortran' ;; |
350 |
*) OPTFILE= ;; |
*) OPTFILE= ;; |
351 |
esac |
esac |
358 |
EXE="mpirun -np TR_NPROC ./mitgcmuv" |
EXE="mpirun -np TR_NPROC ./mitgcmuv" |
359 |
fi |
fi |
360 |
fi |
fi |
361 |
|
if test $typ = 'g7a' ; then |
362 |
|
#- pkg/ecco does not compile with g77 + no NetCDF here => no pkg/profiles |
363 |
|
comm="$comm -skd global_oce_biogeo_bling" |
364 |
|
fi |
365 |
|
|
366 |
#-- set specific Env Vars: |
#-- set specific Env Vars: |
367 |
if test $typ = 'oad' ; then |
if test $typ = 'oad' ; then |