/[MITgcm]/MITgcm/verification/tutorial_dic_adjoffline/code_ad/ECCO_CPPOPTIONS.h
ViewVC logotype

Annotation of /MITgcm/verification/tutorial_dic_adjoffline/code_ad/ECCO_CPPOPTIONS.h

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


Revision 1.2 - (hide annotations) (download)
Thu Aug 9 18:15:58 2012 UTC (11 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63r, checkpoint63s, checkpoint64
Changes since 1.1: +23 -13 lines
File MIME type: text/plain
- reccord when this file is included (define ECCO_CPPOPTIONS_H)
- remove the most obvious obsolete features (e.g., #define ALLOW_COST not
  allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h)

1 jmc 1.2 C $Header: /u/gcmpack/MITgcm/verification/tutorial_dic_adjoffline/code_ad/ECCO_CPPOPTIONS.h,v 1.1 2009/10/16 16:49:48 heimbach Exp $
2 heimbach 1.1 C $Name: $
3    
4 jmc 1.2 #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.2
23 heimbach 1.1 #define ALLOW_AUTODIFF_TAMC
24     C >>> Checkpointing as handled by TAMC
25     #define ALLOW_TAMC_CHECKPOINTING
26 jmc 1.2
27 heimbach 1.1 C >>> Extract adjoint state
28     #undef ALLOW_AUTODIFF_MONITOR
29 jmc 1.2
30 heimbach 1.1 C >>> DO 2-level checkpointing instead of 3-level
31     #undef AUTODIFF_2_LEVEL_CHECKPOINT
32 jmc 1.2
33 heimbach 1.1 C o use divided adjoint to split adjoint computations
34     #undef ALLOW_DIVIDED_ADJOINT
35     #undef ALLOW_DIVIDED_ADJOINT_MPI
36    
37     C ********************************************************************
38 jmc 1.2 C *** Calendar Package ***
39 heimbach 1.1 C ********************************************************************
40 jmc 1.2
41 heimbach 1.1 C CPP flags controlling which code is included in the files that
42     C will be compiled.
43    
44     CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<<
45    
46     C ********************************************************************
47     C *** Cost function Package ***
48     C ********************************************************************
49 jmc 1.2
50 heimbach 1.1 C >>> Cost function contributions
51     #define ALLOW_DIC_COST
52    
53     C ********************************************************************
54     C *** Control vector Package ***
55     C ********************************************************************
56 jmc 1.2
57 heimbach 1.1 #define EXCLUDE_CTRL_PACK
58     #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
59 jmc 1.2
60 heimbach 1.1 #define ALLOW_GEN2D_CONTROL
61     #undef ALLOW_DIC_CONTROL
62 jmc 1.2
63     C ********************************************************************
64     #endif /* ECCO_CPPOPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22