/[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.4 - (show annotations) (download)
Fri Jan 15 18:37:45 2016 UTC (4 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, HEAD
Changes since 1.3: +15 -3 lines
adjusted after TAF default changed on Jan 14, 2016

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/verification/bottom_ctrl_5x5/code_ad/ad_optfile.local,v 1.3 2013/08/07 16:23:32 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 FTL_TAMC_FLAGS="-forward -i4 -r4 -l tamc_ftl.log $FTL_TAMC_FLAGS"
21 SVD_TAMC_FLAGS="-reverse -forward -pure -i4 -r4 -l tamc_svd.log $SVD_TAMC_FLAGS"
22
23 AD_TAF_FLAGS="-e -reverse -i4 -r4 -l taf_ad.log $AD_TAF_FLAGS"
24 FTL_TAF_FLAGS="-e -forward -i4 -r4 -l taf_ftl.log $FTL_TAF_FLAGS"
25 SVD_TAF_FLAGS="-reverse -forward -pure -i4 -r4 -l taf_svd.log $SVD_TAF_FLAGS"
26
27 #- after Jan 14, 2016, TAF default is "-f95"
28 if test "x$ALWAYS_USE_F90" = "x1" ; then
29 AD_TAF_FLAGS="-f90 $AD_TAF_FLAGS"
30 FTL_TAF_FLAGS="-f90 $FTL_TAF_FLAGS"
31 SVD_TAF_FLAGS="-f90 $SVD_TAF_FLAGS"
32 else
33 AD_TAF_FLAGS="-f77 $AD_TAF_FLAGS"
34 FTL_TAF_FLAGS="-f77 $FTL_TAF_FLAGS"
35 SVD_TAF_FLAGS="-f77 $SVD_TAF_FLAGS"
36 fi
37
38 DIFF_FLAGS="-toplevel 'the_main_loop' \
39 -input 'xx_theta_dummy \
40 xx_salt_dummy \
41 xx_tr1_dummy \
42 xx_hflux_dummy \
43 xx_sflux_dummy \
44 xx_tauu_dummy \
45 xx_tauv_dummy \
46 xx_atemp_dummy \
47 xx_aqh_dummy \
48 xx_precip_dummy \
49 xx_swflux_dummy \
50 xx_swdown_dummy \
51 xx_uwind_dummy \
52 xx_vwind_dummy \
53 xx_obcsn_dummy \
54 xx_obcss_dummy \
55 xx_obcsw_dummy \
56 xx_obcse_dummy \
57 xx_sst_dummy \
58 xx_sss_dummy \
59 xx_depth_dummy \
60 xx_diffkr_dummy \
61 xx_kapgm_dummy \
62 xx_efluxy_dummy \
63 xx_efluxp_dummy \
64 xx_edtaux_dummy \
65 xx_edtauy_dummy \
66 xx_uvel_dummy \
67 xx_vvel_dummy \
68 xx_etan_dummy \
69 xx_relaxsst_dummy \
70 xx_relaxsss_dummy' \
71 -output 'fc'"
72
73 AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
74 AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
75
76 FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
77 FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
78
79 SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
80 SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22