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

Diff of /MITgcm_contrib/heimbach/OpenAD/code_shallow_openad3/genmake2

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

revision 1.1 by utke, Tue Aug 1 15:44:29 2006 UTC revision 1.6 by utke, Fri Feb 2 04:10:30 2007 UTC
# Line 2271  optim \ Line 2271  optim \
2271  grdchk  grdchk
2272    
2273  .PHONY: adAll  .PHONY: adAll
2274  adAll: \$(EXE_AD)  adAll: \$(EXE_AD) ncheckLev.conf
2275    
2276  # these are all fixed format:  # these are all fixed format:
2277  CB2M_F77_TO_FF90_SRC_FILES=\$(F77_SRC_FILES:.F=_cb2m.FF90)  CB2M_F77_TO_FF90_SRC_FILES=\$(F77_SRC_FILES:.F=_cb2m.FF90)
# Line 2297  OpenAD_rev.f90 \ Line 2297  OpenAD_rev.f90 \
2297  OpenAD_tape.f90          OpenAD_tape.f90        
2298    
2299  OPENAD_SUPPORT_C_SRC_FILES = \  OPENAD_SUPPORT_C_SRC_FILES = \
2300  iaddr.c  iaddr.c \
2301    timeRatio.c
2302    
2303  f95_test_mods.f90: \$(OPENAD_SUPPORT_F90_SRC_FILES)  f95_test_mods.f90: \$(OPENAD_SUPPORT_F90_SRC_FILES)
2304          cat \$^ > \$@          cat \$^ > \$@
# Line 2376  ad_input_code_sf.w2f.canon.B: ad_input_c Line 2377  ad_input_code_sf.w2f.canon.B: ad_input_c
2377    
2378  # WHIRL -> XAIF  # WHIRL -> XAIF
2379  ad_input_code_sf.w2f.canon.xaif : ad_input_code_sf.w2f.canon.B whirl2xaif  ad_input_code_sf.w2f.canon.xaif : ad_input_code_sf.w2f.canon.B whirl2xaif
2380          ./whirl2xaif --debug 1 -o \$@ \$<          ./whirl2xaif -s -n --debug 1 -o \$@ \$<
2381    
2382  # XAIF -> XAIF'  # XAIF -> XAIF'
2383  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.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
2384          ./openad_adm -i \$< -c \${XAIFSCHEMAROOT}/schema/examples/inlinable_intrinsics.xaif -o \$@ -I -r -p "recip_hFacC recip_rA GM_Kmin_horiz"          ./openad_adm -f -t forward_step -i \$< -c \${XAIFSCHEMAROOT}/schema/examples/inlinable_intrinsics.xaif -o \$@ -I -r -p "recip_hFacC recip_rA GM_Kmin_horiz"
2385    
2386  # XAIF' -> WHIRL'  # XAIF' -> WHIRL'
2387  ad_input_code_sf.w2f.canon.xb.x2w.B : ad_input_code_sf.w2f.canon.xb.xaif xaif2whirl  ad_input_code_sf.w2f.canon.xb.x2w.B : ad_input_code_sf.w2f.canon.xb.xaif xaif2whirl
# Line 2412  all_mods.xb.x2w.w2f.pp.f: ad_input_code_ Line 2413  all_mods.xb.x2w.w2f.pp.f: ad_input_code_
2413  # and remove for now the duplicate variables  # and remove for now the duplicate variables
2414  # and fix 2 data statements  # and fix 2 data statements
2415  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  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
2416          cat \$< | sed '/MODULE /,/END MODULE/d' | sed '/^      INTEGER(w2f__i4) DOLOOP_UB/d' | sed -f ${MODS}/fixData.sed > \$@  #       cat \$< | sed '/MODULE /,/END MODULE/d' | sed '/^      INTEGER(w2f__i4) DOLOOP_UB/d' | sed -f ${MODS}/fixData.sed > \$@
2417            cat \$< | sed '/MODULE /,/END MODULE/d' | sed '/^      INTEGER(w2f__i4) DOLOOP_UB/d' > \$@
2418    
2419  # setup some links  # setup some links
2420  %.xsd:  %.xsd:
# Line 2422  mfef90: Line 2424  mfef90:
2424          \$(LN) \${OPENADROOT}/Open64/osprey1.0/targ_ia32_ia64_linux/crayf90/sgi/mfef90 .          \$(LN) \${OPENADROOT}/Open64/osprey1.0/targ_ia32_ia64_linux/crayf90/sgi/mfef90 .
2425    
2426  # link the support files:  # link the support files:
2427  \$(OPENAD_SUPPORT_F90_SRC_FILES) \$(OPENAD_SUPPORT_C_SRC_FILES) :  \$(OPENAD_SUPPORT_F90_SRC_FILES) \$(OPENAD_SUPPORT_C_SRC_FILES) ncheckLev.conf :
2428          \$(LN) ${MODS}/\$@ .          \$(LN) ${MODS}/\$@ .
2429    
2430  whirl2xaif xaif2whirl:  whirl2xaif xaif2whirl:

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22