/[MITgcm]/MITgcm/tools/adjoint_options/adjoint_f95
ViewVC logotype

Diff of /MITgcm/tools/adjoint_options/adjoint_f95

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

revision 1.1 by heimbach, Tue Aug 23 14:57:28 2005 UTC revision 1.15 by jmc, Thu Aug 8 17:49:55 2013 UTC
# Line 4  Line 4 
4  #  $Name$  #  $Name$
5  #  #
6    
7  #  This file contains the default settings for the adjoint and  #  This file contains the default settings for the adjoint and
8  #  tangent-linear compilers.  If you need to change these settings,  #  tangent-linear compilers.  If you need to change these settings,
9  #  please make a separate (local) copy of this file.  #  please make a separate (local) copy of this file.
10    
# Line 12  Line 12 
12  # TAF=~fastopt/bin/taf  # TAF=~fastopt/bin/taf
13  # STAF=staf  # STAF=staf
14    
15  TAF=taf  TAF=staf
16  TAMC=tamc  TAMC=tamc
17    
18  AD_TAMC_FLAGS='-f95 -reverse -admark ad -i4 -r4 -l tamc_ad.log'  AD_TAMC_FLAGS="-f95 -reverse -admark ad -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"
19  AD_TAF_FLAGS='-f95 -reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log -nonew_arg'  FTL_TAMC_FLAGS="-f95 -forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
20  FTL_TAMC_FLAGS='-f95 -forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log'  SVD_TAMC_FLAGS="-f95 -reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"
21  FTL_TAF_FLAGS='-f95 -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log -flow taf_ftl_flow.log -nonew_arg'  
22  SVD_TAMC_FLAGS='-f95 -reverse -forward -pure -i4 -r4 -l tamc_svd.log'  AD_TAF_FLAGS="-f95 -reverse -i4 -r4 -intrinsic system,flush -l taf_ad.log $AD_TAF_FLAGS"
23  SVD_TAF_FLAGS='-f95 -reverse -forward -pure -i4 -r4 -l taf_svd.log -flow taf_flow.log -nonew_arg'  FTL_TAF_FLAGS="-f95 -forward -i4 -r4 -intrinsic system,flush -l taf_ftl.log $FTL_TAF_FLAGS"
24    SVD_TAF_FLAGS="-f95 -reverse -forward -pure -i4 -r4 -intrinsic system,flush -l taf_svd.log $SVD_TAF_FLAGS"
25    
26    if test "x$MPI" != x ; then
27      AD_TAF_FLAGS="$AD_TAF_FLAGS"' -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
28      FLT_TAF_FLAGS="$FLT_TAF_FLAGS"' -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
29      SVD_TAF_FLAGS="$SVD_TAF_FLAGS"' -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
30    fi
31    
32  DIFF_FLAGS="-toplevel 'the_main_loop'    \  DIFF_FLAGS="-toplevel 'the_main_loop'    \
33              -input 'xx_theta_dummy       \              -input 'xx_theta_dummy       \
# Line 35  DIFF_FLAGS="-toplevel 'the_main_loop' Line 42  DIFF_FLAGS="-toplevel 'the_main_loop'
42                      xx_precip_dummy      \                      xx_precip_dummy      \
43                      xx_swflux_dummy      \                      xx_swflux_dummy      \
44                      xx_swdown_dummy      \                      xx_swdown_dummy      \
45                        xx_lwflux_dummy      \
46                        xx_lwdown_dummy      \
47                        xx_evap_dummy        \
48                        xx_snowprecip_dummy  \
49                        xx_apressure_dummy   \
50                        xx_runoff_dummy      \
51                      xx_uwind_dummy       \                      xx_uwind_dummy       \
52                      xx_vwind_dummy       \                      xx_vwind_dummy       \
53                      xx_obcsn_dummy       \                      xx_obcsn_dummy       \
# Line 45  DIFF_FLAGS="-toplevel 'the_main_loop' Line 58  DIFF_FLAGS="-toplevel 'the_main_loop'
58                      xx_sss_dummy         \                      xx_sss_dummy         \
59                      xx_diffkr_dummy      \                      xx_diffkr_dummy      \
60                      xx_kapgm_dummy       \                      xx_kapgm_dummy       \
61                        xx_kapredi_dummy       \
62                        xx_bottomdrag_dummy  \
63                      xx_efluxy_dummy      \                      xx_efluxy_dummy      \
64                      xx_efluxp_dummy      \                      xx_efluxp_dummy      \
65                      xx_edtaux_dummy      \                      xx_edtaux_dummy      \
# Line 52  DIFF_FLAGS="-toplevel 'the_main_loop' Line 67  DIFF_FLAGS="-toplevel 'the_main_loop'
67                      xx_uvel_dummy        \                      xx_uvel_dummy        \
68                      xx_vvel_dummy        \                      xx_vvel_dummy        \
69                      xx_etan_dummy        \                      xx_etan_dummy        \
70                        xx_gen2d_dummy        \
71                        xx_gen3d_dummy        \
72                        xx_genarr2d_dummy    \
73                        xx_genarr3d_dummy    \
74                        xx_gentim2d_dummy    \
75                        xx_siarea_dummy        \
76                        xx_siheff_dummy        \
77                        xx_sihsnow_dummy        \
78                      xx_relaxsst_dummy    \                      xx_relaxsst_dummy    \
79                      xx_relaxsss_dummy'   \                      xx_relaxsss_dummy    \
80                        xx_atemp_mean_dummy  \
81                        xx_aqh_mean_dummy    \
82                        xx_precip_mean_dummy \
83                        xx_swdown_mean_dummy \
84                        xx_uwind_mean_dummy  \
85                        xx_vwind_mean_dummy'   \
86              -output 'fc'"              -output 'fc'"
87    
88  AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"  AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"

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

  ViewVC Help
Powered by ViewVC 1.1.22