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

Diff of /MITgcm/tools/adjoint_options/adjoint_default

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

revision 1.21 by ce107, Fri Jun 19 21:26:22 2009 UTC revision 1.38 by jmc, Fri Jan 15 18:36:15 2016 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 AD option-file contains the default 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 16  TAF=staf Line 15  TAF=staf
15  TAMC=tamc  TAMC=tamc
16    
17  AD_TAMC_FLAGS="-reverse -admark ad -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"  AD_TAMC_FLAGS="-reverse -admark ad -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"
 AD_TAF_FLAGS="  -reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log $AD_TAF_FLAGS"  
18  FTL_TAMC_FLAGS="-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"  FTL_TAMC_FLAGS="-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
 FTL_TAF_FLAGS="  -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log -flow taf_ftl_flow.log$FTL_TAF_FLAGS"  
19  SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"  SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"
20  SVD_TAF_FLAGS="  -reverse -forward -pure -i4 -r4 -l taf_svd.log -flow taf_flow.log $SVD_TAF_FLAGS"  
21    AD_TAF_FLAGS="-reverse -i4 -r4 -intrinsic system,flush -l taf_ad.log $AD_TAF_FLAGS"
22    FTL_TAF_FLAGS="-forward -i4 -r4 -intrinsic system,flush -l taf_ftl.log $FTL_TAF_FLAGS"
23    SVD_TAF_FLAGS="-reverse -forward -pure -i4 -r4 -intrinsic system,flush -l taf_svd.log $SVD_TAF_FLAGS"
24    
25    #- after Jan 14, 2016, TAF default is "-f95"
26    if test "x$ALWAYS_USE_F90" = "x1" ; then
27      AD_TAF_FLAGS="-f90 $AD_TAF_FLAGS"
28      FTL_TAF_FLAGS="-f90 $FTL_TAF_FLAGS"
29      SVD_TAF_FLAGS="-f90 $SVD_TAF_FLAGS"
30    else
31      AD_TAF_FLAGS="-f77 $AD_TAF_FLAGS"
32      FTL_TAF_FLAGS="-f77 $FTL_TAF_FLAGS"
33      SVD_TAF_FLAGS="-f77 $SVD_TAF_FLAGS"
34    fi
35    
36    #- switch to fastopt.net TAF server (instead of default fastopt.de):
37    AD_TAF_FLAGS="-server fastopt.net $AD_TAF_FLAGS"
38    FTL_TAF_FLAGS="-server fastopt.net $FTL_TAF_FLAGS"
39    SVD_TAF_FLAGS="-server fastopt.net $SVD_TAF_FLAGS"
40    
41    #- in case we need to show some MPI code to TAF:
42    #if test "x$MPI" != x ; then
43    #  AD_TAF_FLAGS="$AD_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
44    #  FLT_TAF_FLAGS="$FLT_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
45    #  SVD_TAF_FLAGS="$SVD_TAF_FLAGS"' -mpi -include $(LOCAL_MPI_HEADERS) -I./mpi_headers/'
46    #fi
47    
48  DIFF_FLAGS="-toplevel 'the_main_loop'    \  DIFF_FLAGS="-toplevel 'the_main_loop'    \
49              -input 'xx_theta_dummy       \              -input 'xx_theta_dummy       \
# Line 52  DIFF_FLAGS="-toplevel 'the_main_loop' Line 75  DIFF_FLAGS="-toplevel 'the_main_loop'
75                      xx_depth_dummy       \                      xx_depth_dummy       \
76                      xx_diffkr_dummy      \                      xx_diffkr_dummy      \
77                      xx_kapgm_dummy       \                      xx_kapgm_dummy       \
78                      xx_kapredi_dummy       \                      xx_kapredi_dummy     \
79                      xx_bottomdrag_dummy  \                      xx_bottomdrag_dummy  \
80                      xx_efluxy_dummy      \                      xx_efluxy_dummy      \
81                      xx_efluxp_dummy      \                      xx_efluxp_dummy      \
# Line 61  DIFF_FLAGS="-toplevel 'the_main_loop' Line 84  DIFF_FLAGS="-toplevel 'the_main_loop'
84                      xx_uvel_dummy        \                      xx_uvel_dummy        \
85                      xx_vvel_dummy        \                      xx_vvel_dummy        \
86                      xx_etan_dummy        \                      xx_etan_dummy        \
87                      xx_siarea_dummy        \                      xx_gen2d_dummy       \
88                      xx_siheff_dummy        \                      xx_gen3d_dummy       \
89                      xx_sihsnow_dummy        \                      xx_genarr2d_dummy    \
90                        xx_genarr3d_dummy    \
91                        xx_gentim2d_dummy    \
92                        xx_siarea_dummy      \
93                        xx_siheff_dummy      \
94                        xx_sihsnow_dummy     \
95                        xx_shifwflx_dummy    \
96                      xx_relaxsst_dummy    \                      xx_relaxsst_dummy    \
97                      xx_relaxsss_dummy'   \                      xx_relaxsss_dummy    \
98                        xx_atemp_mean_dummy  \
99                        xx_aqh_mean_dummy    \
100                        xx_precip_mean_dummy \
101                        xx_swdown_mean_dummy \
102                        xx_uwind_mean_dummy  \
103                        xx_vwind_mean_dummy' \
104              -output 'fc'"              -output 'fc'"
105    
106  AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"  AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.22