2 |
C $Header$ |
C $Header$ |
3 |
C $Name$ |
C $Name$ |
4 |
|
|
|
#include "AD_CONFIG.h" |
|
|
|
|
|
C |
|
5 |
C CPP flags controlling which code is included in the files that |
C CPP flags controlling which code is included in the files that |
6 |
C will be compiled. |
C will be compiled. |
|
C |
|
|
C ******************************************************************** |
|
|
C *** ECCO Package *** |
|
|
C ******************************************************************** |
|
|
C |
|
|
#undef ALLOW_ECCO_FORWARD_RUN |
|
|
#undef ALLOW_ECCO_DIAGNOSTICS_RUN |
|
|
#undef ALLOW_ECCO_OPTIMIZATION |
|
|
|
|
|
C >>> Do a long protocol. |
|
|
#undef ECCO_VERBOSE |
|
7 |
|
|
8 |
C ******************************************************************** |
C ******************************************************************** |
9 |
C *** Adjoint Support Package *** |
C *** Adjoint Support Package *** |
12 |
C o Include/exclude code in order to be able to automatically |
C o Include/exclude code in order to be able to automatically |
13 |
C differentiate the MITgcmUV by using the Tangent Linear and |
C differentiate the MITgcmUV by using the Tangent Linear and |
14 |
C Adjoint Model Compiler (TAMC). |
C Adjoint Model Compiler (TAMC). |
|
cph#define INCLUDE_AUTODIFF_PACKAGE |
|
15 |
C |
C |
16 |
#define ALLOW_AUTODIFF_TAMC |
#define ALLOW_AUTODIFF_TAMC |
17 |
|
C |
18 |
C >>> Checkpointing as handled by TAMC |
C >>> Checkpointing as handled by TAMC |
19 |
#define ALLOW_TAMC_CHECKPOINTING |
#define ALLOW_TAMC_CHECKPOINTING |
20 |
C |
C |
21 |
C >>> Extract adjoint state |
C >>> Extract adjoint state |
22 |
#undef ALLOW_AUTODIFF_MONITOR |
#define ALLOW_AUTODIFF_MONITOR |
23 |
|
C |
24 |
|
C >>> DO 2-level checkpointing instead of 3-level |
25 |
|
#undef AUTODIFF_2_LEVEL_CHECKPOINT |
26 |
C |
C |
27 |
C o use divided adjoint to split adjoint computations |
C o use divided adjoint to split adjoint computations |
28 |
#undef ALLOW_DIVIDED_ADJOINT |
#undef ALLOW_DIVIDED_ADJOINT |
29 |
|
C |
30 |
|
C o TAMC compatible subroutine parameter list |
31 |
|
#undef AUTODIFF_TAMC_COMPATIBILITY |
32 |
|
|
33 |
C ******************************************************************** |
C ******************************************************************** |
34 |
C *** Calender Package *** |
C *** Calender Package *** |
36 |
C |
C |
37 |
C CPP flags controlling which code is included in the files that |
C CPP flags controlling which code is included in the files that |
38 |
C will be compiled. |
C will be compiled. |
39 |
C |
|
40 |
C o Include the calendar tool. |
CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<< |
|
#undef ALLOW_CALENDAR |
|
|
#undef ALLOW_CAL_NENDITER |
|
41 |
|
|
42 |
C ******************************************************************** |
C ******************************************************************** |
43 |
C *** Cost function Package *** |
C *** Cost function Package *** |
54 |
C ******************************************************************** |
C ******************************************************************** |
55 |
C |
C |
56 |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
57 |
|
#undef ALLOW_TAMC_SINGLEPREC_COMLEV |
58 |
|
|
59 |
C >>> Initial values. |
C >>> Initial values. |
60 |
#define ALLOW_THETA0_CONTROL |
#define ALLOW_THETA0_CONTROL |
61 |
#define ALLOW_SALT0_CONTROL |
#define ALLOW_SALT0_CONTROL |
67 |
#undef ALLOW_SSS0_CONTROL |
#undef ALLOW_SSS0_CONTROL |
68 |
#undef ALLOW_SST0_CONTROL |
#undef ALLOW_SST0_CONTROL |
69 |
#define ALLOW_DIFFKR_CONTROL |
#define ALLOW_DIFFKR_CONTROL |
70 |
#undef ALLOW_KAPGM_CONTROL |
#define ALLOW_KAPGM_CONTROL |
71 |
|
|