4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
o ECCO-CLIVAR merge: |
o verification (atmospheric set-up): |
8 |
1. seaice AREA relaxation |
- change eosType='IDEALGAS' to eosType='IDEALG' to match variable declaration |
9 |
|
o pkg/profiles : refine profiles and files handling. |
10 |
|
o model/src and pkg/ecco : introduce run-time switch usePROFILES. |
11 |
|
o model/src/the_main_loop.F, forward_step.F and pkg/exf/EXF_OPTIONS.h : |
12 |
|
- changes to use model/src/the_main_loop.F rather than the ecco version |
13 |
|
in ecco type adjoint runs. |
14 |
|
o model/src: |
15 |
|
- move computation of recip of grid distance & area from INI_MASKS_ETC to INI_GRID |
16 |
|
- move setting of h0Fac[C,W,S] from INI_LINEAR_PHISURF to INI_MASKS_ETC |
17 |
|
- update_masks_etc.F: rename SMOOTH*_R4,R8 function to the corresponding type (RS,RL) |
18 |
|
o model/src: |
19 |
|
- fix S/R UPDATE_CG2D for ALLOW_DEPTH_CONTROL case (was empty before); |
20 |
|
update output of test experiment bottom_ctrl_5x5. |
21 |
|
o pkg/generic_advdiff: |
22 |
|
- implement vertical bi-harmonic diffusion (for now, only for T & S and |
23 |
|
only explicitly). |
24 |
|
o verification/bottom_ctrl_5x5/ |
25 |
|
update reference output (results changed quite some time ago, |
26 |
|
not sure when; but new reference results look ok in terms of grdchk) |
27 |
|
o verification/1D_ocean_ice_column/ |
28 |
|
For verification purposes, the exact adjoint rather than an approx. |
29 |
|
should be used (e.g., to comare against F.D. or TLM). |
30 |
|
removed autodiff_inadmode*_ad.F routines in code_ad/ |
31 |
|
Update results/ accordingly. |
32 |
|
o pkg/cal: |
33 |
|
- change cal_getdate.F so that output date is function of input time only |
34 |
|
(less ambiguous, not mixed up with input iteration number). |
35 |
|
- fix calendarDumps for non-zero phase-lag (S/R CAL_TIME2DUMP). |
36 |
|
o pkg/diagnostics: |
37 |
|
- implement calendarDumps also for stats-diags |
38 |
|
- implement calendarDumps also for snap-shot output (negative freq) |
39 |
|
- for now, ignores calendarDumps if non-zero phase-lag. |
40 |
|
|
41 |
|
checkpoint63n (2012/06/04) |
42 |
|
o model/src: |
43 |
|
- recompute rSurfW & S to ensure consistent column thickness (needed for rStar) |
44 |
|
between Sum_k(hFac*drF) and rSurf-rLow, for now only when using pkg/shelfice; |
45 |
|
- use h0FacC, W & S to compute hFac_surfC, W & S in calc_surf_dr.F (more |
46 |
|
similar to calc_r_star.F); update results of experiment internal_wave and |
47 |
|
tutorial_global_oce_in_p (affected @ truncation level). |
48 |
|
o pkg/shelfice: |
49 |
|
- add parameterisation of advective-diffusive flux into the ice shelf |
50 |
|
according to Holland and Jenkins (1999), eq.22-33, as suggested by Jan De Ryd |
51 |
|
- simply eps3/3a computation |
52 |
|
o eesupp: |
53 |
|
- add new CPP option (DISCONNECTED_TILES) to disconnect tiles (no exchange |
54 |
|
between tiles, just fill-in edges assuming locally periodic subdomain) and |
55 |
|
add corresponding exchange subroutines (EXCH0); |
56 |
|
- new CG-solver version (_EX0) for disconnected-tiles special case. |
57 |
|
o model/src (CG-solvers): |
58 |
|
- modify Single-Reduction version (CG2D_SR) in case cg2dMaxIters is reached |
59 |
|
(similar final residual output and max-Iter number as with standard version); |
60 |
|
- allows to store and use lowest-residual solution (standard & _SR versions); |
61 |
|
- cleaning up (remove old, commented out code, LETS_MAKE_JAM ...). |
62 |
|
- by default, also compile CG2D_SR version (define ALLOW_SRCG in CPP_OPTIONS.h) |
63 |
|
o eesup/src: |
64 |
|
- global_vec_sum.F cleaning: add a BARRIER ; update comments ; remove ndef |
65 |
|
ALWAYS_USE_MPI (no longer needed after fixing usingMPI settings - March 2012) |
66 |
|
o pkg/salt_plume added to lab_sea/input_ad.noseaicedyn |
67 |
|
|
68 |
|
checkpoint63m (2012/04/27) |
69 |
|
o pkg/shelfice: |
70 |
|
- account for partical cells in surface level below ice-shelf for hydrostatic |
71 |
|
pressure calculion (set uniformFreeSurfLev to F); update isomip experiments. |
72 |
|
o ad test experiments: |
73 |
|
- update and rename to "ad_optfile.local" local AD-optfile specific to a |
74 |
|
particular adjoint verification experiment (in verification/*/code_ad/) |
75 |
|
o pkg/seaice & pkg/exf: |
76 |
|
- Part two of ECCO-CLIVAR code merges. |
77 |
|
Completes merge of seaice area relax. code. |
78 |
|
Requires unified CPP option EXF_ALLOW_SEAICE_RELAX |
79 |
|
to be set in EXF_OPTIONS.h since this pkg controls its I/O |
80 |
|
(and avoids second CPP option in SEAICE_OPTIONS.h) |
81 |
|
- change default value of costIceStart & costIceEnd to a valid date. |
82 |
|
- add snowPrecip to HSNOW in seaice_growth |
83 |
|
o pkg/ptracers: |
84 |
|
- move ptracers summary and setup check into separated S/R ; add a check for |
85 |
|
valid PTRACERS_Iter0 value (error+stop or just warning). |
86 |
|
o pkg/cal (+ pkg/ecco): |
87 |
|
- avoid calling a S/R with 2 times the same arg (FWD: unless both are only used |
88 |
|
as input; and for AD, unless both are not differentiable (e.g., k index)). |
89 |
|
o model/src: |
90 |
|
- define internal flag "uniformFreeSurfLev" (=T when free-surface level-index |
91 |
|
is everywhere k=1) to speed-up some calculations (by pass kSurf reference); |
92 |
|
temporary set to usingZCoords value (to be changed to F when using shelfice). |
93 |
|
- hydrostatic pressure: implement partial cell near the surface also for |
94 |
|
Z-coordinates (for the case where uniformFreeSurfLev=F); replace test on |
95 |
|
usingZCoords with test on uniformFreeSurfLev where needed (in NonHyd code). |
96 |
|
o pkg/ctrl/ctrl_init.F: |
97 |
|
- add a formal parameter to s/r ctrl_init_rec to print |
98 |
|
xx_$(ctrl_valiable)_file for easier debugging |
99 |
|
- move call of cal_* routines into the if-block where they are really |
100 |
|
needed so that xx_$(ctrl_variable)_period can be 0 or -12 without having |
101 |
|
to specify a startdate |
102 |
|
o pkg/seaice: |
103 |
|
- update comments in SEAICE_OPTIONS.h (+ similar update of lab_sea/code and |
104 |
|
global_ocean.cs32x15/code versions). |
105 |
|
- turn on seaice Multi-category (in data.seaice, SEAICE_multDim=7) for |
106 |
|
verification experiment global_ocean.cs32x15.seaice and update results. |
107 |
|
o pkg/exf: |
108 |
|
- new S/R EXF_GETFIELD_START to return starting-time of a forcing field |
109 |
|
(according to useExfYearlyFields). |
110 |
|
o pkg/cal: |
111 |
|
- move calendar setting & summary (previously in cal_readparams.F) into new |
112 |
|
S/R CAL_INIT_FIXED to be called later in the initialisation process, once |
113 |
|
length of the simulation is set (after SET_PARMS call); This is an attempt |
114 |
|
to fix Pb when, e.g.: pkg/longstep, modifies the length of the run. |
115 |
|
- For safety: keep a record of pkg/cal parameter settings status |
116 |
|
to allow to STOP if one pkg/cal S/R is called too early. |
117 |
|
- add a stop in all basic pkg/cal subroutines if called before setting is done. |
118 |
|
- modify cal_getdate.F: stop when nothing was returned; |
119 |
|
if called with myIter=-1, simply retrun modelBaseDate (1,2 = startDate_1,_2); |
120 |
|
this allows to remove "cal.h" from seaice_read_parms.F & init_mnc_vars.F. |
121 |
|
|
122 |
|
checkpoint63l (2012/04/04) |
123 |
|
o pkg/bbl: |
124 |
|
- fix call to FIND_RHO_2D in bbl_calc_rho.F (case multi-tiles per proc); |
125 |
|
update global_with_exf output.yearly.txt file. |
126 |
|
o pkg/cal: |
127 |
|
- start to clean-up cal_set.F ; fix for the case where baseTime is non-zero. |
128 |
|
- remove 2 unsused and very short (1 line only) functions ; |
129 |
|
- remove unsused subroutines from AD-Diff list. |
130 |
|
o model/src: |
131 |
|
- start to implement clean wait to stop in initialization S/R (config_check.F, |
132 |
|
packages_check.F, ini_parms.F and pkg/obcs/obcs_check.F + pkg/mypackage) |
133 |
|
o folowing PRINT_MESSAGE changes: |
134 |
|
- remove reminder multiple print to the same file (STDOUT) when multi-threads. |
135 |
|
o pkg/bbl: |
136 |
|
- modification so it can work with z* |
137 |
|
- replace deltaT with dTtracerLev(k) for asynchronous time stepping |
138 |
|
- global_with_exf/input.yearly verification; changes output.yearly.txt |
139 |
|
o eesupp/src: |
140 |
|
- PRINT_MESSAGE: use OpenMP critical instruction (similar to PRINT_ERROR); |
141 |
|
writing to unit 0 (if unit=errorMessageUnit) extended to the case myThid=1 |
142 |
|
- CHECK_THREADS: specific code if using OpenMP threading: improve checking of |
143 |
|
# of threads across processors (e.g., different env OMP_NUM_THREADS setting) |
144 |
|
- improve special preliminary call to EESET_PARMS (if eedata is read 2 times). |
145 |
|
- when using MPI, always set usingMPI=T ; set default accordingly and stop |
146 |
|
if not consistent. |
147 |
|
- ALL_PROC_DIE: add a BARRIER after MPI_FINALIZE call ; skip this when thread |
148 |
|
argument is zero (in case called within single-thread section). |
149 |
|
o pkg/fizhi: |
150 |
|
clean-up turbulence cold-start switch: decided in fizhi_init_vars.F, stored |
151 |
|
in common bloc (fizhi_coms.h) and then passed as argument up to S/R TURBIO. |
152 |
|
o pkg/exch2: |
153 |
|
- add argument "updateCorners" to S/R exch2_get_uv_bounds (enable to |
154 |
|
activate EXCH_IGNORE_CORNERS in vector EXCH S/R). |
155 |
|
- switch 1rst EXCH call to IGNORE_CORNERS (instead of UPDATE_CORNERS) |
156 |
|
but keep the 2nd with UPDATE_CORNERS: this prevents overwriting good data |
157 |
|
with bad ones coming from a not-yet-updated halo. |
158 |
|
This should fix the problem when sNx <> sNy and GCD(sNx,sNy) < 2*Olx. |
159 |
|
o pkg/frazil: |
160 |
|
move FrzForcT diag from frazil_diagnostics_state.F to frazil_calc_rhs.F |
161 |
|
http://mitgcm.org/pipermail/mitgcm-devel/2012-March/005384.html |
162 |
|
o model/src/config_check.F: add a check for OLx>sNx/OLy>sNy |
163 |
|
o verification/lab_sea |
164 |
|
* #undef SEAICE_EXCLUDE_FOR_EXACT_AD_TESTING |
165 |
|
* #define ALLOW_SST_CONTROL & ALLOW_SST_CONTROL |
166 |
|
* nTimeSteps 3 -> 4 |
167 |
|
* changed reference output accordingly |
168 |
|
o pkg/ctrl: |
169 |
|
* fix ctrl_get_gen for xx_sst, xx_sss |
170 |
|
o pkg/fizhi: |
171 |
|
- fix 2 calls to S/R GRD2MSC (argument igrd) in update_earth_exports.F |
172 |
|
update results of exp. fizhi-cs-32x32x40 (fail with only 6 digits for cg2d) |
173 |
|
- by default, use new version of S/R GETPWHERE (#define TRY_NEW_GETPWHERE); |
174 |
|
fix few out-of-bounds indices in referencing vars (initialise igrd to 1); |
175 |
|
clean-up fizhi_turb.F (remove unused & uninitialised qdiaglsm array). |
176 |
|
o pkg/gmredi: |
177 |
|
- add diagnostic of Redi (main diagnonal) vertical diffusive flux of Temp |
178 |
|
o pkg/fizhi: |
179 |
|
- fix few initialisation and multi-tile Pb: aqualev & gridalt now pass the |
180 |
|
(old)aces open64 tuv test. |
181 |
|
o pkg/icefront: fix bug and reorder loop in icefront_init_varia.F |
182 |
|
o pkg/mom_vecinv: |
183 |
|
- fix 1 loop range in mom_vecinv.F to be like all the other loops which |
184 |
|
set/update gu,gv/Diss (fix Pb of uninitialised fVerUkp in admom_vecinv |
185 |
|
with non-lin free-surf). |
186 |
|
o model/src: move k-loop outside of i/j-loops when (re-)computing R_low |
187 |
|
in ini/update_masks_etc.F in order to avoid -O3 optimization problems with |
188 |
|
some compilers (gfortran 4.6.0 on MacOS) |
189 |
|
o momentum: |
190 |
|
- separate fVer?(:,:,kUp) & fVer?(:,:,kDown) in argument list of MOM_FLUXFORM |
191 |
|
& MOM_VECINV subroutines (to help TAF). This fixes Pb of uninitialised |
192 |
|
fVer?(kUp) in admom_fluxform with non-lin free-surf or bottom control. |
193 |
|
|
194 |
|
checkpoint63k (2012/03/17) |
195 |
|
o model/src: |
196 |
|
- selectAddFluid (ALLOW_ADDFLUID): add missing term in horizontal momentum |
197 |
|
flux-form (mom_fluxform.F) and vertical momentum (calc_gw.F) equations. |
198 |
|
- SOLVE_DIAGONAL: switch default to use adjoinable & vectorized version |
199 |
|
(#undef SOLVE_DIAGONAL_LOWMEMORY); update output of exp. front_relax.bvp. |
200 |
|
o model/src: solve_*diagonal.F |
201 |
|
- replace division with multiplication by inverse (similar to original version) |
202 |
|
update output of AD exp. global_ocean.90x40x15. |
203 |
|
- fix pkg/gmredi/gmredi_calc_psi_bvp.F & pkg/ggl90/ggl90_calc.F |
204 |
|
to enable the use of the vectorized & differentiable solve_tridiagonal.F |
205 |
|
- test exp. global_ocean.90x40x15/input_ad: switch to advection scheme 20 for |
206 |
|
vertical advection (to get solve_tridiagonal tested in AD mode). |
207 |
|
o pkg/seaice: ECCO-CLIVAR merge: |
208 |
|
1. seaice AREA relaxation |
209 |
* CPP option: SEAICE_ALLOW_AREA_RELAXATION |
* CPP option: SEAICE_ALLOW_AREA_RELAXATION |
210 |
* runtime flag: SEAICE_tauAreaObsRelax |
* runtime flag: SEAICE_tauAreaObsRelax |
211 |
2. modified global mean cost imbalance code: CPP option ALLOW_SSH_GLOBMEAN_COST_CONTRIBUTION |
2. modified global mean cost imbalance code: CPP option |
212 |
|
ALLOW_SSH_GLOBMEAN_COST_CONTRIBUTION |
213 |
o another iteration on solve_*diagonal.F |
o another iteration on solve_*diagonal.F |
214 |
Make choices independent of AUTODIFF |
Make choices independent of AUTODIFF |
215 |
Default is now the adjoinable vectorized version |
Default will be the adjoinable vectorized version. |
216 |
Alternative choices are: |
Alternative choices are: |
217 |
* still adjoinable but lower memory (k as inner-most loop) |
* non-adjoinable original version with low memory footprint: |
218 |
SOLVE_DIAGONAL_KINNER |
#define SOLVE_DIAGONAL_LOWMEMORY |
219 |
* non-adjoinable legacy version with low memory footprint |
* still adjoinable but does not vectorize (k as inner-most loop): |
220 |
SOLVE_DIAGONAL_LOWMEMORY |
#define SOLVE_DIAGONAL_KINNER (keeping SOLVE_DIAGONAL_LOWMEMORY undef) |
221 |
o testreport |
o testreport |
222 |
- add option to use a home made wrapper around "make" |
- add option to use a home made wrapper around "make" |
223 |
- remove MITGCM_IEEE env. variable (no longer active) |
- remove MITGCM_IEEE env. variable (no longer active) |