/[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.4 by heimbach, Fri Jun 20 21:43:19 2008 UTC revision 1.15 by heimbach, Fri Aug 9 12:43:03 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="-z -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='-z -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='-z -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    #- using DIVA, we need to show some MPI code to TAF:
28    if test "x$MPI" != x ; then
29      AD_TAF_FLAGS="$AD_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
30      FLT_TAF_FLAGS="$FLT_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
31      SVD_TAF_FLAGS="$SVD_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
32    fi
33    
34  DIFF_FLAGS="-toplevel 'the_main_loop'    \  DIFF_FLAGS="-toplevel 'the_main_loop'    \
35              -input 'xx_theta_dummy       \              -input 'xx_theta_dummy       \
# Line 62  DIFF_FLAGS="-toplevel 'the_main_loop' Line 69  DIFF_FLAGS="-toplevel 'the_main_loop'
69                      xx_uvel_dummy        \                      xx_uvel_dummy        \
70                      xx_vvel_dummy        \                      xx_vvel_dummy        \
71                      xx_etan_dummy        \                      xx_etan_dummy        \
72                        xx_gen2d_dummy        \
73                        xx_gen3d_dummy        \
74                        xx_genarr2d_dummy    \
75                        xx_genarr3d_dummy    \
76                      xx_siarea_dummy        \                      xx_siarea_dummy        \
77                      xx_siheff_dummy        \                      xx_siheff_dummy        \
78                      xx_sihsnow_dummy        \                      xx_sihsnow_dummy        \
79                      xx_relaxsst_dummy    \                      xx_relaxsst_dummy    \
80                      xx_relaxsss_dummy'     \                      xx_relaxsss_dummy    \
81                        xx_atemp_mean_dummy  \
82                        xx_aqh_mean_dummy    \
83                        xx_precip_mean_dummy \
84                        xx_swdown_mean_dummy \
85                        xx_uwind_mean_dummy  \
86                        xx_vwind_mean_dummy'     \
87              -output 'fc'"              -output 'fc'"
88    
89  AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"  AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"

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

  ViewVC Help
Powered by ViewVC 1.1.22