/[MITgcm]/MITgcm_contrib/heimbach/OpenAD/code_shallow_openad/genmake2
ViewVC logotype

Diff of /MITgcm_contrib/heimbach/OpenAD/code_shallow_openad/genmake2

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

revision 1.3 by utke, Tue Jan 3 19:21:36 2006 UTC revision 1.4 by utke, Wed Jan 11 06:05:47 2006 UTC
# Line 1903  for d in $alldirs ; do Line 1903  for d in $alldirs ; do
1903                          basename=${sf%%.F}                          basename=${sf%%.F}
1904                          isAD=`egrep ^$basename.f'[      ]*' adSrcFiles.tmp`                          isAD=`egrep ^$basename.f'[      ]*' adSrcFiles.tmp`
1905                          if test -z "$isAD" ; then                          if test -z "$isAD" ; then
1906                            echo    " \\"  >> nonADF77srclist.tmp                            toBeIgnored=`egrep ^$basename'[      ]*' ${MODS}/dontCompile`
1907                            printf " $sf" >> nonADF77srclist.tmp                            if test -z "$toBeIgnored" ; then
1908                                echo    " \\"  >> nonADF77srclist.tmp
1909                                printf " $sf" >> nonADF77srclist.tmp
1910                              fi
1911                          fi                          fi
1912                          ;;                          ;;
1913                      F90)                      F90)
# Line 2375  ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs Line 2378  ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs
2378          rm \$<.1          rm \$<.1
2379    
2380  # postprocess F'  # postprocess F'
2381  ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.pp.f: ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.f multi-pp.pl ${MODS}/ad_inline.f ${MODS}/ad_template.checkpoint.f ${MODS}/ad_template.plain.f ${MODS}/ad_template.split.f  ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.pp.f: ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.f multi-pp.pl ${MODS}/ad_inline.f ${MODS}/ad_template.checkpoint.f ${MODS}/ad_template.plain.f ${MODS}/ad_template.split.f ${MODS}/ad_template.sa_cg2d.f
2382          perl multi-pp.pl -inline=${MODS}/ad_inline.f \$<          perl multi-pp.pl -inline=${MODS}/ad_inline.f \$<
2383          cat \$@ | sed 's/RETURN//' > \$@.1          cat \$@ | sed 's/RETURN//' > \$@.1
2384          mv \$@.1 \$@          mv \$@.1 \$@
# Line 2387  all_mods.xb.x2w.w2f.pp.f: ad_input_code_ Line 2390  all_mods.xb.x2w.w2f.pp.f: ad_input_code_
2390  # remove the transformed globals module from the  # remove the transformed globals module from the
2391  # transformed ad_input_code file  # transformed ad_input_code file
2392  # and remove for now the duplicate variables  # and remove for now the duplicate variables
2393  ad_input_code.w2f.canon.xb.x2w.w2f.rs.pp.f: ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.pp.f  # and fix 2 data statements
2394          cat \$< | sed '/MODULE /,/END MODULE/d' | sed '/^      INTEGER(w2f__i4) DOLOOP_UB/d' > \$@  ad_input_code.w2f.canon.xb.x2w.w2f.rs.pp.f: ad_input_code_sf.w2f.canon.xb.x2w.w2f.rs.pp.f ${MODS}/fixData.sed
2395            cat \$< | sed '/MODULE /,/END MODULE/d' | sed '/^      INTEGER(w2f__i4) DOLOOP_UB/d' | sed -f ${MODS}/fixData.sed > \$@
2396    
2397  # setup some links  # setup some links
2398  %.xsd:  %.xsd:

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22