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

Contents 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.3 - (show annotations) (download)
Wed Aug 7 16:23:32 2013 UTC (10 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64o, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64n, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint65, checkpoint64m
Changes since 1.2: +6 -6 lines
Required changes to genmake2 and adoptfiles to establish
compatibility with TAF "-v2"

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/verification/bottom_ctrl_5x5/code_ad/ad_optfile.local,v 1.2 2013/04/04 12:29:28 heimbach 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 -i4 -r4 -l tamc_ad.log $AD_TAMC_FLAGS"
20 AD_TAF_FLAGS="-e -reverse -i4 -r4 -l taf_ad.log $AD_TAF_FLAGS"
21 FTL_TAMC_FLAGS="-forward -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
22 FTL_TAF_FLAGS="-e -forward -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="-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