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

Diff of /MITgcm/tools/adjoint_options/adjoint_tamc_compatibility

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

revision 1.7 by heimbach, Wed Aug 7 16:20:03 2013 UTC revision 1.8 by jmc, Fri Aug 9 18:28:36 2013 UTC
# Line 2  Line 2 
2  #  #
3  #  $Header$  #  $Header$
4  #  $Name$  #  $Name$
 #  
5    
6  #  This file contains the default settings for the adjoint and  #  This file contains the TAMC-like settings for the adjoint
7  #  tangent-linear compilers.  If you need to change these settings,  #  and tangent-linear compilers.  If you need to change these settings,
8  #  please make a separate (local) copy of this file.  #  please make a separate (local) copy of this file.
9    
10  # TAMC=/data43/ralf/tamc/tamc  # TAMC=/data43/ralf/tamc/tamc
# Line 15  Line 14 
14  TAF=staf  TAF=staf
15  TAMC=tamc  TAMC=tamc
16    
17  AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4 -l tamc_ad.log'  AD_TAMC_FLAGS="-reverse -admark ad -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"
18  #AD_TAF_FLAGS='  -reverse -i4 -r4 -intrinsic system,flush -l taf_ad.log'  FTL_TAMC_FLAGS="-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
19  AD_TAF_FLAGS="-v1 -nonew_arg  -reverse -i4 -r4 -intrinsic system,flush -l taf_ad.log $AD_TAF_FLAGS"  SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"
20  FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log'  
21  FTL_TAF_FLAGS='-v1 -nonew_arg  -forward -i4 -r4 -intrinsic system,flush -l taf_ftl.log'  AD_TAF_FLAGS="-v1 -nonew_arg -reverse -i4 -r4 -intrinsic system,flush -l taf_ad.log $AD_TAF_FLAGS"
22  SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4 -l tamc_svd.log'  FTL_TAF_FLAGS="-v1 -nonew_arg -forward -i4 -r4 -intrinsic system,flush -l taf_ftl.log $FTL_TAF_FLAGS"
23  SVD_TAF_FLAGS='-v1 -nonew_arg  -reverse -forward -pure -i4 -r4 -intrinsic system,flush -l taf_svd.log'  SVD_TAF_FLAGS="-v1 -nonew_arg -reverse -forward -pure -i4 -r4 -intrinsic system,flush -l taf_svd.log $SVD_TAF_FLAGS"
24    
25    #- in case we need to show some MPI code to TAF:
26    #if test "x$MPI" != x ; then
27    #  AD_TAF_FLAGS="$AD_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
28    #  FLT_TAF_FLAGS="$FLT_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
29    #  SVD_TAF_FLAGS="$SVD_TAF_FLAGS"' -mpi -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 53  DIFF_FLAGS="-toplevel 'the_main_loop' Line 59  DIFF_FLAGS="-toplevel 'the_main_loop'
59                      xx_depth_dummy       \                      xx_depth_dummy       \
60                      xx_diffkr_dummy      \                      xx_diffkr_dummy      \
61                      xx_kapgm_dummy       \                      xx_kapgm_dummy       \
62                      xx_kapredi_dummy       \                      xx_kapredi_dummy     \
63                      xx_bottomdrag_dummy  \                      xx_bottomdrag_dummy  \
64                      xx_efluxy_dummy      \                      xx_efluxy_dummy      \
65                      xx_efluxp_dummy      \                      xx_efluxp_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    \                      xx_genarr2d_dummy    \
74                      xx_genarr3d_dummy    \                      xx_genarr3d_dummy    \
75                      xx_siarea_dummy        \                      xx_gentim2d_dummy    \
76                      xx_siheff_dummy        \                      xx_siarea_dummy      \
77                      xx_sihsnow_dummy        \                      xx_siheff_dummy      \
78                        xx_sihsnow_dummy     \
79                        xx_shifwflx_dummy    \
80                      xx_relaxsst_dummy    \                      xx_relaxsst_dummy    \
81                      xx_relaxsss_dummy    \                      xx_relaxsss_dummy    \
82                      xx_atemp_mean_dummy  \                      xx_atemp_mean_dummy  \
# Line 74  DIFF_FLAGS="-toplevel 'the_main_loop' Line 84  DIFF_FLAGS="-toplevel 'the_main_loop'
84                      xx_precip_mean_dummy \                      xx_precip_mean_dummy \
85                      xx_swdown_mean_dummy \                      xx_swdown_mean_dummy \
86                      xx_uwind_mean_dummy  \                      xx_uwind_mean_dummy  \
87                      xx_vwind_mean_dummy'   \                      xx_vwind_mean_dummy' \
88              -output 'fc'"              -output 'fc'"
89    
90  AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"  AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22