/[MITgcm]/MITgcm/verification/tutorial_dic_adjoffline/code_ad/ad_optfile.local
ViewVC logotype

Annotation of /MITgcm/verification/tutorial_dic_adjoffline/code_ad/ad_optfile.local

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


Revision 1.1 - (hide annotations) (download)
Fri Apr 20 19:34:46 2012 UTC (12 years ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64a, checkpoint63r, checkpoint64b, checkpoint63m, checkpoint64e, checkpoint63q, checkpoint64d, checkpoint64c, checkpoint64f, checkpoint63n, checkpoint63o, checkpoint63p, checkpoint63s, checkpoint64
- rename "adjoint_dic" to "ad_optfile.local"
- apply modifs from Jan 24, 2009 (append to compiler FLAGS instead of
  setting them) and from Dec 02, 2011 (Remove unnecessary '-flow' option)
- update description

1 jmc 1.1 #!/bin/bash
2     #
3     # $Header: /u/gcmpack/MITgcm/verification/bottom_ctrl_5x5/code_ad/adjoint_staf,v 1.8 2010/10/04 03:28:38 jmc Exp $
4     # $Name: $
5    
6     # This AD option-file contains the settings for the adjoint and
7     # tangent-linear compilers to use for this particular setup.
8     # It is similar to the default AD-optfile except
9     # for the list of controls (DIFF_FLAGS)
10    
11     # TAMC=/data43/ralf/tamc/tamc
12     # TAF=~fastopt/bin/taf
13     # STAF=staf
14    
15     TAF=staf
16     TAMC=tamc
17    
18     AD_TAMC_FLAGS="-reverse -admark ad -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"
19     AD_TAF_FLAGS="-v1 -reverse -admark ad -i4 -r4 -l taf_ad.log $AD_TAF_FLAGS"
20     FTL_TAMC_FLAGS="-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
21     FTL_TAF_FLAGS="-v1 -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log $FTL_TAF_FLAGS"
22     SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"
23     SVD_TAF_FLAGS="-v1 -reverse -forward -pure -i4 -r4 -l taf_svd.log $SVD_TAF_FLAGS"
24    
25     DIFF_FLAGS="-toplevel 'the_main_loop' \
26     -input 'xx_dic \
27     xx_gen2d_dummy' \
28     -output 'fc' "
29    
30     AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
31     AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
32    
33     FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
34     FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
35    
36     SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
37     SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22