4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/ctrl: |
8 |
|
enable the use of a variable number (maxCtrlArr2D, maxCtrlArr3D) of |
9 |
|
generic control variables via |
10 |
|
#define ALLOW_GENARR2D_CONTROL and/or #define ALLOW_GENARR3D_CONTROL |
11 |
|
Only required customization should be S/R ctrl_map_ini_genarr.F |
12 |
|
(routine in repository contains example) |
13 |
|
o pkg/exf: |
14 |
|
- fix and refine checking of surface-relaxation setting when using EXF |
15 |
|
o verification (adjoint exp): |
16 |
|
- reduce length of simulation by half for experiment global_ocean.cs32x15 |
17 |
|
(std, seaice & seaice_dynmix) and exp tutorial_dic_adjoffline; update output. |
18 |
|
o pkg/mom_common (mom_u/v_bottomdrag), pkg/shelfice (shelfice_u/v_drag) |
19 |
|
- replace if statements KE.ne.0 with KE.gt.0 to avoid sqrt of negative numbers |
20 |
|
of KE that can occur with aggressive optimization |
21 |
|
+ put quadratic bottom drag calculation in separated loops (only done if |
22 |
|
using bottomDragQuadratic) |
23 |
|
o model/src: CG2D_NSA |
24 |
|
- clean-up: stop if cg2dNormaliseRHS=T and AUTODIFF |
25 |
|
and replace GLOBAL_SUM calls with GLOBAL_SUM_TILE. |
26 |
|
- in test-exp that uses CG2D_NSA (bottom_ctrl & tutorial_tracer_adjsens), |
27 |
|
change cg2d residual target to be expressed in Wunits (=> do not normalise |
28 |
|
RHS ; this fix global_max Pb with TAF); update output. |
29 |
|
o verification/tutorial_tracer_adjsens: |
30 |
|
improve parameter consistency (and get rid of warnings): |
31 |
|
- use deltaTFreeSurf=deltaTtracer (better with NonLin FreeSurf); |
32 |
|
- switch Temp Adv Scheme from 81 to 80 (no limiter since theta < 0 is physical) |
33 |
|
- use staggerTimeStep (for stability) in som81; use default rotation period. |
34 |
|
o pkg/exch2: |
35 |
|
- with empty facet: fix compact-format (W2_mapIO=1) definition (was previously |
36 |
|
reset to 0 = 1 long line in X) |
37 |
|
o pkg/mdsio: |
38 |
|
- fix reading of dimensions from meta file for large-size domain |
39 |
|
o model/src: |
40 |
|
- fix saltIsActiveTr setting for IdealGas eosType (eosType is 6 character long); |
41 |
|
- to refine CS-grid check, add logical flag "hasWetCSCorners": true if using |
42 |
|
Cubed-Sphere Exch with CS-corners inside the domain; |
43 |
|
make new S/R INI_GLOBAL_DOMAIN from code in ini_linear_phisurf.F to calculate |
44 |
|
globalArea and to set hasWetCSCorners. |
45 |
|
- add warning if usingCurvilinearGrid and momAdvection in flux-form (missing |
46 |
|
metric terms); stop if hasWetCSCorners=T and momAdvection in flux-form. |
47 |
|
- re-activate the stop if useCDscheme and hasWetCSCorners=T (previously if |
48 |
|
useCDscheme and useCubedSphereExchange). |
49 |
|
o pkg/seaice/seaice_growth.F : |
50 |
|
- compute the SEAICE_DISABLE_HEATCONSFIX term accordingly |
51 |
|
for the (.NOT.useRealFreshWaterFlux).OR.(nonlinFreeSurf.EQ.0) |
52 |
|
when the previous code was not correct. |
53 |
|
- in all cases diagnoze the boundary condition mismatch to SIaaflux |
54 |
|
- in the case of useRealFreshWaterFlux.AND.(nonlinFreeSurf.GT.0) add |
55 |
|
that term to QNET (essentially to set the melt/freeze water to 0degC). |
56 |
|
when SEAICEheatConsFix is true, so that the ocean+ice budget heat is closed. |
57 |
|
o verification/global_ocean.cs32x15/input.seaice : |
58 |
|
- add SEAICEheatConsFix in data.seaice, ensuring closed ocean+ice heat budget. |
59 |
|
- add diagnostics (commented out) for budget test using my matlab codes (gcmfaces). |
60 |
|
- update results (output.seaice.txt) accordingly. |
61 |
|
o verification/lab_sea/input/data.seaice : |
62 |
|
- remove SEAICEheatConsFix, which is now be tested |
63 |
|
in global_ocean.cs32x15. The presently coded fix |
64 |
|
is only consistent with real fresh water + nlfs. |
65 |
|
- update results (output.txt) accordingly. |
66 |
|
o pkg/salt_plume: added diagnotic for salt tendency (oceSPtnd). |
67 |
|
o AD_CONFIG.h file: |
68 |
|
- in genmake2: remove "#undef ALLOW_ECCO_OPTIMIZATION" from AD_CONFIG.h; |
69 |
|
- remove #include "AD_CONFIG.h" from all included OPTIONS files and |
70 |
|
add it explicitly in each fortran src file where it is needed. |
71 |
|
motivation: header file AD_CONFIG.h is generated/modified after "make depend" |
72 |
|
thus introducing potentially wrong dependency; therefore, better to include |
73 |
|
it only where it's really needed, and after any other included OPTIONS file |
74 |
|
(less tempting to bring conditional includes according to ALLOW_ADJOINT_RUN |
75 |
|
or ALLOW_TANGENTLINEAR_RUN). |
76 |
|
|
77 |
|
checkpoint63p (2012/07/06) |
78 |
|
o pkg/autodiff: |
79 |
|
- rename S/R INI_AUTODIFF to AUTODIFF_INIT_VARIA ; |
80 |
|
- create new header file "AUTODIFF_PARAMS.h" for pkg/autodiff parameters |
81 |
|
which are now read from new parameter file "data.autodiff" (inAdExact |
82 |
|
previously in "data", use{KPP/GMRedi/SEAICE}inAdMode previously in data.pkg) |
83 |
|
- add file "data.autodiff" in all verification/*/input_ad/ directories. |
84 |
|
- add run-time parameter to turn On/Off SEAICEuseFREEDRIFT in adjoint/forward |
85 |
|
mode (used in global_ocean.cs32x15.seaice_dynmix test exp.) |
86 |
|
o verification/tutorial_tracer_adjsens/ |
87 |
|
- add extra sub-verification which uses "SOM" advection scheme |
88 |
|
(2nd Order-Moment Advection Scheme, Prather Limiter) with |
89 |
|
#define GAD_ALLOW_TS_SOM_ADV in GAD_OPTIONS.h |
90 |
|
and in data: |
91 |
|
multiDimAdvection=.TRUE., |
92 |
|
tempAdvScheme=81, |
93 |
|
saltAdvScheme=81, |
94 |
|
o model/src: |
95 |
|
- introduce ALLOW_BALANCE_RELAX which allow the removal |
96 |
|
of the global mean of relaxation terms by setting |
97 |
|
balanceThetaClimRelax and balanceSaltClimRelax |
98 |
|
- disable balanceEmPmR and balanceQnet in the case when useSeaice. |
99 |
|
This case is now treated appropriately in seaice_growth.F |
100 |
|
o pkg/seaice: |
101 |
|
- do balanceEmPmR and balanceQnet based on the net fluxes |
102 |
|
(SItflux) that enter the ocean+ice system rather than QNET |
103 |
|
and EMPMR. Works best in real fresh water. |
104 |
|
- SIatmFW, SIatmQnet, and SItflux computations had to be moved |
105 |
|
out of the diagnotics bloc, and stored in global arrays. |
106 |
|
|
107 |
|
checkpoint63o (2012/06/29) |
108 |
|
o vertical mixing schemes: |
109 |
|
- remove unused S/R CALC_BUOYANCY (left from branch-atmos merging) |
110 |
|
- replace computation of density (in Function STATE1, opps_calc.F) by a call |
111 |
|
to S/R FIND_RHO_SCALAR |
112 |
|
- pass sigmaR to S/R PP81_CALC, MY82_CALC (but not yet used) and to GGL90_CALC |
113 |
|
and use it for N^2 calculation in ggl90_calc.F (save 2 density computations); |
114 |
|
affects output (vermix.ggl90) at truncation level. |
115 |
|
o testreport: |
116 |
|
- change adjustment of SIZE.h for mpi+mth testing: preserve enough tiles |
117 |
|
(nSx,nSy) for the number of threads (from eedata.mth) |
118 |
|
o model/src: |
119 |
|
- remove 2nd set of calls at the top of initialise_varia.F (Adjoint part) |
120 |
|
related to Non_Lin Free-Surf or Bottom-Control (but not longer necessary). |
121 |
|
o verification/tutorial_tracer_adjsens/ |
122 |
|
- compile with ALLOW_CG2D_NSA |
123 |
|
- run with nonlinFreeSurf=3 |
124 |
|
- update reference output_adm.txt |
125 |
|
o tools/genmake2: |
126 |
|
- add "-DHAVE_NETCDF" to the DEFINES list when NetCDF is available ; |
127 |
|
refine usePROFILES switching off (only when NetCDF is not available). |
128 |
|
o verification (atmospheric set-up): |
129 |
|
- change eosType='IDEALGAS' to eosType='IDEALG' to match variable declaration |
130 |
|
o pkg/profiles : refine profiles and files handling. |
131 |
|
o model/src and pkg/ecco : introduce run-time switch usePROFILES. |
132 |
|
o model/src/the_main_loop.F, forward_step.F and pkg/exf/EXF_OPTIONS.h : |
133 |
|
- changes to use model/src/the_main_loop.F rather than the ecco version |
134 |
|
in ecco type adjoint runs. |
135 |
|
o model/src: |
136 |
|
- move computation of recip of grid distance & area from INI_MASKS_ETC to INI_GRID |
137 |
|
- move setting of h0Fac[C,W,S] from INI_LINEAR_PHISURF to INI_MASKS_ETC |
138 |
|
- update_masks_etc.F: rename SMOOTH*_R4,R8 function to the corresponding type (RS,RL) |
139 |
|
o model/src: |
140 |
|
- fix S/R UPDATE_CG2D for ALLOW_DEPTH_CONTROL case (was empty before); |
141 |
|
update output of test experiment bottom_ctrl_5x5. |
142 |
|
o pkg/generic_advdiff: |
143 |
|
- implement vertical bi-harmonic diffusion (for now, only for T & S and |
144 |
|
only explicitly). |
145 |
|
o verification/bottom_ctrl_5x5/ |
146 |
|
update reference output (results changed quite some time ago, |
147 |
|
not sure when; but new reference results look ok in terms of grdchk) |
148 |
|
o verification/1D_ocean_ice_column/ |
149 |
|
For verification purposes, the exact adjoint rather than an approx. |
150 |
|
should be used (e.g., to comare against F.D. or TLM). |
151 |
|
removed autodiff_inadmode*_ad.F routines in code_ad/ |
152 |
|
Update results/ accordingly. |
153 |
|
o pkg/cal: |
154 |
|
- change cal_getdate.F so that output date is function of input time only |
155 |
|
(less ambiguous, not mixed up with input iteration number). |
156 |
|
- fix calendarDumps for non-zero phase-lag (S/R CAL_TIME2DUMP). |
157 |
o pkg/diagnostics: |
o pkg/diagnostics: |
158 |
- implement calendarDumps also for stats-diags |
- implement calendarDumps also for stats-diags |
159 |
- implement calendarDumps also for snap-shot output (negative freq) |
- implement calendarDumps also for snap-shot output (negative freq) |