4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
checkpoint63r (2012/08/15) |
8 |
|
o tools/genmake2: |
9 |
|
- fix Makefile for target ftlall (+ update files to clean after make ftlall) |
10 |
|
o pkg/ecco/ecco_cost_final.F : |
11 |
|
- fix fc print statements (to stdout and costfunction0000) so |
12 |
|
that the printed value is always after the global sum. |
13 |
|
o pkg/seaice/seaice_dynsolver.F : |
14 |
|
- fix ice strength assymptote at SEAICE_area_max<1 |
15 |
|
(no change for the standard case of SEAICE_area_max=1) |
16 |
|
o some cleaning: |
17 |
|
- pkg source files: ensure that all *.F files from each pkg included the |
18 |
|
corresponding ${PKG}_OPTIONS.h file (except stand-alone src file which |
19 |
|
only includes CPP_EEOPTIONS.h); fix S/R CTRL_SMOOTH ; update AD experiment |
20 |
|
code_ad/*.F src files; add new option-file in pkg/admtlm + corresponding |
21 |
|
includes; |
22 |
|
- model/src: add PACKAGES_CONFIG.h wherever ALLOW_AUTODIFF[_TAMC] is used. |
23 |
|
- ALLOW_DIFFKR_CONTROL: add a stop in S/R CTRL_CHECK in case ALLOW_3D_DIFFKR |
24 |
|
is undef; also define /DYNVARS_DIFFKR/ common block in DYNVARS.h when |
25 |
|
ALLOW_DIFFKR_CONTROL is defined, to allow to compile and reach this stop. |
26 |
|
- update option-file CPP_OPTIONS.h of all AD experiments: |
27 |
|
* no longer include PACKAGES_CONFIG.h ; |
28 |
|
* includes ECCO_CPPOPTIONS.h if PACKAGES_CONFIG.h has been included ; |
29 |
|
* def/undef ALLOW_3D_DIFFKR independently of ALLOW_DIFFKR_CONTROL (before |
30 |
|
including ECCO_CPPOPTIONS.h). |
31 |
|
o pkg/cost, pkg/ctrl, pkg/ecco option-file: |
32 |
|
- clean-up and split content of old pkg/ecco/ECCO_CPPOPTIONS.h file into |
33 |
|
separated pkg option-file (done according to old doc from ECCO_CPPOPTIONS.h, |
34 |
|
not necessary accurate). |
35 |
|
- add a template for option-file ECCO_CPPOPTIONS.h, mostly empty, in |
36 |
|
pkg/autodiff, i.e., the 1rst pkg to compile for adjoint built, with lines to |
37 |
|
deliberately break compilation (a remainder that it needs to be customized) |
38 |
|
- in pkg/ecco, includes ECCO_OPTIONS.h instead of COST_OPTIONS.h |
39 |
|
- rename COST_CPPOPTIONS.h to COST_OPTIONS.h |
40 |
|
- rename CTRL_CPPOPTIONS.h to CTRL_OPTIONS.h |
41 |
|
o tools/genamke2: |
42 |
|
- check for lapack. |
43 |
|
o pkg/cost and pkg/ecco : attempt to sort out some of the limiting intricacies. |
44 |
|
- pkg/cost.cost_final.F : allow for use of pkg/ecco and pkg/cost cost functions |
45 |
|
jointly. The exclusive ifdefs were removed, to add costs terms (when defined) |
46 |
|
from both packages. |
47 |
|
- the fc global sum in pkg/ecco/ecco_cost_final.F was removed accordingly. |
48 |
|
- for objf_atl we use either the pkg/ecco or the pkg/cost term depending on CPPs. |
49 |
|
- pkg/ecco and model/src : add CPP brackets around pkg/cost and pkg/ctrl includes |
50 |
|
of "CTRL_SIZE.h" "ctrl.h" "ctrl_dummy.h" "optim.h" / "cost.h" accordingly. |
51 |
|
o pkg/cost : add comments to explain special and/or untested setups. |
52 |
|
o pkg/exf: |
53 |
|
- use EXF_OPTIONS.h to set pkg/exf options except if done in ECCO_CPPOPTIONS.h |
54 |
|
(previously, ALLOW_AUTODIFF_TAMC was controling this switch). |
55 |
|
o verification/*/code_ad: |
56 |
|
mimimal cleaning of AD experiments ECCO_CPPOPTIONS.h option-file: |
57 |
|
- reccord when this file is included (define ECCO_CPPOPTIONS_H) |
58 |
|
- remove the most obvious obsolete features (e.g., #define ALLOW_COST not |
59 |
|
allowed since Oct 2003 in any option-file except in PACKAGES_CONFIG.h) |
60 |
|
o pkg/seaice : |
61 |
|
- added possibility to change ice strength/PRESS0 relationship to |
62 |
|
HEFF, according to the following run time parameters |
63 |
|
SEAICEpresPow0 :: HEFF exponent for ice strength below SEAICEpresH0 (integer, >0) |
64 |
|
SEAICEpresPow1 :: HEFF exponent for ice strength above SEAICEpresH0 (integer, >0) |
65 |
|
SEAICEpresH0 :: HEFF threshold for ice strength (m) |
66 |
|
o pkg/ggl90 : |
67 |
|
- added run time flag mxlSurfFlag to include the code that ensure |
68 |
|
mixing between first and second level (previously included as a comment) |
69 |
|
o verification/1D_ocean_ice_column/input_ad/data.autodiff : |
70 |
|
- add test of newly added dumpAdByRec=T option where |
71 |
|
we write all records to one file per variable. |
72 |
|
o verification/global_ocean.cs32x15/code_ad/CPP_OPTIONS.h : |
73 |
|
- switch to #define ALLOW_BALANCE_RELAX and ALLOW_BALANCE_FLUXES |
74 |
|
to check that this code is ok with taf and compiles in adjoint. |
75 |
|
o pkg/autodiff : |
76 |
|
- added run time param dumpAdByRec : ad dump format switch. |
77 |
|
If true then write all records to one file per variable. |
78 |
|
Else write one file per record (remains the default). |
79 |
|
- revise seaice_ad_dump.F and exf_adjoint_snapshots_ad.F accordingly. |
80 |
|
o pkg/seaice: |
81 |
|
- Added SEAICEuseTILT run time switch : if set to |
82 |
|
false then omit the tilt term in seaice dynamics. |
83 |
|
- Fix free drift calculation. |
84 |
|
o pkg/shelfice: |
85 |
|
When initializing SHELFICEDragQuadratic, set default to be |
86 |
|
consistent with shiCdrag in case SHELFICEuseGammaFrict is used, |
87 |
|
but retain option to set it independently |
88 |
|
(inconsistenty spotted by Veronique Dansereau) |
89 |
|
o eesupp/inc: |
90 |
|
- in EEPARAMS.h, add real-type constant for some frequently used simple number |
91 |
|
(0,1,2,1/2), with name explicitly referring to RS/RL type. |
92 |
|
o model/src: |
93 |
|
- move balancing of relaxation terms to new S/R balance_relax.F. |
94 |
|
o pkg/autodiff: |
95 |
|
re-write active I/O high-level (control) S/R: |
96 |
|
- rename S/R ACTIVE_READ/WRITE_RL to ACTIVE_READ/WRITE_3D_RL |
97 |
|
- add 1 more argument (useCurrentDir) to replace the "_LOC" 2nd set of S/R. |
98 |
|
- use standard pkg/mdsio I/O routines (MDS_READ/WRITE_SEC_XZ/YZ and |
99 |
|
MDS_READ/WRITE_FIELD); change loops to multi-threads. |
100 |
|
- update and merge active_file_control_slice.flow into active_file_control.flow |
101 |
|
- update the calls in lower level S/R (active_file.F, active_file_g.F and |
102 |
|
active_file_ad.F) keeping the argument list and function unchanged. |
103 |
|
- also update lower-level "_LOC" version (call same S/R with "useCurrentDir |
104 |
|
=.TRUE.") and remove high-level (control) _loc version (not called anymore). |
105 |
|
- new low-level active I/O routines, one for each type (RL/RS), for active var |
106 |
|
of various (XY,XZ,YZ) shape and level number (arguments: arrShape, myNr); |
107 |
|
fix ctrl_init_wet.F & ecco_cost_weights.F by calling the new S/R with the |
108 |
|
right type. |
109 |
|
o autodiff and RS=real*4: |
110 |
|
- call the right type (_RS instead of _RL) of S/R in few output S/R (pkg/exf |
111 |
|
ad-monitor and snapshots); disable arrType='RS' in mdsio_gl*.F ; |
112 |
|
- change argument type of 3-D mask argument to _RS to match type in the call |
113 |
|
(in seaice_cost*.F, ctrl_*_gen.F and *ctrl_bound.F); to be continued. |
114 |
|
o pkg/thsice: |
115 |
|
- re-anable balanceEmPmR when useSEAICE=T with useThSIce=T. |
116 |
|
- option to correct ocean fresh-water flux for imbalance of Atmos+Land |
117 |
|
fresh-water flux: uniform correction or proportional to local precip. |
118 |
|
o pkg/ctrl: |
119 |
|
- new header file CTRL_SIZE.h for parameters maxCtrlArr2D, maxCtrlArr3D |
120 |
|
- redefine CPP option ALLOW_BOTTOMDRAG_CONTROL to |
121 |
|
ALLOW_BOTTOMDRAG_CONTROL_NONGENERIC |
122 |
|
- verification/hs94.1x64x5/ tests ALLOW_GENARR{2D,3D}_CONTROL |
123 |
|
|
124 |
|
checkpoint63q (2012/07/30) |
125 |
o pkg/autodiff: |
o pkg/autodiff: |
126 |
note about monitor and snap-shot of ad-variables: |
note about monitor and snap-shot of ad-variables: |
127 |
a) need to apply ADEXCH before monitor or output of ad-vars to include |
a) need to apply ADEXCH before monitor or output of ad-vars to include |