96 |
will search for a working compiler by trying a list of |
will search for a working compiler by trying a list of |
97 |
"usual suspects" such as gcc, c89, cc, etc. |
"usual suspects" such as gcc, c89, cc, etc. |
98 |
|
|
|
-[no]ieee | --[no]ieee |
|
|
Do or don't use IEEE numerics. Note that this option |
|
|
*only* works if it is supported by the OPTFILE that |
|
|
is being used. |
|
|
|
|
99 |
-use_real4 | -use_r4 | -ur4 | --use_real4 | --use_r4 | --ur4 |
-use_real4 | -use_r4 | -ur4 | --use_real4 | --use_r4 | --ur4 |
100 |
Use "real*4" type for _RS variable (#undef REAL4_IS_SLOW) |
Use "real*4" type for _RS variable (#undef REAL4_IS_SLOW) |
101 |
*only* works if CPP_EEOPTIONS.h allows this. |
*only* works if CPP_EEOPTIONS.h allows this. |
121 |
-hpmt | --hpmt |
-hpmt | --hpmt |
122 |
Performance analysis with the HPM Toolkit |
Performance analysis with the HPM Toolkit |
123 |
|
|
124 |
-gsl | --gsl |
-ieee | --ieee |
125 |
Use GSL to control floating point rounding and precision |
use IEEE numerics. Note that this option *only* works |
126 |
|
if it is supported by the OPTFILE that is being used. |
127 |
-devel | --devel |
-devel | --devel |
128 |
Add additional warning and debugging flags for development |
Add additional warning and debugging flags for development |
129 |
|
(if supported by the OPTFILE); also switch to IEEE numerics. |
130 |
|
-gsl | --gsl |
131 |
|
Use GSL to control floating point rounding and precision |
132 |
|
|
133 |
-mpi | --mpi |
-mpi | --mpi |
134 |
Include MPI header files and link to MPI libraries |
Include MPI header files and link to MPI libraries |
1146 |
|
|
1147 |
# The following state can be set directly by command-line switches |
# The following state can be set directly by command-line switches |
1148 |
gm_s1="OPTFILE PKG_DEPEND PKG_GROUPS MAKEFILE MAKEDEPEND PLATFORM ROOTDIR MODS DISABLE ENABLE" |
gm_s1="OPTFILE PKG_DEPEND PKG_GROUPS MAKEFILE MAKEDEPEND PLATFORM ROOTDIR MODS DISABLE ENABLE" |
1149 |
gm_s2="FC CC IEEE USE_R4 TS PAPIS PCLS PAPI PCL HPMT GSL DEVEL MPI OMP DUMPSTATE STANDARDDIRS" |
gm_s2="FC CC USE_R4 TS PAPIS PCLS PAPI PCL HPMT IEEE DEVEL GSL MPI OMP DUMPSTATE STANDARDDIRS" |
1150 |
|
|
1151 |
# The following state is not directly set by command-line switches |
# The following state is not directly set by command-line switches |
1152 |
gm_s3="LN S64 LINK MAKE PACKAGES INCLUDES FFLAGS FOPTIM FEXTRAFLAGS" |
gm_s3="LN S64 LINK MAKE PACKAGES INCLUDES FFLAGS FOPTIM FEXTRAFLAGS" |
1310 |
-fs90=* | --fs90=*) |
-fs90=* | --fs90=*) |
1311 |
FS90=$ac_optarg ;; |
FS90=$ac_optarg ;; |
1312 |
|
|
1313 |
|
-use_real4 | -use_r4 | -ur4 | --use_real4 | --use_r4 | --ur4 ) |
1314 |
|
USE_R4=true ;; |
1315 |
|
|
1316 |
-ieee | --ieee) |
-ieee | --ieee) |
1317 |
IEEE=true ;; |
IEEE=true ;; |
1318 |
-noieee | --noieee) |
-noieee | --noieee) |
1319 |
IEEE= ;; |
echo "Warning: ignore option '$ac_option' (default is already without '-ieee')" ;; |
1320 |
|
-devel | --devel) |
1321 |
-use_real4 | -use_r4 | -ur4 | --use_real4 | --use_r4 | --ur4 ) |
IEEE=true ; DEVEL=true ;; |
1322 |
USE_R4=true ;; |
-gsl | --gsl) |
1323 |
|
GSL=true ;; |
1324 |
|
|
1325 |
-ts | --ts) |
-ts | --ts) |
1326 |
TS=true ;; |
TS=true ;; |
1337 |
-hpmt | --hpmt) |
-hpmt | --hpmt) |
1338 |
HPMT=true ;; |
HPMT=true ;; |
1339 |
|
|
|
-gsl | --gsl) |
|
|
GSL=true ;; |
|
|
|
|
|
-devel | --devel) |
|
|
DEVEL=true ;; |
|
|
|
|
1340 |
-mpi | --mpi) |
-mpi | --mpi) |
1341 |
MPI=true ;; |
MPI=true ;; |
1342 |
-mpi=* | --mpi=*) |
-mpi=* | --mpi=*) |
1387 |
echo "WARNING: genmake2 has detected a copy of the old-style \"./.genmakerc\"" |
echo "WARNING: genmake2 has detected a copy of the old-style \"./.genmakerc\"" |
1388 |
echo " file. This file format is no longer supported. For directions on" |
echo " file. This file format is no longer supported. For directions on" |
1389 |
echo " how to setup and use the new \"genmake2\" script, please see:" |
echo " how to setup and use the new \"genmake2\" script, please see:" |
1390 |
echo " http://mitgcm.org/devel_HOWTO/" |
echo " http://mitgcm.org/public/devel_HOWTO/" |
1391 |
echo " and send an email to MITgcm-support@mitgcm.org if you need help." |
echo " and send an email to MITgcm-support@mitgcm.org if you need help." |
1392 |
echo "WARNING: ignore \"./.genmakerc\" and continue." |
echo "WARNING: ignore \"./.genmakerc\" and continue." |
1393 |
echo |
echo |