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

Annotation of /MITgcm/verification/bottom_ctrl_5x5/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:33:23 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_staf" to "ad_optfile.local"
- apply modif 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     # a) this set-up requires the extended source flag "-e" for TAF
10     # b) different list of controls (DIFF_FLAGS)
11    
12     # TAMC=/data43/ralf/tamc/tamc
13     # TAF=~fastopt/bin/taf
14     # STAF=staf
15    
16     TAF=staf
17     TAMC=tamc
18    
19     AD_TAMC_FLAGS="-reverse -admark ad -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"
20     AD_TAF_FLAGS="-v1 -e -reverse -admark ad -i4 -r4 -l taf_ad.log $AD_TAF_FLAGS"
21     FTL_TAMC_FLAGS="-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
22     FTL_TAF_FLAGS="-v1 -e -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log $FTL_TAF_FLAGS"
23     SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"
24     SVD_TAF_FLAGS="-v1 -reverse -forward -pure -i4 -r4 -l taf_svd.log $SVD_TAF_FLAGS"
25    
26     DIFF_FLAGS="-toplevel 'the_main_loop' \
27     -input 'xx_theta_dummy \
28     xx_salt_dummy \
29     xx_tr1_dummy \
30     xx_hflux_dummy \
31     xx_sflux_dummy \
32     xx_tauu_dummy \
33     xx_tauv_dummy \
34     xx_atemp_dummy \
35     xx_aqh_dummy \
36     xx_precip_dummy \
37     xx_swflux_dummy \
38     xx_swdown_dummy \
39     xx_uwind_dummy \
40     xx_vwind_dummy \
41     xx_obcsn_dummy \
42     xx_obcss_dummy \
43     xx_obcsw_dummy \
44     xx_obcse_dummy \
45     xx_sst_dummy \
46     xx_sss_dummy \
47     xx_depth_dummy \
48     xx_diffkr_dummy \
49     xx_kapgm_dummy \
50     xx_efluxy_dummy \
51     xx_efluxp_dummy \
52     xx_edtaux_dummy \
53     xx_edtauy_dummy \
54     xx_uvel_dummy \
55     xx_vvel_dummy \
56     xx_etan_dummy \
57     xx_relaxsst_dummy \
58     xx_relaxsss_dummy' \
59     -output 'fc'"
60    
61     AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
62     AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
63    
64     FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
65     FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
66    
67     SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
68     SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22