756 |
print *," HELLO WORLD", wtime |
print *," HELLO WORLD", wtime |
757 |
end |
end |
758 |
EOF |
EOF |
759 |
$FC $FFLAGS -o genmake_tc genmake_tc_2.$FS genmake_tc_1.o >> genmake_warnings 2>&1 |
COMM="$FC $FFLAGS -o genmake_tc genmake_tc_2.$FS genmake_tc_1.o" |
760 |
|
echo $COMM >> genmake_warnings |
761 |
|
$COMM >> genmake_warnings 2>&1 |
762 |
RET_F=$? |
RET_F=$? |
763 |
test -x ./genmake_tc && ./genmake_tc >> genmake_warnings 2>&1 |
test -x ./genmake_tc && ./genmake_tc >> genmake_warnings 2>&1 |
764 |
RETVAL=$? |
RETVAL=$? |
1564 |
else |
else |
1565 |
DEFINES="$DEFINES -DTIME_PER_TIMESTEP" |
DEFINES="$DEFINES -DTIME_PER_TIMESTEP" |
1566 |
fi |
fi |
1567 |
|
PACKAGES="$PACKAGES showflops" |
1568 |
fi |
fi |
1569 |
if test ! "x$PAPIS" = x ; then |
if test ! "x$PAPIS" = x ; then |
1570 |
echo " Turning on PAPI flop summary per timestep" |
echo " Turning on PAPI flop summary per timestep" |
1576 |
fi |
fi |
1577 |
INCLUDES="$INCLUDES $PAPIINC" |
INCLUDES="$INCLUDES $PAPIINC" |
1578 |
LIBS="$LIBS $PAPILIB" |
LIBS="$LIBS $PAPILIB" |
1579 |
|
PACKAGES="$PACKAGES showflops" |
1580 |
fi |
fi |
1581 |
if test ! "x$PCLS" = x ; then |
if test ! "x$PCLS" = x ; then |
1582 |
echo " Turning on PCL counter summary per timestep" |
echo " Turning on PCL counter summary per timestep" |
1588 |
fi |
fi |
1589 |
INCLUDES="$INCLUDES $PCLINC" |
INCLUDES="$INCLUDES $PCLINC" |
1590 |
LIBS="$LIBS $PCLLIB" |
LIBS="$LIBS $PCLLIB" |
1591 |
|
PACKAGES="$PACKAGES showflops" |
1592 |
fi |
fi |
1593 |
if test ! "x$PAPI" = x ; then |
if test ! "x$PAPI" = x ; then |
1594 |
if test ! "x$PAPIS" = x ; then |
if test ! "x$PAPIS" = x ; then |
2034 |
i=0 |
i=0 |
2035 |
# rtot=${#PNAME[@]} |
# rtot=${#PNAME[@]} |
2036 |
rtot=$nname |
rtot=$nname |
2037 |
while test $i -lt $rtot ; do |
while test $i -le $rtot ; do |
2038 |
|
|
2039 |
# Is $pname in the current $PACKAGES list? |
# Is $pname in the current $PACKAGES list? |
2040 |
# pname=${PNAME[$i]} |
# pname=${PNAME[$i]} |
2068 |
|
|
2069 |
# Do we need to add $dname according to the dependency rules? |
# Do we need to add $dname according to the dependency rules? |
2070 |
if test "x$pin" = xt -a "x$plus" = "x+" -a "x$din" = xf ; then |
if test "x$pin" = xt -a "x$plus" = "x+" -a "x$din" = xf ; then |
2071 |
|
#echo " " $pname ": need to add :" $dname |
2072 |
in_dis="f" |
in_dis="f" |
2073 |
for dis in $DISABLE ; do |
for dis in $DISABLE ; do |
2074 |
if test "x$dis" = "x$dname" ; then |
if test "x$dis" = "x$dname" ; then |