611 |
set to PATH. i.e. Include files from \$PATH/include, link to libraries |
set to PATH. i.e. Include files from \$PATH/include, link to libraries |
612 |
from \$PATH/lib and use binaries from \$PATH/bin. |
from \$PATH/lib and use binaries from \$PATH/bin. |
613 |
|
|
614 |
|
-omp | --omp |
615 |
|
Activate OpenMP code + use Compiler option OMPFLAG |
616 |
|
-omp=OMPFLAG | --omp=OMPFLAG |
617 |
|
Activate OpenMP code + use Compiler option OMPFLAG |
618 |
|
|
619 |
-es | --es | -embed-source | --embed-source |
-es | --es | -embed-source | --embed-source |
620 |
Embed a tarball containing the full source code |
Embed a tarball containing the full source code |
621 |
(including the Makefile, etc.) used to build the |
(including the Makefile, etc.) used to build the |
1051 |
FFLAGS= |
FFLAGS= |
1052 |
FOPTIM= |
FOPTIM= |
1053 |
FEXTRAFLAGS= |
FEXTRAFLAGS= |
1054 |
|
USE_EXTENDED_SRC= |
1055 |
|
EXTENDED_SRC_FLAG= |
1056 |
CFLAGS= |
CFLAGS= |
1057 |
KFLAGS1= |
KFLAGS1= |
1058 |
KFLAGS2= |
KFLAGS2= |
1063 |
NOOPTFLAGS= |
NOOPTFLAGS= |
1064 |
MPI= |
MPI= |
1065 |
MPIPATH= |
MPIPATH= |
1066 |
|
OMP= |
1067 |
|
OMPFLAG= |
1068 |
TS= |
TS= |
1069 |
PAPIS= |
PAPIS= |
1070 |
PCLS= |
PCLS= |
1132 |
|
|
1133 |
# The following state can be set directly by command-line switches |
# The following state can be set directly by command-line switches |
1134 |
gm_s1="OPTFILE PDEPEND PDEFAULT MAKEFILE PLATFORM ROOTDIR MODS DISABLE ENABLE" |
gm_s1="OPTFILE PDEPEND PDEFAULT MAKEFILE PLATFORM ROOTDIR MODS DISABLE ENABLE" |
1135 |
gm_s2="FC CPP IEEE TS PAPIS PCLS PAPI PCL HPMT GSL DEVEL MPI JAM DUMPSTATE STANDARDDIRS" |
gm_s2="FC CPP IEEE TS PAPIS PCLS PAPI PCL HPMT GSL DEVEL MPI OMP DUMPSTATE STANDARDDIRS" |
1136 |
|
|
1137 |
# The following state is not directly set by command-line switches |
# The following state is not directly set by command-line switches |
1138 |
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" |
1333 |
MPIPATH=$ac_optarg |
MPIPATH=$ac_optarg |
1334 |
MPI=true ;; |
MPI=true ;; |
1335 |
|
|
1336 |
# -jam | --jam) |
-omp | --omp) |
1337 |
# JAM=1 ;; |
OMP=true ;; |
1338 |
# -nojam | --nojam) |
-omp=* | --omp=*) |
1339 |
# JAM=0 ;; |
OMPFLAG=$ac_optarg |
1340 |
|
OMP=true ;; |
1341 |
|
|
1342 |
-ds | --ds) |
-ds | --ds) |
1343 |
DUMPSTATE=t ;; |
DUMPSTATE=t ;; |
1412 |
fi |
fi |
1413 |
|
|
1414 |
# Find the MITgcm ${THISVER} |
# Find the MITgcm ${THISVER} |
1415 |
if test -f "${ROOTDIR}/doc/tag-index" ; then |
version_file="${ROOTDIR}/doc/tag-index" |
1416 |
THISVER=`grep '^checkpoint' ${ROOTDIR}/doc/tag-index | head -1` |
if test -f $version_file ; then |
1417 |
|
THISVER=`grep '^checkpoint' $version_file | head -1` |
1418 |
|
#- remove ./BUILD_INFO.h file if older than version_file |
1419 |
|
if test -f ./BUILD_INFO.h -a ./BUILD_INFO.h -ot $version_file ; then |
1420 |
|
echo " remove ./BUILD_INFO.h (older than ${version_file})" |
1421 |
|
rm -f ./BUILD_INFO.h |
1422 |
|
fi |
1423 |
fi |
fi |
1424 |
|
|
1425 |
if test "x$MAKEFILE" = x ; then |
if test "x$MAKEFILE" = x ; then |
1575 |
echo " Turning on MPI cpp macros" |
echo " Turning on MPI cpp macros" |
1576 |
DEFINES="$DEFINES -DALLOW_USE_MPI -DALWAYS_USE_MPI" |
DEFINES="$DEFINES -DALLOW_USE_MPI -DALWAYS_USE_MPI" |
1577 |
fi |
fi |
1578 |
|
if test ! "x$OMP" = x ; then |
1579 |
|
echo " Add OMPFLAG and turn on OpenMP cpp macros" |
1580 |
|
FFLAGS="$FFLAGS $OMPFLAG" |
1581 |
|
F90FLAGS="$F90FLAGS $OMPFLAG" |
1582 |
|
DEFINES="$DEFINES -DUSE_OMP_THREADING" |
1583 |
|
fi |
1584 |
|
|
1585 |
if test ! "x$TS" = x ; then |
if test ! "x$TS" = x ; then |
1586 |
echo " Turning on timing per timestep" |
echo " Turning on timing per timestep" |
1662 |
INCLUDES="$INCLUDES $GSLINC" |
INCLUDES="$INCLUDES $GSLINC" |
1663 |
LIBS="$LIBS $GSLLIB" |
LIBS="$LIBS $GSLLIB" |
1664 |
fi |
fi |
1665 |
|
#- if USE_EXTENDED_SRC is set, add EXTENDED_SRC_FLAG to FFLAGS : |
1666 |
|
if test ! "x$USE_EXTENDED_SRC" = x ; then |
1667 |
|
FFLAGS="$FFLAGS $EXTENDED_SRC_FLAG" |
1668 |
|
F90FIXEDFORMAT="$F90FIXEDFORMAT $EXTENDED_SRC_FLAG" |
1669 |
|
fi |
1670 |
|
|
1671 |
printf "\n=== Checking system libraries ===\n" |
printf "\n=== Checking system libraries ===\n" |
1672 |
printf " Do we have the system() command using $FC... " |
printf " Do we have the system() command using $FC... " |
1789 |
|
|
1790 |
|
|
1791 |
printf "\n=== Setting defaults ===\n" |
printf "\n=== Setting defaults ===\n" |
1792 |
printf " Adding MODS directories: " |
printf " Adding MODS directories: " |
1793 |
|
MPI_LNKF= |
1794 |
for d in $MODS ; do |
for d in $MODS ; do |
1795 |
if test ! -d $d ; then |
if test ! -d $d ; then |
1796 |
echo |
echo |
1797 |
echo "Error: MODS directory \"$d\" not found!" |
echo "Error: MODS directory \"$d\" not found!" |
1798 |
exit 1 |
exit 1 |
1799 |
else |
else |
1800 |
printf " $d" |
printf "$d " |
1801 |
SOURCEDIRS="$SOURCEDIRS $d" |
SOURCEDIRS="$SOURCEDIRS $d" |
1802 |
INCLUDEDIRS="$INCLUDEDIRS $d" |
INCLUDEDIRS="$INCLUDEDIRS $d" |
1803 |
|
#------------------------------------------------------- |
1804 |
|
# Put special links so that MPI specific files are used |
1805 |
|
MPI_FILES=`(cd $d ; find . -name "*_mpi" -print)` |
1806 |
|
for i in $MPI_FILES ; do |
1807 |
|
ii=`echo $i | sed 's:^\./::'` |
1808 |
|
name=`echo $ii | sed 's:_mpi::' ` |
1809 |
|
if test "x$MPI" = x ; then |
1810 |
|
# NO: We undo an _mpi symbolically linked file |
1811 |
|
if test -L $name ; then |
1812 |
|
cmp $name "$d/$ii" > /dev/null 2>&1 |
1813 |
|
RETVAL=$? |
1814 |
|
if test "x$RETVAL" = x0 ; then |
1815 |
|
printf "Un-linking $name ; " |
1816 |
|
rm -f $name |
1817 |
|
fi |
1818 |
|
fi |
1819 |
|
else |
1820 |
|
# YES: We symbolically link this file (with conditions if already there) |
1821 |
|
if test -L $name ; then |
1822 |
|
cmp $d/$ii $name > /dev/null 2>&1 |
1823 |
|
RETVAL=$? |
1824 |
|
yy=0 ; |
1825 |
|
for xx in $MPI_LNKF ; do if test $xx = $name ; then yy=1 ; fi ; done |
1826 |
|
if test "x$RETVAL" != x0 -a $yy = 0 ; then |
1827 |
|
# remove sym-link if different and has not just been linked |
1828 |
|
printf "Un-link + " |
1829 |
|
rm -f $name |
1830 |
|
fi |
1831 |
|
if test "x$RETVAL" = x0 ; then |
1832 |
|
# if identical, keep sym-link and keep record of it |
1833 |
|
MPI_LNKF="$MPI_LNKF $name" |
1834 |
|
fi |
1835 |
|
fi |
1836 |
|
if ! test -f $name ; then |
1837 |
|
# make sym-link and keep record of it |
1838 |
|
printf "Linking $ii to $name ; " |
1839 |
|
ln -sf $d/$ii $name |
1840 |
|
MPI_LNKF="$MPI_LNKF $name" |
1841 |
|
fi |
1842 |
|
fi |
1843 |
|
done |
1844 |
|
#------------------------------------------------------- |
1845 |
fi |
fi |
1846 |
done |
done |
1847 |
echo |
echo |
1848 |
|
#echo "MPI_LNKF='$MPI_LNKF'" |
1849 |
|
|
1850 |
if test "x${PLATFORM}" = x ; then |
if test "x${PLATFORM}" = x ; then |
1851 |
PLATFORM=$p_PLATFORM |
PLATFORM=$p_PLATFORM |
2586 |
echo "EMBEDDED_FILES = " >>$MAKEFILE |
echo "EMBEDDED_FILES = " >>$MAKEFILE |
2587 |
fi |
fi |
2588 |
|
|
|
# Note: figure out some way to add Hyades JAM libraries here |
|
2589 |
cat >>$MAKEFILE <<EOF |
cat >>$MAKEFILE <<EOF |
2590 |
# Unix ln (link) |
# Unix ln (link) |
2591 |
LN = ${LN} |
LN = ${LN} |
2686 |
-rm -rf *.o |
-rm -rf *.o |
2687 |
-rm -rf *.$FS *.flowdir |
-rm -rf *.$FS *.flowdir |
2688 |
-rm -rf *.f$FS90 *_mod.h *_mod.F90 *.FF90 *.mod-whirl ad_input* |
-rm -rf *.f$FS90 *_mod.h *_mod.F90 *.FF90 *.mod-whirl ad_input* |
2689 |
-rm -rf temp.sed reslice.dat |
-rm -rf temp.sed |
2690 |
Clean: |
Clean: |
2691 |
@make clean |
@make clean |
2692 |
@make cleanlinks |
@make cleanlinks |
2784 |
#=== Automatic Differentiation Rules === |
#=== Automatic Differentiation Rules === |
2785 |
#=== for TAMC/TAF ====================== |
#=== for TAMC/TAF ====================== |
2786 |
|
|
2787 |
if test "x$OPENAD" == x ; then |
if test "x$OPENAD" = x ; then |
2788 |
|
|
2789 |
cat >>$MAKEFILE <<EOF |
cat >>$MAKEFILE <<EOF |
2790 |
|
|
2825 |
adtaf: ad_taf_output.$FS |
adtaf: ad_taf_output.$FS |
2826 |
adtamc: ad_tamc_output.$FS |
adtamc: ad_tamc_output.$FS |
2827 |
|
|
2828 |
ad_input_code.$FS: \$(AD_FILES) \$(H_SRC_FILES) |
ad_input_code.$FS: \$(AD_FILES) \$(H_SRC_FILES) \$(AD_FLOW_FILES) |
2829 |
@$BASH\$(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 |
@$BASH\$(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 |
2830 |
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 |
2831 |
-rm -f ad_config.template |
-rm -f ad_config.template |
3008 |
f95_test_mods.f90: \$(OPENAD_SUPPORT_F90_SRC_FILES:F90=$FS90) |
f95_test_mods.f90: \$(OPENAD_SUPPORT_F90_SRC_FILES:F90=$FS90) |
3009 |
cat \$^ > \$@ |
cat \$^ > \$@ |
3010 |
|
|
3011 |
f95_test.f90: all_mods.xb.x2w.w2f.pp.f$FS90 \$(NON_AD_F77_SRC_FILES:.F=_cb2m.f$FS90) ad_input_code.w2f.canon.xb.x2w.w2f.rs.pp.f$FS90 |
f95_test.f90: all_mods.xb.x2w.w2f.pp.f$FS90 \$(NON_AD_F77_SRC_FILES:.F=_cb2m.f$FS90) ad_input_code.w2f.pre.xb.x2w.w2f.td.pp.f$FS90 |
3012 |
cat \$^ > \$@ |
cat \$^ > \$@ |
3013 |
|
|
3014 |
f95_test.out: f95_test_mods.f90 f95_test.f90 |
f95_test.out: f95_test_mods.f90 f95_test.f90 |
3015 |
f95 -fixed -w=unused -maxcontin=132 -c f95_test_mods.f90 > \$@ 2>&1 |
f95 -fixed -w=unused -maxcontin=132 -c f95_test_mods.f90 > \$@ 2>&1 |
3016 |
f95 -fixed -w=unused -maxcontin=132 -c -fixed f95_test.f90 >> \$@ 2>&1 |
f95 -fixed -w=unused -maxcontin=132 -c -fixed f95_test.f90 >> \$@ 2>&1 |
3017 |
|
|
3018 |
AD_OBJ_FILES=\$(OPENAD_SUPPORT_F90_SRC_FILES:.F90=.o) \$(OPENAD_SUPPORT_C_SRC_FILES:.c=.o) all_mods.xb.x2w.w2f.pp.o ad_input_code.w2f.canon.xb.x2w.w2f.rs.pp.o \$(NON_AD_F77_SRC_FILES:.F=_cb2m.o) \$(C_SRC_FILES:.c=.o) \$(F90_SRC_FILES:.F90=.o) |
AD_OBJ_FILES=\$(OPENAD_SUPPORT_F90_SRC_FILES:.F90=.o) \$(OPENAD_SUPPORT_C_SRC_FILES:.c=.o) all_mods.xb.x2w.w2f.pp.o ad_input_code.w2f.pre.xb.x2w.w2f.td.pp.o \$(NON_AD_F77_SRC_FILES:.F=_cb2m.o) \$(C_SRC_FILES:.c=.o) \$(F90_SRC_FILES:.F90=.o) |
3019 |
|
|
3020 |
\$(EXE_AD): \$(ALL_LINKED_FILES) \$(addsuffix _mod.h, \$(CB2M_F90_SRC_NAMES)) \$(AD_OBJ_FILES) |
\$(EXE_AD): \$(ALL_LINKED_FILES) \$(addsuffix _mod.h, \$(CB2M_F90_SRC_NAMES)) \$(AD_OBJ_FILES) |
3021 |
@echo Creating \$@ ... |
@echo Creating \$@ ... |
3022 |
\$(LINK) -o \$@ \$(FFLAGS) \$(FOPTIM) \$(AD_OBJ_FILES) \$(LIBS) |
\$(LINK) -o \$@ \$(FFLAGS) \$(FOPTIM) \$(AD_OBJ_FILES) \$(LIBS) |
3023 |
|
|
3024 |
# makefile debug rule |
# makefile debug rule |
3025 |
openad: ad_input_code.w2f.canon.xb.x2w.w2f.rs.pp.f$FS90 |
openad: ad_input_code.w2f.pre.xb.x2w.w2f.td.pp.f$FS90 |
3026 |
.PHONY: openad |
.PHONY: openad |
3027 |
|
|
3028 |
# create the module files |
# create the module files |
3068 |
cat w2f__types.f90 \$(basename \$<).w2f.f > \$@ |
cat w2f__types.f90 \$(basename \$<).w2f.f > \$@ |
3069 |
|
|
3070 |
# canonicalizer |
# canonicalizer |
3071 |
ad_input_code_sf.w2f.canon.f$FS90: ad_input_code_sf.w2f.f$FS90 canon.v1.py |
ad_input_code_sf.w2f.pre.f$FS90: ad_input_code_sf.w2f.f$FS90 preProcess.py |
3072 |
python canon.v1.py --r8 \$< > \$@ |
./preProcess.py -H -S \$< -o \$@ |
3073 |
|
|
3074 |
# F -> WHIRL |
# F -> WHIRL |
3075 |
# note that the canonicalized version cuts off at col 72 |
# note that the canonicalized version cuts off at col 72 |
3077 |
# as we are in fixed mode and cut of exactly there. |
# as we are in fixed mode and cut of exactly there. |
3078 |
# Otherwise mfef90 patches in spaces to fill up to 72 (or 132) |
# Otherwise mfef90 patches in spaces to fill up to 72 (or 132) |
3079 |
# characters respectively. |
# characters respectively. |
3080 |
ad_input_code_sf.w2f.canon.B: ad_input_code_sf.w2f.canon.f$FS90 mfef90 |
ad_input_code_sf.w2f.pre.B: ad_input_code_sf.w2f.pre.f$FS90 mfef90 |
3081 |
./mfef90 -r8 -z -F \$< |
./mfef90 -r8 -z -F \$< |
3082 |
mv \$<.B \$@ |
mv \$<.B \$@ |
3083 |
|
|
3084 |
# WHIRL -> XAIF |
# WHIRL -> XAIF |
3085 |
ad_input_code_sf.w2f.canon.xaif : ad_input_code_sf.w2f.canon.B whirl2xaif |
ad_input_code_sf.w2f.pre.xaif : ad_input_code_sf.w2f.pre.B whirl2xaif |
3086 |
./whirl2xaif -s -n --debug 1 -o \$@ \$< |
./whirl2xaif -s -n --debug 1 -o \$@ \$< |
3087 |
|
|
3088 |
# XAIF -> XAIF' |
# XAIF -> XAIF' |
3089 |
ad_input_code_sf.w2f.canon.xb.xaif : ad_input_code_sf.w2f.canon.xaif xaif.xsd xaif_base.xsd xaif_inlinable_intrinsics.xsd xaif_derivative_propagator.xsd xaif_output.xsd openad_adm |
ad_input_code_sf.w2f.pre.xb.xaif : ad_input_code_sf.w2f.pre.xaif xaif.xsd xaif_base.xsd xaif_inlinable_intrinsics.xsd xaif_derivative_propagator.xsd xaif_output.xsd oadDriver |
3090 |
./openad_adm -f -t forward_step -i \$< -c \${XAIFSCHEMAROOT}/schema/examples/inlinable_intrinsics.xaif -o \$@ -I -r |
./oadDriver -f -t forward_step -i \$< -c \${XAIFSCHEMAROOT}/schema/examples/inlinable_intrinsics.xaif -o \$@ -I -r |
3091 |
|
|
3092 |
# XAIF' -> WHIRL' |
# XAIF' -> WHIRL' |
3093 |
ad_input_code_sf.w2f.canon.xb.x2w.B : ad_input_code_sf.w2f.canon.xb.xaif xaif2whirl |
ad_input_code_sf.w2f.pre.xb.x2w.B : ad_input_code_sf.w2f.pre.xb.xaif xaif2whirl |
3094 |
./xaif2whirl --debug 1 --structured ad_input_code_sf.w2f.canon.B \$< |
./xaif2whirl --debug 1 --structured ad_input_code_sf.w2f.pre.B \$< |
3095 |
|
|
3096 |
# WHIRL' -> F' |
# WHIRL' -> F' |
3097 |
ad_input_code_sf.w2f.canon.xb.x2w.w2f.f$FS90: ad_input_code_sf.w2f.canon.xb.x2w.B whirl2f whirl2f_be |
ad_input_code_sf.w2f.pre.xb.x2w.w2f.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.B whirl2f whirl2f_be |
3098 |
./whirl2f -FLIST:ftn_file=\$@ -openad \$< |
./whirl2f -FLIST:ftn_file=\$@ -openad \$< |
3099 |
|
|
|
# undo slice hiding |
|
3100 |
# insert template directives |
# insert template directives |
3101 |
ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.f$FS90: ad_input_code_sf.w2f.canon.xb.x2w.w2f.f$FS90 reslicer.py ../OAD_support/insertTemplateDir.bash |
ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.f$FS90 ../OAD_support/insertTemplateDir.bash |
3102 |
python reslicer.py \$< > \$<.1 |
../OAD_support/insertTemplateDir.bash \$< \$@ |
|
../OAD_support/insertTemplateDir.bash \$<.1 \$@ |
|
|
rm \$<.1 |
|
3103 |
|
|
3104 |
|
PPEXTRAS=\$(wildcard ../OAD_support/ad_template.*.F) ../OAD_support/ad_inline.F |
3105 |
# postprocess F' |
# postprocess F' |
3106 |
ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.pp.f$FS90: ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.f$FS90 multi-pp.pl ../OAD_support/ad_inline.f \$(wildcard ../OAD_support/ad_template.*.f) |
ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.pp.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.f$FS90 postProcess.py \$(PPEXTRAS:.F=.f) |
3107 |
perl multi-pp.pl -inline=../OAD_support/ad_inline.f \$< |
./postProcess.py -m r -i ../OAD_support/ad_inline.f -o \$@ \$< |
|
# the postprocessor still gets the name wrong |
|
|
cat \$<.pp | sed 's/RETURN//' > \$@ |
|
3108 |
|
|
3109 |
# extract all transformed modules |
# extract all transformed modules |
3110 |
all_mods.xb.x2w.w2f.pp.f$FS90: ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.pp.f$FS90 |
all_mods.xb.x2w.w2f.pp.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.pp.f$FS90 |
3111 |
cat \$< | sed -n '/MODULE /,/END MODULE/p' > \$@ |
cat \$< | sed -n '/MODULE /,/END MODULE/p' > \$@ |
3112 |
|
|
3113 |
# remove the transformed globals module from the |
# remove the transformed globals module from the |
3114 |
# transformed ad_input_code file |
# transformed ad_input_code file |
3115 |
# and remove for now the duplicate variables |
# and remove for now the duplicate variables |
3116 |
# and fix 2 data statements |
# and fix 2 data statements |
3117 |
ad_input_code.w2f.canon.xb.x2w.w2f.rs.pp.f$FS90: ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.pp.f$FS90 |
ad_input_code.w2f.pre.xb.x2w.w2f.td.pp.f$FS90: ad_input_code_sf.w2f.pre.xb.x2w.w2f.td.pp.f$FS90 |
3118 |
cat \$< | sed '/MODULE /,/END MODULE/d' | sed '/^ INTEGER(w2f__i4) DOLOOP_UB/d' > \$@ |
cat \$< | sed '/MODULE /,/END MODULE/d' | sed '/^ INTEGER(w2f__i4) DOLOOP_UB/d' > \$@ |
3119 |
|
|
3120 |
# setup some links |
# setup some links |
3131 |
whirl2xaif xaif2whirl: |
whirl2xaif xaif2whirl: |
3132 |
\$(LN) \${OPENADFORTTK}/bin/\$@ . |
\$(LN) \${OPENADFORTTK}/bin/\$@ . |
3133 |
|
|
3134 |
%.pl: |
preProcess.py postProcess.py: |
3135 |
\$(LN) \${OPENADFORTTK}/bin/\$@ . |
\$(LN) \${OPENADFORTTK_BASE}/tools/SourceProcessing/\$@ . |
|
|
|
|
%.py: |
|
|
\$(LN) \${OPENADROOT}/OpenADFortTk/tools/canonicalize/\$@ . |
|
3136 |
|
|
3137 |
whirl2f whirl2f_be: |
whirl2f whirl2f_be: |
3138 |
\$(LN) \${OPEN64ROOT}/whirl2f/\$@ . |
\$(LN) \${OPEN64ROOT}/whirl2f/\$@ . |
3139 |
|
|
3140 |
openad_adm: |
oadDriver: |
3141 |
\$(LN) \${XAIFBOOSTERROOT}/xaifBooster/algorithms/BasicBlockPreaccumulationReverse/test/t \$@ |
\$(LN) \${XAIFBOOSTERROOT}/xaifBooster/algorithms/BasicBlockPreaccumulationReverse/driver/oadDriver \$@ |
3142 |
|
|
3143 |
# ============ end OpenAD specific section ============== |
# ============ end OpenAD specific section ============== |
3144 |
|
|