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

Diff of /MITgcm/tools/adjoint_options/adjoint_diva

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

revision 1.6 by heimbach, Fri Oct 1 14:44:34 2010 UTC revision 1.13 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 16  DIVA='true' Line 16  DIVA='true'
16  TAF=staf  TAF=staf
17  TAMC=tamc  TAMC=tamc
18    
19    AD_TAMC_FLAGS="-reverse -admark ad -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"
20  AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4 -l tamc_ad.log'  FTL_TAMC_FLAGS="-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
21  AD_TAF_FLAGS="-v1 -pure -reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log"  SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"
22  FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log'  
23  FTL_TAF_FLAGS='-v1 -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log -flow taf_ftl_flow.log'  AD_TAF_FLAGS="-pure -reverse -i4 -r4 -intrinsic system,flush -l taf_ad.log $AD_TAF_FLAGS"
24  SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4 -l tamc_svd.log'  FTL_TAF_FLAGS="-forward -i4 -r4 -intrinsic system,flush -l taf_ftl.log $FTL_TAF_FLAGS"
25  SVD_TAF_FLAGS='-v1 -reverse -forward -pure -i4 -r4 -l taf_svd.log -flow taf_flow.log'  SVD_TAF_FLAGS="-reverse -forward -pure -i4 -r4 -intrinsic system,flush -l taf_svd.log $SVD_TAF_FLAGS"
26    
27    if test "x$MPI" != x ; then
28      AD_TAF_FLAGS="$AD_TAF_FLAGS"' -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
29      FLT_TAF_FLAGS="$FLT_TAF_FLAGS"' -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
30      SVD_TAF_FLAGS="$SVD_TAF_FLAGS"' -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
31    fi
32    
33  DIFF_FLAGS="-toplevel 'the_main_loop'    \  DIFF_FLAGS="-toplevel 'the_main_loop'    \
34              -input 'xx_theta_dummy       \              -input 'xx_theta_dummy       \
# Line 62  DIFF_FLAGS="-toplevel 'the_main_loop' Line 68  DIFF_FLAGS="-toplevel 'the_main_loop'
68                      xx_uvel_dummy        \                      xx_uvel_dummy        \
69                      xx_vvel_dummy        \                      xx_vvel_dummy        \
70                      xx_etan_dummy        \                      xx_etan_dummy        \
71                        xx_gen2d_dummy        \
72                        xx_gen3d_dummy        \
73                        xx_genarr2d_dummy    \
74                        xx_genarr3d_dummy    \
75                      xx_siarea_dummy        \                      xx_siarea_dummy        \
76                      xx_siheff_dummy        \                      xx_siheff_dummy        \
77                      xx_sihsnow_dummy        \                      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.6  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22