/[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.196 by utke, Wed Jul 29 14:17:34 2009 UTC revision 1.202 by jmc, Wed Mar 3 19:19:39 2010 UTC
# Line 635  Usage: "$0" [OPTIONS] Line 635  Usage: "$0" [OPTIONS]
635    
636    For more detailed genmake documentation, please see:    For more detailed genmake documentation, please see:
637    
638      http://mitgcm.org/devel_HOWTO/      http://mitgcm.org/public/devel_HOWTO/
639    
640  EOF  EOF
641    
# Line 1405  fi Line 1405  fi
1405  #  Find the MITgcm ${THISVER}  #  Find the MITgcm ${THISVER}
1406  version_file="${ROOTDIR}/doc/tag-index"  version_file="${ROOTDIR}/doc/tag-index"
1407  if test -f $version_file ; then  if test -f $version_file ; then
1408      THISVER=`grep '^checkpoint' $version_file | head -1`      THISVER=`$AWK '/^checkpoint/{print $1; exit}' $version_file`
1409  #-  remove ./BUILD_INFO.h file if older than version_file  #-  remove ./BUILD_INFO.h file if older than version_file
1410      if test -f ./BUILD_INFO.h -a ./BUILD_INFO.h -ot $version_file ; then      if test -f ./BUILD_INFO.h -a ./BUILD_INFO.h -ot $version_file ; then
1411          echo "  remove ./BUILD_INFO.h (older than ${version_file})"          echo "  remove ./BUILD_INFO.h (older than ${version_file})"
# Line 2783  ad_input_code.$FS: \$(AD_FILES) \$(H_SRC Line 2783  ad_input_code.$FS: \$(AD_FILES) \$(H_SRC
2783          -rm -f ad_config.template          -rm -f ad_config.template
2784          @make \$(F77_PP_SRC_FILES)          @make \$(F77_PP_SRC_FILES)
2785          @make \$(FLOFILES)          @make \$(FLOFILES)
2786          cat \$(FLOFILES) \$(AD_FILES) > ad_input_code.$FS          cat \$(FLOFILES) \$(AD_FILES) | sed -f \$(TOOLSDIR)/remove_comments_sed > ad_input_code.$FS
2787    
2788  ad_taf_output.$FS: ad_input_code.$FS  ad_taf_output.$FS: ad_input_code.$FS
2789          \$(TAF) \$(AD_TAF_FLAGS) \$(TAF_EXTRA) ad_input_code.$FS          \$(TAF) \$(AD_TAF_FLAGS) \$(TAF_EXTRA) ad_input_code.$FS
# Line 3041  ad_input_code_sf.w2f.f$FS90: ad_input_co Line 3041  ad_input_code_sf.w2f.f$FS90: ad_input_co
3041    
3042  # canonicalizer  # canonicalizer
3043  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
3044          ./preProcess.py --timing -H -S \$< -o \$@          ./preProcess.py --timing --r8 -H -S \$< -o \$@
3045    
3046  # F -> WHIRL  # F -> WHIRL
3047  # note that the canonicalized version cuts off at col 72  # note that the canonicalized version cuts off at col 72
# Line 3081  postProcess.tag: ad_input_code_sf.w2f.pr Line 3081  postProcess.tag: ad_input_code_sf.w2f.pr
3081          # this step also creates the file postProcess.make but we cannot          # this step also creates the file postProcess.make but we cannot
3082          # name it as the target or else make will try to remake it for          # name it as the target or else make will try to remake it for
3083          # the include directive above for any rule, e.g. make clean          # the include directive above for any rule, e.g. make clean
3084          ./postProcess.py --progress --timing -m r -i ../OAD_support/ad_inline.f --width 4 \$<          ./postProcess.py --progress --timing --outputFormat=fixed -m r -i ../OAD_support/ad_inline.f --width 4 \$<
3085    
3086  # setup some links  # setup some links
3087  %.xsd:  %.xsd:
# Line 3106  whirl2f whirl2f_be: Line 3106  whirl2f whirl2f_be:
3106  oadDriver:  oadDriver:
3107          \$(LN) \${XAIFBOOSTERROOT}/xaifBooster/algorithms/BasicBlockPreaccumulationReverse/driver/oadDriver \$@          \$(LN) \${XAIFBOOSTERROOT}/xaifBooster/algorithms/BasicBlockPreaccumulationReverse/driver/oadDriver \$@
3108    
3109  AD_CLEAN += *_mod.h *_mod.F90 *.FF90 *.mod-whirl temp.sed oad_cp.* postProcess.make postProcess.tag postProcess.comp  AD_CLEAN += *_mod.h *_mod.F90 *.FF90 *.mod-whirl temp.sed oad_cp.* postProcess.make postProcess.tag postProcess.comp \$(PPEXTRAS:.F=.f)
3110    
3111  # ============ end OpenAD specific section ==============  # ============ end OpenAD specific section ==============
3112    

Legend:
Removed from v.1.196  
changed lines
  Added in v.1.202

  ViewVC Help
Powered by ViewVC 1.1.22