4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o model/inc/scr and pkg/autodiff: add parameters that allow to turn |
8 |
|
of parts of the adjoint code at run time. For now, there are only |
9 |
|
useKPPinAdMode, useGMrediInAdMode, and useSEAICEinAdMode. These |
10 |
|
parameters are set in data.pkg. |
11 |
|
This is the lazy coward's version of doing this, but still useful for |
12 |
|
debugging. In order to do it right, everything needs to be moved to |
13 |
|
pkg/autodiff. |
14 |
|
o pkg/autodiff: fix global_sum_tile_ad.F by resetting adsumPhi at |
15 |
|
the end; this fixes the adjoint balancing code for open boundaries. |
16 |
|
o pkg/ctrl: |
17 |
|
- change behavior of xx_${varname}period to be analogous to exf-conventions: |
18 |
|
xx_${varname}period = 0., means time-independent control part |
19 |
|
xx_${varname}period = -12., means one-year-periodic monthly control part |
20 |
|
- introduce helper routine ctrl_init_rec (part of ctrl_init.F) to |
21 |
|
clean up ctrl_init a little, remove unused variables |
22 |
|
- ctrl_init: fixed the handling of the start/endrec for obcs-variables |
23 |
|
- move "call cal_GetMonthsRec" from s/r ctrl_get_gen to s/r ctrl_get_gen_rec |
24 |
|
|
25 |
|
checkpoint62u (2011/03/15) |
26 |
|
o model/src: |
27 |
|
- for the adjoint, change NonLin-FreeSurf initialisation sequence: fill-in |
28 |
|
h0Fac from INITIALISE_FIXED and reset hFac to h0Fac in INITIALISE_VARIA ; |
29 |
|
- in initialise_varia.F (except for ALLOW_DEPTH_CONTROL) remove 2nd call to |
30 |
|
INI_DEPTHS, INI_MASKS_ETC & INI_LINEAR_PHISURF. |
31 |
|
o pkg/ctrl/obcs/ecco: |
32 |
|
- remove obsolete, unused, and partially broken code: |
33 |
|
ctrl_obcsvol/ctrl_obcsbal/ctrl_volflux and code within |
34 |
|
ALLOW_CTRL_OBCS_BALANCE |
35 |
|
- put a stop statement into ecco/cost_obcsvol.F, but also add |
36 |
|
cost_obcsvol to ecco_ad_diff.list |
37 |
|
o pkg/ecco: fix counting cost function contributions for obcs (code |
38 |
|
by Matt M.) and diffkr for diagnostics |
39 |
|
o pkg/ecco, pkg/ctrl, pkg/grdchk: |
40 |
|
add cost penalty terms for initial uvel, vvel, eta controls |
41 |
|
and I/O for prior error files |
42 |
|
o pkg/mdsio: |
43 |
|
move mds_check4file.F from eesupp/src to mdsio_check4file.F ; add option |
44 |
|
(new argument) to check for tiled file in mdsioLocalDir : this fix the |
45 |
|
restart from pickup_som , pickup_dic (& dic_co2atm) with mdsioLocalDir. |
46 |
|
o pkg/ctrl: |
47 |
|
- ctrl_obcsbal.F, ctrl_obcsvol.F: replace last calls of ctrl_getrec by |
48 |
|
ctrl_get_gen_rec, put a stop statement into ctrl_getrec. Remove |
49 |
|
unused and superfluous variables |
50 |
|
- ctrl_get_gen_rec.F: catch the case of xx_genperiod=0. |
51 |
|
o pkg/ecco |
52 |
|
- enable adjoint of Stevens OB |
53 |
|
o pkg/ctrl/ecco/grdchk: |
54 |
|
- remove global declaration of tmpfldx/yz and tmpfldx/yz2. |
55 |
|
Fortunately, we do not have any tests for the numerous cpp-flagged |
56 |
|
option of "obcs as control parameters" so we will never know |
57 |
|
if this is an improvement (but at least now things compile). |
58 |
|
- remove an obsolete initialization from ecco_cost_init_barfiles.F |
59 |
|
- fix some problems within never used ifdefs to make the code compile |
60 |
|
o pkg/obcs: |
61 |
|
- Refine Interior mask definition to work with more complex OB (e.g. |
62 |
|
if OB_Ie < OB_Iw); In case default setting is not sufficient, allows to |
63 |
|
read in Interior mask from file. Check if Interior mask is consistent |
64 |
|
with OB list of indices. |
65 |
|
o pkg/seaice |
66 |
|
- beginning code for a seaice tracer package, |
67 |
|
but currently only used for seaice age: SEAICE_AGE |
68 |
|
SEAICE_num = 4 |
69 |
|
iTracer = 1: area-weighted ice age |
70 |
|
= 2: volume-weighted ice age |
71 |
|
= 3, 4: template for one-year vs. multi-year ice |
72 |
|
data.seaice has new namelist SEAICE_PARM03 for arrays related to |
73 |
|
SEAICE_num |
74 |
|
|
75 |
|
checkpoint62t (2011/03/05) |
76 |
|
o pkg/obcs: |
77 |
|
- obcs_apply_uv.F: change to a 2 steps method, first tangential component; |
78 |
|
then normal component. This ensures that the normal component is set |
79 |
|
correctly even when it conficts with tangential setting from an other OB. |
80 |
|
Affects results of test-experiment seaice_obcs: update the output.txt |
81 |
|
o pkg/obcs: |
82 |
|
- add code to monitor statistics of dynamical fields at OB. |
83 |
|
- take OBCS_BALANCE code out of obcs_calc.F into new S/R OBCS_BALANCE_FLOW : |
84 |
|
- fix to OBCS_BALANCE code (right hFac ; deal with simple OB intersection). |
85 |
|
- change default: balance the Net inflow through all OB (instead of balancing |
86 |
|
each OB separately); keep the old method if setting OBC_balanceFacX < 0. |
87 |
|
- switch on useOBCSbalance in dome experiment: only correct Western OB outflow |
88 |
|
to match Nortern OB inflow (OBCS_balanceFacN=0). |
89 |
|
o pkg/seaice: |
90 |
|
- redefined actual sea ice age to be ICEAGE/HEFF ifdef SEAICE_AGE_VOL |
91 |
|
o pkg/seaice (seaice_growth v 1.113): |
92 |
|
- reverting seaice_growth to v 1.111 in order to have code with exact bit |
93 |
|
compatibility with MITgcm_contrib/ifenty/Fenty_seaice_thermo_code_merge |
94 |
|
CPP option SEAICE_OCN_MELT_ACT_ON_AREA removed in v 1.112 is reintroduced |
95 |
|
runtime flag SEAICEareaFormula is kept but is inactive |
96 |
|
o model/src: |
97 |
|
- add new param to scale curvilinear grid distance and area when using |
98 |
|
a different sphere radius from the grid-files. |
99 |
|
- test/check multi-threads EXCH applied to local variable (cg2d_x) |
100 |
|
o adjoint: |
101 |
|
- enable adjoint of Stevens OB |
102 |
|
- add dummy_in_dynamics to enable extraction of ADJrhoinsitu |
103 |
|
(a bit delicate because of potentially modified adj. common block structure; |
104 |
|
current switch is ALLOW_AUTODIFF_MONITOR_DIAG, could be changed later) |
105 |
|
|
106 |
|
checkpoint62s (2011/02/15) |
107 |
|
o pkg/seaice (seaice_growth v 1.112): |
108 |
|
- introduce SEAICEareaFormula run time parameter, which selects the recipe for |
109 |
|
computing the ice cover tendency from effective thickness tendencies. Include |
110 |
|
Ian Fenty's formula. |
111 |
|
- remove 'undef SEAICE_OCN_MELT_ACT_ON_AREA' which may now be achieved using |
112 |
|
SEAICEareaFormula. |
113 |
|
- simplify notations for the various d_HEFF/d_AREA terms. |
114 |
|
o pkg/gmredi: |
115 |
|
- add Boundary-Value-Problem bolus transport (Ferrari etal, OM 2010) code |
116 |
|
from Christopher Wolfe (UCSD); add partial cell factor in vertical derivative; |
117 |
|
add a verification test-run (front_relax.bvp) to test GM_useBVP. |
118 |
|
o pkg/seaice (seaice_growth v 1.111): |
119 |
|
- for SEAICE_DO_OPEN_WATER_GROWTH, replace Gael's implementation with Ian's. |
120 |
|
- the new SEAICE_DO_OPEN_WATER_MELT allows open-water air-sea heat fluxes to |
121 |
|
also melt ice. |
122 |
|
o pkg/seaice: |
123 |
|
- McPhee formula for Ice-Ocean fluxes (provided by Ian Fenty). |
124 |
|
- can be used by #define MCPHEE_OCEAN_ICE_HEAT_FLUX in SEAICE_OPTIONS.h |
125 |
|
o pkg/cheapaml: |
126 |
|
- from Nico Wienders: New version of this package. |
127 |
|
o pkg/flt: |
128 |
|
- add CPP options to prevent floats to re-enter the opposite side of |
129 |
|
a periodic domain (default: keep periodicity) |
130 |
|
o pkg/gmredi: |
131 |
|
- apply exchange to GM_PsiX,GM_PsiY to get valid values near CS-corners |
132 |
|
(needed for multi-dim advection). |
133 |
|
- switch on GM Advective form in global_ocean.cs32x15 and update output.txt |
134 |
|
o model/src: |
135 |
|
- fix wrong re-setting of addMass array (ALLOW_ADDFLUID) for atmospheric run. |
136 |
|
o tutorial_tracer_adjsens |
137 |
|
- extend to NLFS and replace maskC by hFacC |
138 |
|
(change reference output accordingly) |
139 |
|
|
140 |
|
checkpoint62r (2011/01/24) |
141 |
|
o testreport: |
142 |
|
- add option -deloutp (-do) to remove output file after successful run |
143 |
|
- add option -mfile (-mf) for MPI machile-file and for each test-exp, |
144 |
|
extract exact list of procs from this file ; adjust COMMAND by |
145 |
|
replacing TR_MFILE & TR_NPROC with local machile-file & Nb of MPI procs. |
146 |
|
o pkg/ecco: replace old ineffective way of penalizing deviations from |
147 |
|
first guess (of obcs) with code by Matt Mazloff |
148 |
|
o pkg/ctrl: add code that allows the use of ALLOW_OBCS?_CONTROL without |
149 |
|
exf/cal |
150 |
|
- ctrl_init: fix initialisation (computation of diffrec) for obcs-ctrl |
151 |
|
and handle case of obcs?period == 0 |
152 |
|
Not affected by these changes: There is still an inconsistency in |
153 |
|
the computation of start/endrec for the obcs variables for ALLOW_CAL |
154 |
|
defined (see comment by Menemenlis, 7-Mar-2003) |
155 |
|
- make S/R ctrl_get_gen_rec return something meaningful even if |
156 |
|
ALLOW_CAL is not defined |
157 |
|
- ctrl_getobcs?: simplify code so that it does not need to use |
158 |
|
S/R exf_swapfields |
159 |
|
o testreport: |
160 |
|
allow to test MPI with different number of processors for each experiment: |
161 |
|
create file "SIZE.h.mpi" in each build dir. |
162 |
|
Note: update of "-command" argument not yet implemented. |
163 |
|
o model/src, pkg/autodiff, pkg/ecco, pkg/seaice: |
164 |
|
alleviate the need for additional 3D tapes when using |
165 |
|
the non-inear free surface in the adjoint. This is done |
166 |
|
by adding an 'update' of hfacc etc. to their current |
167 |
|
value at the beginning of forward_step.F. |
168 |
|
o pkg/seaice |
169 |
|
seaice_lsr: move stress-divergence computations out of outer pseudo- |
170 |
|
timestepping loop |
171 |
|
o pkg/obcs/obcs_prescribe_read.F: move 'CALL OBCS_EXTERNAL_FIELDS_LOAD' |
172 |
|
up, so that the calls of the ctrl_* subroutines are really at the end |
173 |
|
of the routine. |
174 |
|
o pkg/gmredi: |
175 |
|
allow to specify a 2-D horizontal map and a 1-D vertical profil |
176 |
|
as scaling factor for Isopycnal diffusivity (Redi) and GM diffusivity. |
177 |
|
o pkg/seaice: |
178 |
|
move lsr iterations from seaice_dynsolver to seaice_lsr. |
179 |
|
o pkg/seaice: |
180 |
|
reduce memory footprint of seaice mutldim advection tapes, |
181 |
|
by using a 2D tape independent of the generic_advdiff ones, |
182 |
|
and setting GAD_AREA=1 etc. rather than GAD_AREA=101 etc. |
183 |
|
|
184 |
|
checkpoint62q (2010/12/29) |
185 |
|
o model/src: |
186 |
|
- check horizontal grid-spacing for unset or zero/negative values. |
187 |
|
- change AD test hs94.1x64x5 to be truly a 2-D set-up. |
188 |
|
o pkg/flt: |
189 |
|
- use (recent) mdsio S/R MDS_READVEC_LOC instead of local FLT_MDSREADVECTOR |
190 |
|
- precision of input and output files set according to readBinaryPrec |
191 |
|
and writeBinaryPrec (previously always 64.b), pickup remains at 64 bits. |
192 |
|
- initial float position from tiled file was not converted to index space |
193 |
|
(looks like a bug): fixed to make it similar to initial pos. global file. |
194 |
|
o global_ocean.cs32x15: |
195 |
|
change SIZE.h of AD set-up to get same tiling as with MPI. |
196 |
|
Update output_adm, output_adm.thsice (pass@14) & output_adm.seaice (fail@11) |
197 |
|
o model/src: |
198 |
|
add flag to control printing of domain fields (bathymetry, hFac ...) in |
199 |
|
ini_mask_etc (call to plot_fieds_xy*). |
200 |
|
o pkg/thsice: |
201 |
|
if useEXF, some forcing fields are not valid in overlap: fixed by computing |
202 |
|
over the interior only + apply EXCH at the end (like with SEAICE advection). |
203 |
|
o pkg/mdsio: |
204 |
|
- add 2 arguments to S/R MDS_PASS_R4/8toRL/S for overlap size of buffer |
205 |
|
to copy to/from, so that it can be used to replace MDS_PASS_WH_R8toRL/RS. |
206 |
|
- change barrier call for safe multi-threads access to 3-D shared buffer. |
207 |
|
- MDS_READ/WRITEVEC_LOC use buffers from MDSIO_BUFF_3D.h (instead of local ones) |
208 |
|
- replace call to MDS_PASS_WH_R4/8toRL with call to MDS_PASS_R4/8toRL and |
209 |
|
remove the 4 S/R MDS_PASS_WH_R4/8toRL/S. |
210 |
|
o pkg/flt: |
211 |
|
- add fourth-order Runge-Kutta integration |
212 |
|
- add basic exch2 support (only 1 facet supported so far!) |
213 |
o pkg/mdsio+rw: |
o pkg/mdsio+rw: |
214 |
new S/R to read local (or tile independent) vector (read counterpart of |
new S/R to read local (or tile independent) vector (read counterpart of |
215 |
mds_writevec_loc, and front-end write_glvec_rl/rs). |
mds_writevec_loc, and front-end write_glvec_rl/rs). |