/[MITgcm]/MITgcm/verification/global_ocean.90x40x15/code_ad/ECCO_CPPOPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/global_ocean.90x40x15/code_ad/ECCO_CPPOPTIONS.h

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


Revision 1.11 - (show annotations) (download)
Fri Jun 20 21:43:19 2008 UTC (15 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint61, checkpoint61f, checkpoint61e, checkpoint61g, checkpoint61d, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61h, checkpoint61i
Changes since 1.10: +4 -1 lines
File MIME type: text/plain
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 C
2 C $Header: /u/gcmpack/MITgcm/verification/global_ocean.90x40x15/code_ad/ECCO_CPPOPTIONS.h,v 1.10 2007/06/26 15:38:40 heimbach Exp $
3 C $Name: $
4
5 C CPP flags controlling which code is included in the files that
6 C will be compiled.
7
8 C ********************************************************************
9 C *** Adjoint Support Package ***
10 C ********************************************************************
11
12 C o Include/exclude code in order to be able to automatically
13 C differentiate the MITgcmUV by using the Tangent Linear and
14 C Adjoint Model Compiler (TAMC).
15 C
16 #define ALLOW_AUTODIFF_TAMC
17 C
18 C >>> Checkpointing as handled by TAMC
19 #define ALLOW_TAMC_CHECKPOINTING
20 C
21 C >>> Extract adjoint state
22 #define ALLOW_AUTODIFF_MONITOR
23 C
24 C >>> DO 2-level checkpointing instead of 3-level
25 #undef AUTODIFF_2_LEVEL_CHECKPOINT
26 C
27 C o use divided adjoint to split adjoint computations
28 #undef ALLOW_DIVIDED_ADJOINT
29 C
30 C o TAMC compatible subroutine parameter list
31 #undef AUTODIFF_TAMC_COMPATIBILITY
32
33 C ********************************************************************
34 C *** Calender Package ***
35 C ********************************************************************
36 C
37 C CPP flags controlling which code is included in the files that
38 C will be compiled.
39
40 CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
41
42 C ********************************************************************
43 C *** Cost function Package ***
44 C ********************************************************************
45 C
46 C >>> Cost function contributions
47 #define ALLOW_COST
48 #undef ALLOW_COST_TEST
49 #undef ALLOW_COST_TRACER
50 #define ALLOW_COST_ATLANTIC_HEAT
51
52 C ********************************************************************
53 C *** Control vector Package ***
54 C ********************************************************************
55 C
56 #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
57 C >>> Initial values.
58 #define ALLOW_THETA0_CONTROL
59 #define ALLOW_SALT0_CONTROL
60 #undef ALLOW_TR10_CONTROL
61 #define ALLOW_TAUU0_CONTROL
62 #define ALLOW_TAUV0_CONTROL
63 #define ALLOW_SFLUX0_CONTROL
64 #define ALLOW_HFLUX0_CONTROL
65 #undef ALLOW_SSS0_CONTROL
66 #undef ALLOW_SST0_CONTROL
67 #define ALLOW_DIFFKR_CONTROL
68 #define ALLOW_KAPGM_CONTROL
69

  ViewVC Help
Powered by ViewVC 1.1.22