324 |
EOF |
EOF |
325 |
return 1 |
return 1 |
326 |
fi |
fi |
327 |
c_tcall=`nm genmake_test.o | grep tcall | cut -d ' ' -f 3` |
c_tcall=`nm genmake_test.o | grep 'T ' | grep tcall | cut -d ' ' -f 3` |
328 |
RETVAL=$? |
RETVAL=$? |
329 |
if test "x$RETVAL" != x0 ; then |
if test "x$RETVAL" != x0 ; then |
330 |
FC_NAMEMANGLE=$default_nm |
FC_NAMEMANGLE=$default_nm |
354 |
EOF |
EOF |
355 |
return 1 |
return 1 |
356 |
fi |
fi |
357 |
f_tcall=`nm genmake_tcomp.o | grep tcall | cut -d ' ' -f 3` |
f_tcall=`nm genmake_tcomp.o | grep 'T ' | grep tcall | cut -d ' ' -f 3` |
358 |
RETVAL=$? |
RETVAL=$? |
359 |
if test "x$RETVAL" != x0 ; then |
if test "x$RETVAL" != x0 ; then |
360 |
FC_NAMEMANGLE=$default_nm |
FC_NAMEMANGLE=$default_nm |
941 |
if test "x$S64" = x ; then |
if test "x$S64" = x ; then |
942 |
S64='$(TOOLSDIR)/set64bitConst.sh' |
S64='$(TOOLSDIR)/set64bitConst.sh' |
943 |
fi |
fi |
944 |
|
THIS_SCRIPT=`echo ${0} | sed 's:'$TOOLSDIR':\$(TOOLSDIR):'` |
945 |
|
|
946 |
EXECUTABLE=${EXECUTABLE:-mitgcmuv} |
EXECUTABLE=${EXECUTABLE:-mitgcmuv} |
947 |
|
|
1147 |
|
|
1148 |
# Create a list of #define and #undef to enable/disable packages |
# Create a list of #define and #undef to enable/disable packages |
1149 |
PACKAGES_DOT_H=PACKAGES_CONFIG.h |
PACKAGES_DOT_H=PACKAGES_CONFIG.h |
|
cat <<EOF >$PACKAGES_DOT_H".tmp" |
|
|
C=== GENMAKE v2 === |
|
|
C The following defines have been set by GENMAKE, so please do not |
|
|
C edit anything below these comments. In general, you should |
|
|
C add or remove packages by re-running genmake with different |
|
|
C "-enable" and/or "-disable" options. |
|
|
|
|
|
#ifndef PACKAGES_H |
|
|
#define PACKAGES_H |
|
|
|
|
|
C Packages disabled by genmake: |
|
|
EOF |
|
1150 |
# The following UGLY HACK sets multiple "#undef"s and it needs to go |
# The following UGLY HACK sets multiple "#undef"s and it needs to go |
1151 |
# away. On 2003-08-12, CNH, JMC, and EH3 agreed that the CPP_OPTIONS.h |
# away. On 2003-08-12, CNH, JMC, and EH3 agreed that the CPP_OPTIONS.h |
1152 |
# file would eventually be split up so that all package-related #define |
# file would eventually be split up so that all package-related #define |
1153 |
# statements could be separated and handled only by genmake. |
# statements could be separated and handled only by genmake. |
1154 |
names=`ls -1 "$ROOTDIR/pkg"` |
names=`ls -1 "$ROOTDIR/pkg"` |
1155 |
all_pack= |
all_pack= |
1156 |
|
DISABLED_PACKAGES= |
1157 |
for n in $names ; do |
for n in $names ; do |
1158 |
if test -d "$ROOTDIR/pkg/$n" -a "x$n" != xCVS ; then |
if test -d "$ROOTDIR/pkg/$n" -a "x$n" != xCVS ; then |
1159 |
has_pack="f" |
has_pack="f" |
1165 |
done |
done |
1166 |
if test "x$has_pack" = xf ; then |
if test "x$has_pack" = xf ; then |
1167 |
undef=`echo "ALLOW_$n" | $AWK '{print toupper($0)}'` |
undef=`echo "ALLOW_$n" | $AWK '{print toupper($0)}'` |
1168 |
echo "#undef $undef" >> $PACKAGES_DOT_H".tmp" |
DISABLED_PACKAGES="$DISABLED_PACKAGES -U$undef" |
1169 |
fi |
fi |
1170 |
fi |
fi |
1171 |
done |
done |
1172 |
cat <<EOF >>$PACKAGES_DOT_H".tmp" |
ENABLED_PACKAGES= |
|
|
|
|
C Packages enabled by genmake: |
|
|
EOF |
|
1173 |
for i in $PACKAGES ; do |
for i in $PACKAGES ; do |
1174 |
def=`echo "ALLOW_$i" | $AWK '{print toupper($0)}'` |
def=`echo "ALLOW_$i" | $AWK '{print toupper($0)}'` |
1175 |
echo "#define $def" >> $PACKAGES_DOT_H".tmp" |
ENABLED_PACKAGES="$ENABLED_PACKAGES -D$def" |
1176 |
#eh3 DEFINES="$DEFINES -D$def" |
#eh3 DEFINES="$DEFINES -D$def" |
1177 |
|
|
1178 |
#EH3 WARNING : This is an UGLY HACK that needs to be removed!!! |
#EH3 WARNING : This is an UGLY HACK that needs to be removed!!! |
1179 |
case $i in |
case $i in |
1180 |
aim_v23) |
aim_v23) |
|
echo "#define ALLOW_AIM" >> $PACKAGES_DOT_H".tmp" |
|
1181 |
DEFINES="$DEFINES -DALLOW_AIM" |
DEFINES="$DEFINES -DALLOW_AIM" |
1182 |
|
ENABLED_PACKAGES="$ENABLED_PACKAGES -DALLOW_AIM" |
1183 |
echo "Warning: ALLOW_AIM is set to enable aim_v23. This is REALLY ugly Jean-Michel :-)" |
echo "Warning: ALLOW_AIM is set to enable aim_v23. This is REALLY ugly Jean-Michel :-)" |
1184 |
;; |
;; |
1185 |
esac |
esac |
1186 |
#EH3 WARNING : This is an UGLY HACK that needs to be removed!!! |
#EH3 WARNING : This is an UGLY HACK that needs to be removed!!! |
1187 |
|
|
1188 |
done |
done |
|
cat <<EOF >>$PACKAGES_DOT_H".tmp" |
|
|
|
|
|
#endif /* PACKAGES_H */ |
|
|
EOF |
|
|
|
|
|
if test ! -f $PACKAGES_DOT_H ; then |
|
|
mv -f $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H |
|
|
else |
|
|
cmp $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H |
|
|
RETVAL=$? |
|
|
if test "x$RETVAL" = x0 ; then |
|
|
rm -f $PACKAGES_DOT_H".tmp" |
|
|
else |
|
|
mv -f $PACKAGES_DOT_H $PACKAGES_DOT_H".bak" |
|
|
mv -f $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H |
|
|
fi |
|
|
fi |
|
1189 |
|
|
1190 |
echo " Adding STANDARDDIRS" |
echo " Adding STANDARDDIRS" |
1191 |
BUILDDIR=${BUILDDIR:-.} |
BUILDDIR=${BUILDDIR:-.} |
1248 |
done |
done |
1249 |
done |
done |
1250 |
|
|
|
cat <<EOF > adjoint_sed |
|
|
s/call adopen(/call adopen ( mythid,\\ |
|
|
\& /g |
|
|
s/call adclose(/call adclose( mythid,\\ |
|
|
\& /g |
|
|
s/call adread(/call adread ( mythid,\\ |
|
|
\& /g |
|
|
s/call adwrite(/call adwrite( mythid,\\ |
|
|
\& /g |
|
|
|
|
|
EOF |
|
|
|
|
1251 |
echo |
echo |
1252 |
echo "=== Creating the Makefile ===" |
echo "=== Creating the Makefile ===" |
1253 |
echo " setting INCLUDES" |
echo " setting INCLUDES" |
1277 |
for sf in $sfiles ; do |
for sf in $sfiles ; do |
1278 |
if test ! -r ".links.tmp/$sf" ; then |
if test ! -r ".links.tmp/$sf" ; then |
1279 |
if test -f "$d/$sf" ; then |
if test -f "$d/$sf" ; then |
1280 |
|
case $d/$sf in |
1281 |
|
./$PACKAGES_DOT_H) |
1282 |
|
;; |
1283 |
|
./AD_CONFIG.h) |
1284 |
|
;; |
1285 |
|
./FC_NAMEMANGLE.h) |
1286 |
|
;; |
1287 |
|
*) |
1288 |
|
touch .links.tmp/$sf |
1289 |
|
deplist="$deplist $sf" |
1290 |
|
;; |
1291 |
|
esac |
1292 |
extn=`echo $sf | $AWK -F '.' '{print $NF}'` |
extn=`echo $sf | $AWK -F '.' '{print $NF}'` |
|
touch .links.tmp/$sf |
|
|
deplist="$deplist $sf" |
|
1293 |
case $extn in |
case $extn in |
1294 |
F) |
F) |
1295 |
echo " \\" >> srclist.inc |
echo " \\" >> srclist.inc |
1380 |
EXE_FTL = ${EXE_FTL} |
EXE_FTL = ${EXE_FTL} |
1381 |
EXE_SVD = ${EXE_SVD} |
EXE_SVD = ${EXE_SVD} |
1382 |
|
|
1383 |
|
ENABLED_PACKAGES = ${ENABLED_PACKAGES} |
1384 |
|
DISABLED_PACKAGES = ${DISABLED_PACKAGES} |
1385 |
|
|
1386 |
EOF |
EOF |
1387 |
|
|
1388 |
# Note: figure out some way to add Hyades JAM libraries here |
# Note: figure out some way to add Hyades JAM libraries here |
1447 |
.SUFFIXES: .o .f .p .F .c .F90 .f90 |
.SUFFIXES: .o .f .p .F .c .F90 .f90 |
1448 |
|
|
1449 |
all: \$(EXECUTABLE) |
all: \$(EXECUTABLE) |
1450 |
\$(EXECUTABLE): \$(OBJFILES) |
\$(EXECUTABLE): links \$(OBJFILES) |
1451 |
|
@echo Creating \$@ ... |
1452 |
\$(LINK) -o \$@ \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) \$(LIBS) |
\$(LINK) -o \$@ \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) \$(LIBS) |
1453 |
depend: |
depend: |
1454 |
@make links |
@make links |
1455 |
\$(MAKEDEPEND) -o .f \$(DEFINES) \$(INCLUDES) \$(SRCFILES) |
\$(MAKEDEPEND) -o .f \$(DEFINES) \$(INCLUDES) \$(SRCFILES) |
1456 |
${TOOLSDIR}/f90mkdepend >> \$(MAKEFILE) |
\$(TOOLSDIR)/f90mkdepend >> \$(MAKEFILE) |
1457 |
|
|
1458 |
links: \$(SRCFILES) \$(CSRCFILES) \$(HEADERFILES) \$(F90SRCFILES) |
links: \$(SRCFILES) \$(CSRCFILES) \$(HEADERFILES) \$(F90SRCFILES) ${PACKAGES_DOT_H} AD_CONFIG.h |
1459 |
|
|
1460 |
small_f: \$(F77FILES) \$(F90FILES) |
small_f: \$(F77FILES) \$(F90FILES) |
1461 |
|
|
1464 |
@\$(EXECUTABLE) > \$@ |
@\$(EXECUTABLE) > \$@ |
1465 |
|
|
1466 |
clean: |
clean: |
1467 |
-cat AD_CONFIG.template > AD_CONFIG.h |
-rm -rf *.o *.f *.p *.f90 *.mod ${RMFILES} work.{pc,pcl} *.template |
|
-rm -rf *.o *.f *.p *.f90 *.mod ${RMFILES} work.{pc,pcl} |
|
1468 |
Clean: |
Clean: |
1469 |
@make clean |
@make clean |
1470 |
@make cleanlinks |
@make cleanlinks |
1471 |
|
-rm -f ${PACKAGES_DOT_H} AD_CONFIG.h |
1472 |
-rm -f Makefile.bak genmake_state genmake_*optfile genmake_warnings make.log |
-rm -f Makefile.bak genmake_state genmake_*optfile genmake_warnings make.log |
1473 |
CLEAN: |
CLEAN: |
1474 |
@make Clean |
@make Clean |
1479 |
|
|
1480 |
#eh3 Makefile: makefile |
#eh3 Makefile: makefile |
1481 |
makefile: |
makefile: |
1482 |
${0} $@ |
$THIS_SCRIPT $@ |
1483 |
cleanlinks: |
cleanlinks: |
1484 |
-find . -type l -exec rm {} \; |
-find . -type l -exec rm {} \; |
1485 |
|
|
1486 |
|
# Special targets |
1487 |
|
${PACKAGES_DOT_H}: |
1488 |
|
@echo Creating \$@ ... |
1489 |
|
@\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -bPACKAGES_CONFIG_H "Disabled packages:" \$(DISABLED_PACKAGES) " " "Enabled packages:" \$(ENABLED_PACKAGES) > \$@ |
1490 |
|
AD_CONFIG.h: |
1491 |
|
@echo Creating \$@ ... |
1492 |
|
@\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -bAD_CONFIG_H -UALLOW_ADJOINT_RUN -UALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > \$@ |
1493 |
|
|
1494 |
# The normal chain of rules is ( .F - .f - .o ) |
# The normal chain of rules is ( .F - .f - .o ) |
1495 |
.F.f: |
.F.f: |
1496 |
\$(CPP) \$(DEFINES) \$(INCLUDES) > \$@ |
\$(CPP) \$(DEFINES) \$(INCLUDES) > \$@ |
1550 |
adtamc: ad_tamc_output.f |
adtamc: ad_tamc_output.f |
1551 |
|
|
1552 |
ad_input_code.f: \$(AD_FILES) \$(HEADERFILES) |
ad_input_code.f: \$(AD_FILES) \$(HEADERFILES) |
1553 |
|
@\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -DALLOW_ADJOINT_RUN -UALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > ad_config.template |
1554 |
cmp ad_config.template AD_CONFIG.h || cat ad_config.template > AD_CONFIG.h |
cmp ad_config.template AD_CONFIG.h || cat ad_config.template > AD_CONFIG.h |
1555 |
|
-rm -f ad_config.template |
1556 |
@make \$(F77FILES) |
@make \$(F77FILES) |
1557 |
@make \$(AD_FLOW_FILES) |
@make \$(AD_FLOW_FILES) |
1558 |
cat \$(AD_FLOW_FILES) \$(AD_FILES) > ad_input_code.f |
cat \$(AD_FLOW_FILES) \$(AD_FILES) > ad_input_code.f |
1559 |
|
|
1560 |
ad_taf_output.f: ad_input_code.f |
ad_taf_output.f: ad_input_code.f |
1561 |
\$(TAF) \$(AD_TAF_FLAGS) \$(TAF_EXTRA) ad_input_code.f |
\$(TAF) \$(AD_TAF_FLAGS) \$(TAF_EXTRA) ad_input_code.f |
1562 |
cat ad_input_code_ad.f | sed -f adjoint_sed > ad_taf_output.f |
cat ad_input_code_ad.f | sed -f \$(TOOLSDIR)/adjoint_sed > ad_taf_output.f |
1563 |
|
|
1564 |
adtafonly: |
adtafonly: |
1565 |
\$(TAF) \$(AD_TAF_FLAGS) \$(TAF_EXTRA) ad_input_code.f |
\$(TAF) \$(AD_TAF_FLAGS) \$(TAF_EXTRA) ad_input_code.f |
1566 |
cat ad_input_code_ad.f | sed -f adjoint_sed > ad_taf_output.f |
cat ad_input_code_ad.f | sed -f \$(TOOLSDIR)/adjoint_sed > ad_taf_output.f |
1567 |
|
|
1568 |
ad_taf: ad_taf_output.o \$(OBJFILES) |
ad_taf: ad_taf_output.o \$(OBJFILES) |
1569 |
\$(LINK) -o ${EXE_AD} \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ad_taf_output.o \$(LIBS) |
\$(LINK) -o ${EXE_AD} \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ad_taf_output.o \$(LIBS) |
1570 |
|
|
1571 |
ad_tamc_output.f: ad_input_code.f |
ad_tamc_output.f: ad_input_code.f |
1572 |
\$(TAMC) \$(AD_TAMC_FLAGS) \$(TAMC_EXTRA) ad_input_code.f |
\$(TAMC) \$(AD_TAMC_FLAGS) \$(TAMC_EXTRA) ad_input_code.f |
1573 |
cat ad_input_code_ad.f | sed -f adjoint_sed > ad_tamc_output.f |
cat ad_input_code_ad.f | sed -f \$(TOOLSDIR)/adjoint_sed > ad_tamc_output.f |
1574 |
|
|
1575 |
ad_tamc: ad_tamc_output.o \$(OBJFILES) |
ad_tamc: ad_tamc_output.o \$(OBJFILES) |
1576 |
\$(LINK) -o ${EXE_AD} \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ad_tamc_output.o \$(LIBS) |
\$(LINK) -o ${EXE_AD} \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ad_tamc_output.o \$(LIBS) |
1582 |
ftltamc: ftl_tamc_output.f |
ftltamc: ftl_tamc_output.f |
1583 |
|
|
1584 |
ftl_input_code.f: \$(AD_FILES) \$(HEADERFILES) |
ftl_input_code.f: \$(AD_FILES) \$(HEADERFILES) |
1585 |
|
@\$(TOOLSDIR)/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -UALLOW_ADJOINT_RUN -DALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > ftl_config.template |
1586 |
cmp ftl_config.template AD_CONFIG.h || cat ftl_config.template > AD_CONFIG.h |
cmp ftl_config.template AD_CONFIG.h || cat ftl_config.template > AD_CONFIG.h |
1587 |
|
-rm -f ftl_config.template |
1588 |
@make \$(F77FILES) |
@make \$(F77FILES) |
1589 |
@make \$(AD_FLOW_FILES) |
@make \$(AD_FLOW_FILES) |
1590 |
cat \$(AD_FLOW_FILES) \$(AD_FILES) > ftl_input_code.f |
cat \$(AD_FLOW_FILES) \$(AD_FILES) > ftl_input_code.f |
1591 |
|
|
1592 |
ftl_taf_output.f: ftl_input_code.f |
ftl_taf_output.f: ftl_input_code.f |
1593 |
\$(TAF) \$(FTL_TAF_FLAGS) \$(TAF_EXTRA) ftl_input_code.f |
\$(TAF) \$(FTL_TAF_FLAGS) \$(TAF_EXTRA) ftl_input_code.f |
1594 |
cat ftl_input_code_ftl.f | sed -f adjoint_sed > ftl_taf_output.f |
cat ftl_input_code_ftl.f | sed -f \$(TOOLSDIR)/adjoint_sed > ftl_taf_output.f |
1595 |
|
|
1596 |
ftltafonly: |
ftltafonly: |
1597 |
\$(TAF) \$(FTL_TAF_FLAGS) \$(TAF_EXTRA) ftl_input_code.f |
\$(TAF) \$(FTL_TAF_FLAGS) \$(TAF_EXTRA) ftl_input_code.f |
1598 |
cat ftl_input_code_ftl.f | sed -f adjoint_sed > ftl_taf_output.f |
cat ftl_input_code_ftl.f | sed -f \$(TOOLSDIR)/adjoint_sed > ftl_taf_output.f |
1599 |
|
|
1600 |
ftl_taf: ftl_taf_output.o \$(OBJFILES) |
ftl_taf: ftl_taf_output.o \$(OBJFILES) |
1601 |
\$(LINK) -o ${EXE_FTL} \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ftl_taf_output.o \$(LIBS) |
\$(LINK) -o ${EXE_FTL} \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ftl_taf_output.o \$(LIBS) |
1602 |
|
|
1603 |
ftl_tamc_output.f: ftl_input_code.f |
ftl_tamc_output.f: ftl_input_code.f |
1604 |
\$(TAMC) \$(FTL_TAMC_FLAGS) \$(TAMC_EXTRA) ftl_input_code.f |
\$(TAMC) \$(FTL_TAMC_FLAGS) \$(TAMC_EXTRA) ftl_input_code.f |
1605 |
cat ftl_input_code_ftl.f | sed -f adjoint_sed > ftl_tamc_output.f |
cat ftl_input_code_ftl.f | sed -f \$(TOOLSDIR)/adjoint_sed > ftl_tamc_output.f |
1606 |
|
|
1607 |
ftl_tamc: ftl_tamc_output.o \$(OBJFILES) |
ftl_tamc: ftl_tamc_output.o \$(OBJFILES) |
1608 |
\$(LINK) -o ${EXE_FTL} \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ftl_tamc_output.o \$(LIBS) |
\$(LINK) -o ${EXE_FTL} \$(FFLAGS) \$(FOPTIM) \$(OBJFILES) ftl_tamc_output.o \$(LIBS) |
1654 |
|
|
1655 |
printf "\n=== Done ===\n" |
printf "\n=== Done ===\n" |
1656 |
|
|
1657 |
# Write the "template" files for the adjoint builds |
# Create special header files |
1658 |
cat >AD_CONFIG.template <<EOF |
$TOOLSDIR/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -bPACKAGES_CONFIG_H "Disabled packages:" $DISABLED_PACKAGES " " "Enabled packages:" $ENABLED_PACKAGES > $PACKAGES_DOT_H".tmp" |
1659 |
C WARNING: This file is automatically generated by genmake2 and |
if test ! -f $PACKAGES_DOT_H ; then |
1660 |
C used by the Makefile rules. Please DO NOT EDIT this file |
mv -f $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H |
1661 |
C unless you are CERTAIN that you know what you are doing. |
else |
1662 |
|
cmp $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H |
1663 |
#undef ALLOW_ADJOINT_RUN |
RETVAL=$? |
1664 |
#undef ALLOW_TANGENTLINEAR_RUN |
if test "x$RETVAL" = x0 ; then |
1665 |
#undef ALLOW_ECCO_OPTIMIZATION |
rm -f $PACKAGES_DOT_H".tmp" |
1666 |
EOF |
else |
1667 |
cat >ad_config.template <<EOF |
mv -f $PACKAGES_DOT_H $PACKAGES_DOT_H".bak" |
1668 |
C WARNING: This file is automatically generated by genmake2 and |
mv -f $PACKAGES_DOT_H".tmp" $PACKAGES_DOT_H |
1669 |
C used by the Makefile rules. Please DO NOT EDIT this file |
fi |
1670 |
C unless you are CERTAIN that you know what you are doing. |
fi |
1671 |
|
if test ! -f AD_CONFIG.h ; then |
1672 |
#define ALLOW_ADJOINT_RUN |
$TOOLSDIR/convert_cpp_cmd2defines "Warning - this file is automatically generated - do NOT edit" -UALLOW_ADJOINT_RUN -UALLOW_TANGENTLINEAR_RUN -UALLOW_ECCO_OPTIMIZATION > AD_CONFIG.h |
1673 |
#undef ALLOW_TANGENTLINEAR_RUN |
fi |
|
#undef ALLOW_ECCO_OPTIMIZATION |
|
|
EOF |
|
|
cat >ftl_config.template <<EOF |
|
|
C WARNING: This file is automatically generated by genmake2 and |
|
|
C used by the Makefile rules. Please DO NOT EDIT this file |
|
|
C unless you are CERTAIN that you know what you are doing. |
|
|
|
|
|
#undef ALLOW_ADJOINT_RUN |
|
|
#define ALLOW_TANGENTLINEAR_RUN |
|
|
#undef ALLOW_ECCO_OPTIMIZATION |
|
|
EOF |
|
|
cat >svd_config.template <<EOF |
|
|
C WARNING: This file is automatically generated by genmake2 and |
|
|
C used by the Makefile rules. Please DO NOT EDIT this file |
|
|
C unless you are CERTAIN that you know what you are doing. |
|
|
|
|
|
#undef ALLOW_ADJOINT_RUN |
|
|
#undef ALLOW_TANGENTLINEAR_RUN |
|
|
#undef ALLOW_ECCO_OPTIMIZATION |
|
|
EOF |
|
|
cp AD_CONFIG.template AD_CONFIG.h |
|
1674 |
|
|
1675 |
|
|
1676 |
# Write the "state" for future records |
# Write the "state" for future records |