1 |
C $Header: /u/gcmpack/MITgcm_contrib/gael/verification/global_oce_llc90/code/AUTODIFF_OPTIONS.h,v 1.1 2014/10/18 14:22:34 gforget Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
CBOP |
5 |
C !ROUTINE: AUTODIFF_OPTIONS.h |
6 |
C !INTERFACE: |
7 |
C #include "AUTODIFF_OPTIONS.h" |
8 |
|
9 |
C !DESCRIPTION: |
10 |
C *==================================================================* |
11 |
C | CPP options file for AutoDiff (autodiff) package: |
12 |
C | Control which optional features to compile in this package code. |
13 |
C *==================================================================* |
14 |
CEOP |
15 |
|
16 |
#ifndef AUTODIFF_OPTIONS_H |
17 |
#define AUTODIFF_OPTIONS_H |
18 |
#include "PACKAGES_CONFIG.h" |
19 |
#include "CPP_OPTIONS.h" |
20 |
|
21 |
#ifdef ALLOW_AUTODIFF |
22 |
#ifdef ECCO_CPPOPTIONS_H |
23 |
|
24 |
C-- When multi-package option-file ECCO_CPPOPTIONS.h is used (directly included |
25 |
C in CPP_OPTIONS.h), this option file is left empty since all options that |
26 |
C are specific to this package are assumed to be set in ECCO_CPPOPTIONS.h |
27 |
|
28 |
#else /* ndef ECCO_CPPOPTIONS_H */ |
29 |
C ================================================================== |
30 |
C-- Package-specific Options & Macros go here |
31 |
|
32 |
C o Include/exclude code in order to be able to automatically |
33 |
C differentiate the MITgcmUV by using the Tangent Linear and |
34 |
C Adjoint Model Compiler (TAMC). |
35 |
#define ALLOW_AUTODIFF_TAMC |
36 |
|
37 |
C o Checkpointing as handled by TAMC |
38 |
#define ALLOW_TAMC_CHECKPOINTING |
39 |
# undef AUTODIFF_2_LEVEL_CHECKPOINT |
40 |
|
41 |
C o Extract adjoint state |
42 |
#define ALLOW_AUTODIFF_MONITOR |
43 |
|
44 |
C o use divided adjoint to split adjoint computations |
45 |
#undef ALLOW_DIVIDED_ADJOINT |
46 |
#undef ALLOW_DIVIDED_ADJOINT_MPI |
47 |
|
48 |
C o tape settings |
49 |
#define ALLOW_AUTODIFF_WHTAPEIO |
50 |
#define AUTODIFF_USE_OLDSTORE_2D |
51 |
#define AUTODIFF_USE_OLDSTORE_3D |
52 |
#define EXCLUDE_WHIO_GLOBUFF_2D |
53 |
#define ALLOW_INIT_WHTAPEIO |
54 |
|
55 |
C ================================================================== |
56 |
#endif /* ndef ECCO_CPPOPTIONS_H */ |
57 |
#endif /* ALLOW_AUTODIFF */ |
58 |
#endif /* AUTODIFF_OPTIONS_H */ |
59 |
|