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

Contents of /MITgcm/tools/adjoint_options/adjoint_diva

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


Revision 1.4 - (show annotations) (download)
Fri Jun 20 21:43:19 2008 UTC (12 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint61, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61p
Changes since 1.3: +4 -4 lines
o autodiff
  Change default for TAF usage by removing argument '-nonew_arg'
  This changes TAF subroutine argument list (ordering of active var.)
  Omission of this flag leads to incompatibility w.r.t. TAMC
  To restore TAMC-compatibility, need following modifs:
  * use adoptfile tools/adjoint_options/adjoint_tamc_compatibility
  * use CPP option #define AUTODIFF_TAMC_COMPATIBILITY
  Tested TAF version is 1.9.22
  N.B.: exch2 hand-written adjoint code currently not TAMC compatible

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/adjoint_options/adjoint_diva,v 1.3 2008/02/02 02:30:42 gforget Exp $
4 # $Name: $
5 #
6
7 # This file contains the default settings for the adjoint and
8 # tangent-linear compilers. If you need to change these settings,
9 # please make a separate (local) copy of this file.
10
11 # TAMC=/data43/ralf/tamc/tamc
12 # TAF=~fastopt/bin/taf
13 # STAF=staf
14
15 DIVA='true'
16 TAF=staf
17 TAMC=tamc
18
19
20 AD_TAMC_FLAGS='-reverse -admark ad -i4 -r4 -l tamc_ad.log'
21 AD_TAF_FLAGS="-z -pure -reverse -admark ad -i4 -r4 -l taf_ad.log -flow taf_ad_flow.log"
22 FTL_TAMC_FLAGS='-forward -ftlmark g_ -i4 -r4 -l tamc_ftl.log'
23 FTL_TAF_FLAGS='-z -forward -ftlmark g_ -i4 -r4 -l taf_ftl.log -flow taf_ftl_flow.log'
24 SVD_TAMC_FLAGS='-reverse -forward -pure -i4 -r4 -l tamc_svd.log'
25 SVD_TAF_FLAGS='-z -reverse -forward -pure -i4 -r4 -l taf_svd.log -flow taf_flow.log'
26
27 DIFF_FLAGS="-toplevel 'the_main_loop' \
28 -input 'xx_theta_dummy \
29 xx_salt_dummy \
30 xx_tr1_dummy \
31 xx_hflux_dummy \
32 xx_sflux_dummy \
33 xx_tauu_dummy \
34 xx_tauv_dummy \
35 xx_atemp_dummy \
36 xx_aqh_dummy \
37 xx_precip_dummy \
38 xx_swflux_dummy \
39 xx_swdown_dummy \
40 xx_lwflux_dummy \
41 xx_lwdown_dummy \
42 xx_evap_dummy \
43 xx_snowprecip_dummy \
44 xx_apressure_dummy \
45 xx_runoff_dummy \
46 xx_uwind_dummy \
47 xx_vwind_dummy \
48 xx_obcsn_dummy \
49 xx_obcss_dummy \
50 xx_obcsw_dummy \
51 xx_obcse_dummy \
52 xx_sst_dummy \
53 xx_sss_dummy \
54 xx_diffkr_dummy \
55 xx_kapgm_dummy \
56 xx_edtaux_dummy \
57 xx_edtauy_dummy \
58 xx_kapredi_dummy \
59 xx_bottomdrag_dummy \
60 xx_efluxy_dummy \
61 xx_efluxp_dummy \
62 xx_uvel_dummy \
63 xx_vvel_dummy \
64 xx_etan_dummy \
65 xx_siarea_dummy \
66 xx_siheff_dummy \
67 xx_sihsnow_dummy \
68 xx_relaxsst_dummy \
69 xx_relaxsss_dummy' \
70 -output 'fc'"
71
72 AD_TAMC_FLAGS="$AD_TAMC_FLAGS $DIFF_FLAGS"
73 AD_TAF_FLAGS="$AD_TAF_FLAGS $DIFF_FLAGS"
74
75 FTL_TAMC_FLAGS="$FTL_TAMC_FLAGS $DIFF_FLAGS"
76 FTL_TAF_FLAGS="$FTL_TAF_FLAGS $DIFF_FLAGS"
77
78 SVD_TAMC_FLAGS="$SVD_TAMC_FLAGS $DIFF_FLAGS"
79 SVD_TAF_FLAGS="$SVD_TAF_FLAGS $DIFF_FLAGS"

  ViewVC Help
Powered by ViewVC 1.1.22