519 |
-pdefault=NAME | --pdefault=NAME |
-pdefault=NAME | --pdefault=NAME |
520 |
Get the default package list from "NAME". |
Get the default package list from "NAME". |
521 |
|
|
522 |
|
-bash NAME |
523 |
|
Explicitly specify the Bourne or BASH shell to use |
524 |
|
|
525 |
-make NAME | -m NAME |
-make NAME | -m NAME |
526 |
--make=NAME | -m=NAME |
--make=NAME | -m=NAME |
527 |
Use "NAME" for the MAKE program. The default is "make" but |
Use "NAME" for the MAKE program. The default is "make" but |
581 |
*only* works if it is supported by the OPTFILE that |
*only* works if it is supported by the OPTFILE that |
582 |
is being used. |
is being used. |
583 |
|
|
584 |
|
-use_real4 | -use_r4 | -ur4 | --use_real4 | --use_r4 | --ur4 |
585 |
|
Use "real*4" type for _RS variable (#undef REAL4_IS_SLOW) |
586 |
|
*only* works if CPP_EEOPTIONS.h allows this. |
587 |
|
|
588 |
-ignoretime | -ignore_time | --ignoretime | --ignore_time |
-ignoretime | -ignore_time | --ignoretime | --ignore_time |
589 |
Ignore all the "wall clock" routines entirely. This will |
Ignore all the "wall clock" routines entirely. This will |
590 |
not in any way hurt the model results -- it simply means |
not in any way hurt the model results -- it simply means |
628 |
(including the Makefile, etc.) used to build the |
(including the Makefile, etc.) used to build the |
629 |
executable [off by default] |
executable [off by default] |
630 |
|
|
|
-bash NAME |
|
|
Explicitly specify the Bourne or BASH shell to use |
|
|
|
|
631 |
While it is most often a single word, the "NAME" variables specified |
While it is most often a single word, the "NAME" variables specified |
632 |
above can in many cases be a space-delimited string such as: |
above can in many cases be a space-delimited string such as: |
633 |
|
|
639 |
|
|
640 |
For more detailed genmake documentation, please see: |
For more detailed genmake documentation, please see: |
641 |
|
|
642 |
http://mitgcm.org/devel_HOWTO/ |
http://mitgcm.org/public/devel_HOWTO/ |
643 |
|
|
644 |
EOF |
EOF |
645 |
|
|
1069 |
MPIPATH= |
MPIPATH= |
1070 |
OMP= |
OMP= |
1071 |
OMPFLAG= |
OMPFLAG= |
1072 |
|
USE_R4= |
1073 |
TS= |
TS= |
1074 |
PAPIS= |
PAPIS= |
1075 |
PCLS= |
PCLS= |
1137 |
|
|
1138 |
# The following state can be set directly by command-line switches |
# The following state can be set directly by command-line switches |
1139 |
gm_s1="OPTFILE PDEPEND PDEFAULT MAKEFILE PLATFORM ROOTDIR MODS DISABLE ENABLE" |
gm_s1="OPTFILE PDEPEND PDEFAULT MAKEFILE PLATFORM ROOTDIR MODS DISABLE ENABLE" |
1140 |
gm_s2="FC CPP IEEE TS PAPIS PCLS PAPI PCL HPMT GSL DEVEL MPI OMP DUMPSTATE STANDARDDIRS" |
gm_s2="FC IEEE USE_R4 TS PAPIS PCLS PAPI PCL HPMT GSL DEVEL MPI OMP DUMPSTATE STANDARDDIRS" |
1141 |
|
|
1142 |
# The following state is not directly set by command-line switches |
# The following state is not directly set by command-line switches |
1143 |
gm_s3="LN S64 KPP LINK PACKAGES MAKEDEPEND PDEPEND PDEFAULT INCLUDES FFLAGS FOPTIM FEXTRAFLAGS" |
gm_s3="LN S64 KPP LINK PACKAGES MAKEDEPEND PDEPEND PDEFAULT INCLUDES FFLAGS FOPTIM FEXTRAFLAGS" |
1302 |
-noieee | --noieee) |
-noieee | --noieee) |
1303 |
IEEE= ;; |
IEEE= ;; |
1304 |
|
|
1305 |
|
-use_real4 | -use_r4 | -ur4 | --use_real4 | --use_r4 | --ur4 ) |
1306 |
|
USE_R4=true ;; |
1307 |
|
|
1308 |
-ts | --ts) |
-ts | --ts) |
1309 |
TS=true ;; |
TS=true ;; |
1310 |
-papis | --papis) |
-papis | --papis) |
1581 |
DEFINES="$DEFINES -DUSE_OMP_THREADING" |
DEFINES="$DEFINES -DUSE_OMP_THREADING" |
1582 |
fi |
fi |
1583 |
|
|
1584 |
|
if test ! "x$USE_R4" = x ; then |
1585 |
|
echo " Turning on LET_RS_BE_REAL4 cpp flag" |
1586 |
|
DEFINES="$DEFINES -DLET_RS_BE_REAL4" |
1587 |
|
fi |
1588 |
|
|
1589 |
if test ! "x$TS" = x ; then |
if test ! "x$TS" = x ; then |
1590 |
echo " Turning on timing per timestep" |
echo " Turning on timing per timestep" |
1591 |
if test ! "x$FOOLAD" = x ; then |
if test ! "x$FOOLAD" = x ; then |
2656 |
@make clean |
@make clean |
2657 |
@make cleanlinks |
@make cleanlinks |
2658 |
-rm -f \$(SPECIAL_FILES) |
-rm -f \$(SPECIAL_FILES) |
2659 |
-rm -f genmake_state genmake_*optfile genmake_warnings make.log run.log f90mkdepend.log *.bak |
-rm -f genmake_state genmake_*optfile genmake_warnings genmake_errors |
2660 |
|
-rm -f make.log run.log f90mkdepend.log *.bak |
2661 |
-rm -f taf_command taf_output taf_ad.log taf_ad_flow.log |
-rm -f taf_command taf_output taf_ad.log taf_ad_flow.log |
2662 |
CLEAN: |
CLEAN: |
2663 |
@make Clean |
@make Clean |
3055 |
|
|
3056 |
# canonicalizer |
# canonicalizer |
3057 |
ad_input_code_sf.w2f.pre.f$FS90: ad_input_code_sf.w2f.f$FS90 preProcess.py |
ad_input_code_sf.w2f.pre.f$FS90: ad_input_code_sf.w2f.f$FS90 preProcess.py |
3058 |
./preProcess.py --timing -H -S \$< -o \$@ |
./preProcess.py --timing --r8 -H -S \$< -o \$@ |
3059 |
|
|
3060 |
# F -> WHIRL |
# F -> WHIRL |
3061 |
# note that the canonicalized version cuts off at col 72 |
# note that the canonicalized version cuts off at col 72 |