15 |
echo " (-mpi) use MPI to compile and run on 2 processors" |
echo " (-mpi) use MPI to compile and run on 2 processors" |
16 |
echo " (-MPI) NUMBER use MPI to compile and run on max NUMBER procs" |
echo " (-MPI) NUMBER use MPI to compile and run on max NUMBER procs" |
17 |
echo " (-mfile|-mf) STRING MPI: file with list of possible machines to run on" |
echo " (-mfile|-mf) STRING MPI: file with list of possible machines to run on" |
18 |
echo " (-ieee/-noieee) if possible, use IEEE compiler flags" |
echo " (-fast) use optfile default for compiler flags (no '-ieee')" |
19 |
echo " (DEF=\"-ieee\")" |
echo " DEF=off => use IEEE numerics option (if available)" |
20 |
|
echo " (-devel) use optfile developement flags (if available)" |
21 |
echo " (-gsl) compile with \"-gsl\" flag" |
echo " (-gsl) compile with \"-gsl\" flag" |
22 |
echo " (-use_r4|-ur4) if allowed, use real*4 type for '_RS' variable" |
echo " (-use_r4|-ur4) if allowed, use real*4 type for '_RS' variable" |
23 |
echo " (-optfile|-of) STRING list of optfiles to use" |
echo " (-optfile|-of) STRING list of optfiles to use" |
339 |
if test "x$OPTFILE" != xNONE ; then |
if test "x$OPTFILE" != xNONE ; then |
340 |
command="$command -optfile=$OPTFILE" |
command="$command -optfile=$OPTFILE" |
341 |
fi |
fi |
342 |
if test "x$IEEE" != x ; then |
if test $OptLev = 1 ; then |
343 |
command="$command -ieee" |
command="$command -ieee" |
344 |
|
fi |
345 |
|
if test $OptLev = 0 ; then |
346 |
|
command="$command -devel" |
347 |
fi |
fi |
348 |
if test "x$GSL" = xt ; then |
if test "x$GSL" = xt ; then |
349 |
command="$command -gsl" |
command="$command -gsl" |
926 |
if test "x$MITGCM_IEEE" != x ; then |
if test "x$MITGCM_IEEE" != x ; then |
927 |
IEEE=$MITGCM_IEEE |
IEEE=$MITGCM_IEEE |
928 |
fi |
fi |
929 |
|
OptLev=1 |
930 |
GSL=f |
GSL=f |
931 |
|
|
932 |
CLEANUP=f |
CLEANUP=f |
1049 |
-adm | -ad) ADM=t ;; |
-adm | -ad) ADM=t ;; |
1050 |
-oad) OADM=t; NODEPEND=t ;; |
-oad) OADM=t; NODEPEND=t ;; |
1051 |
|
|
1052 |
-ieee) IEEE=true ;; |
-ieee) echo "Warning: ignore option '-ieee' (already the default)" |
1053 |
-noieee) IEEE= ;; |
printf " ... " ;; |
1054 |
|
-noieee) echo "Warning: will use option '-fast' instead of '-noieee' (obsolete)" |
1055 |
|
printf " ... " ; OptLev=`expr $OptLev \* 2` ;; |
1056 |
|
-fast) OptLev=`expr $OptLev \* 2` ;; |
1057 |
|
-devel) OptLev=0 ;; |
1058 |
-gsl) GSL=t ;; |
-gsl) GSL=t ;; |
1059 |
|
|
1060 |
-verbose) verbose=2 ;; |
-verbose) verbose=2 ;; |