/[MITgcm]/MITgcm/tools/genmake2
ViewVC logotype

Diff of /MITgcm/tools/genmake2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.161 by jmc, Sun Feb 18 21:39:59 2007 UTC revision 1.164 by ce107, Tue Jul 31 22:27:01 2007 UTC
# Line 756  EOF Line 756  EOF
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=$?
# Line 1562  if test ! "x$TS" = x ; then Line 1564  if test ! "x$TS" = x ; then
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"
# Line 1573  if test ! "x$PAPIS" = x ; then Line 1576  if test ! "x$PAPIS" = x ; then
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"
# Line 1584  if test ! "x$PCLS" = x ; then Line 1588  if test ! "x$PCLS" = x ; then
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
# Line 2029  while test "x$ck" != xtt ; do Line 2034  while test "x$ck" != xtt ; do
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]}
# Line 2063  while test "x$ck" != xtt ; do Line 2068  while test "x$ck" != xtt ; do
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

Legend:
Removed from v.1.161  
changed lines
  Added in v.1.164

  ViewVC Help
Powered by ViewVC 1.1.22