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

Annotation of /MITgcm/verification/global_ocean.cs32x15/code_ad/ECCO_CPPOPTIONS.h

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


Revision 1.9 - (hide annotations) (download)
Wed Jul 24 20:53:07 2013 UTC (10 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint65, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65d, checkpoint65e
Changes since 1.8: +1 -2 lines
File MIME type: text/plain
remove ALLOW_DIVIDED_ADJOINT_MPI

1 jmc 1.9 C $Header: /u/gcmpack/MITgcm/verification/global_ocean.cs32x15/code_ad/ECCO_CPPOPTIONS.h,v 1.8 2012/08/09 18:15:57 jmc Exp $
2 heimbach 1.1 C $Name: $
3    
4 jmc 1.8 #ifndef ECCO_CPPOPTIONS_H
5     #define ECCO_CPPOPTIONS_H
6    
7     C-- Collect here, in a single option-file, options to control which optional
8     C features to compile in packages AUTODIFF, COST, CTRL, ECCO, CAL and EXF.
9     C If used, this option-file needs to be directly included in CPP_OPTIONS.h
10     C Although this method, inherited from ECCO setup, has been traditionally
11     C used for all adjoint built, work is in progess to allow to use the
12     C standard metod (each of the above pkg get its own options from its
13     C specific option-file) also for adjoint built.
14 heimbach 1.1
15     C ********************************************************************
16     C *** Adjoint Support Package ***
17     C ********************************************************************
18    
19     C o Include/exclude code in order to be able to automatically
20     C differentiate the MITgcmUV by using the Tangent Linear and
21     C Adjoint Model Compiler (TAMC).
22 jmc 1.8
23 heimbach 1.1 #define ALLOW_AUTODIFF_TAMC
24     C >>> Checkpointing as handled by TAMC
25     #define ALLOW_TAMC_CHECKPOINTING
26 jmc 1.8
27 heimbach 1.1 C >>> Extract adjoint state
28 heimbach 1.2 #define ALLOW_AUTODIFF_MONITOR
29 jmc 1.8
30 heimbach 1.1 C >>> DO 2-level checkpointing instead of 3-level
31     #undef AUTODIFF_2_LEVEL_CHECKPOINT
32 jmc 1.8
33 heimbach 1.1 C o use divided adjoint to split adjoint computations
34     #undef ALLOW_DIVIDED_ADJOINT
35    
36 gforget 1.5 #define ALLOW_AUTODIFF_WHTAPEIO
37     #define ALLOW_PACKUNPACK_METHOD2
38 gforget 1.6 #define AUTODIFF_USE_OLDSTORE_3D
39     #define AUTODIFF_USE_OLDSTORE_2D
40 gforget 1.5
41 heimbach 1.1 C ********************************************************************
42 jmc 1.8 C *** Calendar Package ***
43 heimbach 1.1 C ********************************************************************
44 jmc 1.8
45 heimbach 1.1 C CPP flags controlling which code is included in the files that
46     C will be compiled.
47    
48     CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
49    
50     C ********************************************************************
51     C *** Cost function Package ***
52     C ********************************************************************
53 jmc 1.8
54 heimbach 1.1 C >>> Cost function contributions
55     #define ALLOW_COST_TEST
56     #undef ALLOW_COST_TRACER
57     #undef ALLOW_COST_ATLANTIC_HEAT
58     #define ALLOW_COST_TSQUARED
59    
60     C ********************************************************************
61     C *** Control vector Package ***
62     C ********************************************************************
63 jmc 1.8
64 heimbach 1.1 #define EXCLUDE_CTRL_PACK
65     #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
66 jmc 1.8
67 heimbach 1.1 C >>> Initial values.
68     #define ALLOW_THETA0_CONTROL
69     #define ALLOW_SALT0_CONTROL
70     #define ALLOW_TR10_CONTROL
71     #define ALLOW_TAUU0_CONTROL
72     #define ALLOW_TAUV0_CONTROL
73     #define ALLOW_SFLUX0_CONTROL
74     #define ALLOW_HFLUX0_CONTROL
75     #undef ALLOW_SSS0_CONTROL
76     #undef ALLOW_SST0_CONTROL
77     #define ALLOW_DIFFKR_CONTROL
78     #undef ALLOW_KAPGM_CONTROL
79    
80     C ********************************************************************
81     C *** External forcing Package ***
82     C ********************************************************************
83    
84     C Bulk formulae related flags.
85     #define ALLOW_ATM_TEMP
86 mlosch 1.4 #undef ALLOW_ATM_WIND
87 heimbach 1.1 #define ALLOW_DOWNWARD_RADIATION
88     #define ALLOW_RUNOFF
89     #if (defined (ALLOW_ATM_TEMP) || \
90     defined (ALLOW_ATM_WIND))
91     # define ALLOW_BULKFORMULAE
92 mlosch 1.4 # undef ALLOW_BULK_LARGEYEAGER04
93 heimbach 1.1 #endif
94    
95 jmc 1.7 C Use ocean_emissivity*lwdwon in lwFlux. This flag should be define
96     C unless to reproduce old results (obtained with inconsistent old code)
97     #ifdef ALLOW_DOWNWARD_RADIATION
98     # define EXF_LWDOWN_WITH_EMISSIVITY
99     #endif
100    
101 heimbach 1.1 C Relaxation to monthly climatologies.
102     #define ALLOW_CLIMSST_RELAXATION
103     #define ALLOW_CLIMSSS_RELAXATION
104    
105     C Use spatial interpolation to interpolate
106     C forcing files from input grid to model grid.
107     #undef USE_EXF_INTERPOLATION
108    
109     #define EXF_INTERP_USE_DYNALLOC
110     #if ( defined (EXF_INTERP_USE_DYNALLOC) & defined (USING_THREADS) )
111     # define EXF_IREAD_USE_GLOBAL_POINTER
112     #endif
113    
114     C >>> No Open boundaries
115     #undef ALLOW_OBCSN_CONTROL
116     #undef ALLOW_OBCSS_CONTROL
117     #undef ALLOW_OBCSW_CONTROL
118     #undef ALLOW_OBCSE_CONTROL
119    
120 jmc 1.8 C ********************************************************************
121     #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22