4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/diagnostics: |
8 |
|
- change default missing_value from UNSET_RL to -999. |
9 |
|
o pkg/layers: improve vectorization of layers_fluxcalc.F |
10 |
|
- step 1: split loops, make TatU/V 2D arrays. This alone reduces the cpu |
11 |
|
time spent in this routine by more than a factor of 3 on an NEC-SX8 |
12 |
|
- step 2: replace search algorithm by a bisection algorithm found in |
13 |
|
Press et al. Numerical Recipes in Fortran. This algorithm can be |
14 |
|
vectorized and finds the correct bin in approx. log2(Nlayers) steps. |
15 |
|
For now, use this algorithm only for TARGET_NEC_SX defined. |
16 |
|
- moved the search algorithm into a separate subroutine, that is kept |
17 |
|
within the same file for automatic inlining. |
18 |
|
- modified catching potential errors |
19 |
|
o pkg/ecco: |
20 |
|
- add compile switches ALLOW_SHALLOW_ALTIMETRY and ALLOW_HIGHLAT_ALTIMETRY. |
21 |
|
o model/src, pkg/autodiff, pkg/ctrl, pkg/grdchk : |
22 |
|
- modifications for ALLOW_GENTIM2D_CONTROL |
23 |
|
-- forward_step.F, the_main_loop.F : pass options and arrays for adjoint tapes. |
24 |
|
-- load_fields_driver.F : add call to CTRL_MAP_GENTIM2D( myTime, myIter, myThid ) |
25 |
|
-- add xx_gentim2d0/1 in ctrl_ad_check_lev1_dir.h checkpoint_lev1_directives.h etc |
26 |
|
-- use ctrl_swapffields.F (new) instead of exf_SwapFFields.F in ctrl_get_gen.F |
27 |
|
o model/src: |
28 |
|
- account for moist thermodynamics in (dry) potential temperature equation; |
29 |
|
update results of experiments: aim.5l_cs (x2), fizhi-cs (std + aqualev) |
30 |
|
and cpl_aim+ocn. |
31 |
|
- also switch to standard compiler (gfortran, was using ifort previously) |
32 |
|
for fizhi-cs experiments reference output. |
33 |
|
o pkg/ctrl: |
34 |
|
- 1st step toward generic time-varying control variable (2D) via CPP option |
35 |
|
ALLOW_GENTIM2D_CONTROL |
36 |
|
- note new namelist ctrl_nml_genarr in data.ctrl |
37 |
|
o verification/global_ocean.cs32x15: |
38 |
|
- switch off OLD_THSICE_CALL_SEQUENCE (both forward and AD code) to use new |
39 |
|
thsice calling sequence and update "output.icedyn.txt" output file. |
40 |
|
o pkg/ptracers: |
41 |
|
- from Ryan A.: code to allow to restart a tracer at regular time interval |
42 |
|
specifying a reset frequency and a reset-phase (for each tracers). |
43 |
|
o pkg/thsice: |
44 |
|
- implement new sequence of calls for thsice+seaice: |
45 |
|
previously: ice-Dyn,ice-Advect,ice-Thermo(thsice) |
46 |
|
new sequence: ice-Thermo(thsice),ice-Dyn,ice-Advect |
47 |
|
- allows (with temporary CPP option "#define OLD_THSICE_CALL_SEQUENCE" |
48 |
|
in CPP_OPTIONS.h) to recover old sequence; |
49 |
|
- update diagnostics for Intermediate State thsice diagnostics: now filled |
50 |
|
just before advection (instead of just after advection in old sequence); |
51 |
|
- update output of experiment offline_exf_seaice (standard test); |
52 |
|
- in global_ocean.cs32x15 exp., postpone output.icedyn.txt update |
53 |
|
by setting #define OLD_THSICE_CALL_SEQUENCE in CPP_OPTIONS.h |
54 |
|
o pkg/aim_v23: |
55 |
|
- use tiled array for aim_CO2 and surface wind speed for export to coupler; |
56 |
|
- use standard pkg/mdsio routines to read & write CO2 pickup file; |
57 |
|
- in-line S/R AIM_AIM2DYN_EXCHANGES in aim_do_physics.F; |
58 |
|
- Implement new sequence of calls for seaice advection (with thsice and |
59 |
|
seaice diffusion): do ice advection after ice-Thermodynamic (previously |
60 |
|
was done before); change aim_do_physics.F (split the bi,bj loops block); |
61 |
|
- use same CPP option (OLD_THSICE_CALL_SEQUENCE) to recover old sequence; |
62 |
|
o pkg/thsice: |
63 |
|
- add a missing EXCH of sIceLoad in thsice_main.F (ocean set-up) for the case |
64 |
|
where just seaice diffusion is used without seaice-dynamics. |
65 |
|
|
66 |
|
checkpoint64c (2013/01/18) |
67 |
|
o pkg/seaice: |
68 |
|
- add a parameter JFNKres_tFac that can replace JFNKres_t |
69 |
|
(= JFNKres_tFac*JFNKresidual before JFNK solver) |
70 |
|
- add a line search option to the JFNK solver |
71 |
|
- move update of u/vIce and computation of initial residual into a separate |
72 |
|
routine (same file); makes the code a little easier to read (?) |
73 |
|
- the line search requires computation of the residual and for some reason |
74 |
|
I cannot do the update of u/vIce at the beginning of the Newton loop |
75 |
|
without changing the results, so we move computation of the new residual |
76 |
|
also to the end of the Newton loop, even without the line search |
77 |
|
o pkg/mdsio: |
78 |
|
- write missing value (corresponding to undefined array value) to meta files; |
79 |
|
skip this if missing value is one (UNSET_RL would be a better value for the |
80 |
|
case of undefined missing value but it's current the default missing-value); |
81 |
|
Also update mdsio_read_meta.F (reading timeInterval & missing-value). |
82 |
|
o pkg/exf & thsice: |
83 |
|
- for diagnostics purpose, fill-up and update Qsw array (+ fill the |
84 |
|
diagnostics) even when SHORTWAVE_HEATING is #undef; |
85 |
|
o verification/cfc_example: |
86 |
|
- turn on pkg/layers with pkg/diagnostics (to test pkg/layers and to |
87 |
|
illustrate how to use it). |
88 |
|
o verification/offline_exf_seaice: |
89 |
|
in input: add SEAICErestoreUnderIce=.TRUE., and reduce size of forcing |
90 |
|
files to only one time-record. |
91 |
|
in input.thermo: narrow the 2 bands of low initial ice-concentration near |
92 |
|
N & S edges; switch on SEAICErestoreUnderIce=T; use pkg/diagnostics for |
93 |
|
snapshot output; same mcPheePiston value as in thsice with |
94 |
|
surf-current=0.2m/s. |
95 |
|
in input.thsice: similar set-up as in input.thermo (channel with same seaice |
96 |
|
initial conditions). |
97 |
|
o verification/cfc_example: |
98 |
|
- update file "data" with more standard choice (default rotationPeriod, |
99 |
|
exactConserv=T, reduce ivdc_kappa to 10, remove multiDimAdvection=F, |
100 |
|
set deltaTFreeSurf to deltaTtracer) and update the output. |
101 |
|
o pkg/layers: |
102 |
|
- fix bolus part so that it compiles with #undef GM_BOLUS_ADVEC; |
103 |
|
- ensure that "layers_bolus" is switched to False when useGMRedi=False. |
104 |
|
o verification/offline_exf_seaice: |
105 |
|
- set all {field}period to zero for constant-in-time forcing (not tested |
106 |
|
anywhere else). |
107 |
|
o verification/offline_exf_seaice: |
108 |
|
- dyn_lsr : use pkg/seaice S/R (instead of pkg/thsice) to advect sea-ice; |
109 |
|
- dyn_jfnk : use pkg/thsice S/R (instead of pkg/seaice) to advect sea-ice. |
110 |
|
o model/src: |
111 |
|
- implement Finite-Volume method for (hydrostatic) presure gradient |
112 |
|
from S.-J. Lin (QJRMS 1997), for atmosphere using sigma-coordinate. |
113 |
|
o pkg/seaice: implement EVP* by Lemieux et al. (2012). |
114 |
|
- In order to be compatible with the default EVP code, this requires changing |
115 |
|
the EVP code around a little; and because any small change immediately |
116 |
|
breaks the lab_sea.hb87 verification experiment, the reference output is |
117 |
|
updated two times (each time the remaining aggrement was only 2 digits): |
118 |
|
- after replacing 1/dt by 1*recip_dt with a precomputed recip_dt |
119 |
|
- after replacing 1/(1+0.5*dt/tau) by a/(a+1), with a=2*tau/dt |
120 |
|
The adjoint test lab_sea.evp also needed to be updated. |
121 |
|
- Turn on EVP* by setting SEAICE_deltaTevp as before, and setting |
122 |
|
SEAICEuseEVPstar=.true.; for EVP* SEAICE_deltaTevp does not need to be |
123 |
|
a factor of SEAICE_deltaTdyn, and you can set the number of EVP steps |
124 |
|
explicitly with SEAICEnEVPstarSteps (thereby overriding the default of |
125 |
|
INT(SEAICE_deltaTdyn/SEAICE_deltaTevp)). Controlling EVP* is deliberately |
126 |
|
kept obscure, because I need to test it a little more. |
127 |
|
o pkg/cheapaml: |
128 |
|
- fix few incorrect type (_RL/_RS) in subroutine calls. |
129 |
|
o pkg/seaice: |
130 |
|
- new S/R SEAICE_MAP_RS2VEC (similar to SEAICE_MAP2VEC) to map _RS arrays |
131 |
|
to _RL vector; this fixes JFNK code when compiling with "-use_r4" option. |
132 |
|
o model/src: |
133 |
|
- add a warning if using select_rStar=2 with nonlinFreeSurf <> 4; |
134 |
|
change (in input_ad*/data) select_rStar from 2 to 1 for AD verification |
135 |
|
experiments global_ocean.cs32x15 & tutorial_tracer_adjsens (+ update output) |
136 |
|
o pkg/cheapaml: |
137 |
|
- replace "273.1 _d 0" by celsius2K in pkg/cheapaml/cheapaml.F and |
138 |
|
update output of experiment cheapAML_box. |
139 |
|
- store in CHEAPAML.h coeffs ssq[0:2] for saturation specific humidity, |
140 |
|
and set them only in one place (cheapaml_readparms.F). |
141 |
|
- replace "273.16 _d 0" by celsius2K & replace "3.14159 _d 0" by constant "PI" |
142 |
|
- remove re-setting of main-model parameter "celsius2K" (in cheapaml_readparms) |
143 |
|
and re-setting of cheapAML params "lath" & "p0" (in cheapaml_init_varia). |
144 |
|
o model/src/the_main_loop.F: |
145 |
|
- fix revision 129 : need both ALLOW_ECCO and ALLOW_ECCO_EVOLUTION. |
146 |
|
o pkg/seaice: |
147 |
|
- remove legacy branch code. |
148 |
|
- retire SEAICE_GROWTH_LEGACY and SEAICE_CAP_HEFF accordingly. |
149 |
|
o verification/*/code*/SEAICE_OPTIONS.h: |
150 |
|
- remove documentation for retired CPP flags (SEAICE_GROWTH_LEGACY, |
151 |
|
SEAICE_CAP_HEFF). |
152 |
|
o pkg/cheapaml: |
153 |
|
- use standard routine (S/R GET_PERIODIC_INTERVAL) to decide when it is time |
154 |
|
to load new forcing fields. |
155 |
|
- add missing "_d 0" where it's needed; + some editing (improve indentation). |
156 |
|
- remove switch to "-r8" compiler option (no longer needed) in verification |
157 |
|
cheapAML_box, keep same output (small trucation error differences). |
158 |
|
o verification/offline_exf_seaice: |
159 |
|
- add thermodynamics only test. |
160 |
|
o verification/cheapAML_box: |
161 |
|
- split the domain in 8 (2x4) tiles; add MPI and multi-threaded test; |
162 |
|
keep same output (same 14 digits for cg2d). |
163 |
|
- switch on "-r8" compiler option (some numerical values are missing |
164 |
|
the "_d 0") and update output (only 6 digits for cg2d were preserved). |
165 |
|
|
166 |
|
checkpoint64b (2012/12/24) |
167 |
|
o pkg/cheapaml: |
168 |
|
- remove un-used variables (Qnet,EmPmR) from pickup files. |
169 |
|
- store tendency of advected variables into cheapaml pickup file |
170 |
|
and fix the AB-2 restart. |
171 |
o verification/offline_exf_seaice and lab_sea adjoint: |
o verification/offline_exf_seaice and lab_sea adjoint: |
172 |
- switch to new code (#undef SEAICE_GROWTH_LEGACY). |
- switch to new code (#undef SEAICE_GROWTH_LEGACY). |
173 |
- switch to 4 time steps in offline, consistent with lab_sea. |
- switch to 4 time steps in offline, consistent with lab_sea. |
174 |
- match paramaters from SEAICE_GROWTH_LEGACY branch in data.seaice. |
- match parameters from SEAICE_GROWTH_LEGACY branch in data.seaice. |
175 |
- update results after change of experiment seaice. |
- update results after change of experiment seaice. |
176 |
|
o pkg/seaice: |
177 |
|
- remove option SEAICE_MULTICATEGORY; has been replaced with run-time |
178 |
|
parameter SEAICE_multDim. Issue a warning if SEAICE_MULTICATEGORY is |
179 |
|
still defined since SEAICE_multDim needs to be set to MULTDIM value (from |
180 |
|
SEAICE_SIZE.h) to recover previous #define SEAICE_MULTICATEGORY default. |
181 |
o model/src: |
o model/src: |
182 |
- add run-time parameter to select CG2D solver minimum-residual solution |
- add run-time parameter to select CG2D solver minimum-residual solution |
183 |
(in case of a poor convergence). |
(in case of a poor convergence). |
187 |
file; the main purpose of this change is to be able to reuse the code |
file; the main purpose of this change is to be able to reuse the code |
188 |
in S/R SEAICE_PRECONDITIONER |
in S/R SEAICE_PRECONDITIONER |
189 |
- modify the computation of the residual so that the mass of sea-ice |
- modify the computation of the residual so that the mass of sea-ice |
190 |
is not used twice; this simplyfies the calculations, but since |
is not used twice; this simplifies the calculations, but since |
191 |
the residual is never used except when LSR_mixIniGuess.ge.4---and this is |
the residual is never used except when LSR_mixIniGuess.ge.4---and this is |
192 |
not tested in testreport---this does not affect the testreport results. |
not tested in testreport---this does not affect the testreport results. |
193 |
o verification/seaice_obcs: |
o verification/seaice_obcs: |
221 |
- add a verification experiment for JFNK in offline_exf_seaice |
- add a verification experiment for JFNK in offline_exf_seaice |
222 |
o verification: |
o verification: |
223 |
- change (for now, only fwd test) offline_exf_seaice experiment: |
- change (for now, only fwd test) offline_exf_seaice experiment: |
224 |
use a re-entrant channel with idealized costline (trapezoidal shape) |
use a re-entrant channel with idealized coastline (trapezoidal shape) |
225 |
at southern boundary to explore seaice dynamics and thermodynamics |
at southern boundary to explore seaice dynamics and thermodynamics |
226 |
with simple forcing. Main set-up has dynamics+thermo and SST relaxation; |
with simple forcing. Main set-up has dynamics+thermo and SST relaxation; |
227 |
secondary test (input.thsice) use thermodynamics only with SST relaxation. |
secondary test (input.thsice) use thermodynamics only with SST relaxation. |