4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
checkpoint63s (2012/09/05) |
8 |
|
o pkg/ecco: |
9 |
|
- remove #ifdef ALLOW_SMOOTH_CORREL3D brackets. |
10 |
|
- add more relevant #ifdef ALLOW_SMOOTH ones. |
11 |
|
- sort out useAtmWind, useSMOOTH, ctrlSmoothCorrel2D. |
12 |
|
o pkg/ctrl: |
13 |
|
- CTRL_OPTIONS.h : document CPPs related to smoothing; ALLOW_SMOOTH_CORREL2D/3D, |
14 |
|
ALLOW_CTRL_SMOOTH, ALLOW_SMOOTH_CTRL2D, ALLOW_SMOOTH_CTRL3D. |
15 |
|
- ctrl.h : document run time params doInitXX, doMainPack, doMainUnpack, doPackDiag, |
16 |
|
doSinglePrecTapelev (audodiff param!), ctrlSmoothCorrel2D (new) and |
17 |
|
ctrlSmoothCorrel3D (new). |
18 |
|
The added ctrlSmoothCorrel2D/3D replace the old ALLOW_SMOOTH_CORREL2D/3D CPP. |
19 |
|
- ctrl_readparms.F : initialise ctrlSmoothCorrel2D/3D and read from namelist. |
20 |
|
- ctrl_init.F ctrl_pack.F ctrl_unpack.F : switch off ustress/vstress |
21 |
|
controls when useAtmWind, and vice versa. |
22 |
|
- ctrl_map_ini_ecco.F : UVEL0, VVEL0, edtaux, edtauy cannot be smoothed as tracers. |
23 |
|
- ctrl_get_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL2D with |
24 |
|
#ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel2D, IF useSMOOTH. |
25 |
|
- ctrl_map_ini_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL3D with |
26 |
|
#ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel3D, IF useSMOOTH. |
27 |
|
- ctrl_set_pack_xy[z].F, ctrl_set_unpack_xy[z].F: |
28 |
|
replace ALLOW_SMOOTH_CORREL2D/3D brackets with ctrlSmoothCorrel2D/3D. |
29 |
|
o pkg/smooth: |
30 |
|
- remove un-necessary includes. |
31 |
|
- remove ALLOW_SMOOTH*D and ALLOW_SMOOTH_CORREL*D brakets. |
32 |
|
Those CPP options were never defined, and not necessary. |
33 |
|
o model/src: |
34 |
|
- fix CPP brackets in ini_mixing.F (GM_background_K belongs to gmredi). |
35 |
|
- standard treatment of useSMOOTH. |
36 |
|
o pkg/autodiff: |
37 |
|
- add LOGICAL useGGL90inAdMode, useGGL90inFwdMode, useSALT_PLUMEinAdMode, |
38 |
|
useSALT_PLUMEInFwdMode allowing to switch off ggl90 and salt_plume adjoint. |
39 |
|
o pkg/exch2: |
40 |
|
- add "if usingMPI" where it was missing (in exch2_rx?_cube*.template) |
41 |
|
+ start to remove ALWAYS_USE_MPI in source code that TAF does not see. |
42 |
|
- make new S/R W2_MAP_PROCS out of w2_eeboot.F to setup exch2 CommonFlag |
43 |
|
and tiles to process mapping. |
44 |
|
- re-arrange 3 header files (W2_EXCH2_PARAMS.h, _BUFFER.h & _TOPOLOGY.h) |
45 |
|
moving /EXCH2_FILLVAL_RX/ & /W2_EXCH2_COMMFLAG/ to W2_EXCH2_TOPOLOGY.h; |
46 |
|
rename "exch2_tProc" to "W2_tileProc" and move seting of e2FillValue_RX |
47 |
|
from w2_eeboot.F to w2_readparms.F. |
48 |
|
o eesupp/src: |
49 |
|
- set exchNeedsMemsync & exchUsesBarrier according to "usingMPI" (instead of |
50 |
|
ALWAYS_USE_MPI) + moved from ini_communication_patterns.F to eeset_parms.F; |
51 |
|
also move setting of exchCollectStatistics from exch_init.F to eeset_parms.F |
52 |
|
- in eedie.F and all_proc_die.F, always call MPI_FINALIZE when ALLOW_USE_MPI |
53 |
|
is defined (remove condition on usingMPI) to match cases where MPI_INIT |
54 |
|
has been called. |
55 |
|
- fix bug I put in previous modif of exch_sm_3d_rx.template (not much used); |
56 |
|
- change default (non-MPI) value of myPid (from 1 to 0) to match MPI settings |
57 |
|
(so that on 1 proc, get same myPid independently of usingMPI) |
58 |
|
- add a stop if multi-procs but usingMPI=F ; stop also if usingMPI=T and |
59 |
|
useCubedSphereExchange with EXCH-1 (safer). |
60 |
|
- add "if usingMPI" where it was missing (+ start to remove ALWAYS_USE_MPI). |
61 |
|
o pkg/ggl90: |
62 |
|
- fix bug in filling corner mask array "mskCor" (FILL_CS_CORNER_TR_RL call) |
63 |
|
used in ALLOW_GGL90_SMOOTH code. |
64 |
|
o pkg/flt: |
65 |
|
- fix typo in FLT_WITHOUT_Y_PERIODICITY (the effect was to ignore stopping |
66 |
|
floats at the Southern end of the domain). |
67 |
|
o eesupp/inc: |
68 |
|
- add a list of CPP-options which can be set by Makefile (DEF_IN_MAKEFILE.h); |
69 |
|
but not used (and not to be used) anywhere, just for documentation. |
70 |
|
o pkg/autodiff, exf, ptracers & seaice (AD & TL output): |
71 |
|
- comment out the very nasty "writeBinaryPrec = writeStatePrec" line, since: |
72 |
|
a) can damage previously written records in any other multi-record files. |
73 |
|
b) if needed, can easily do it cleanly, by calling S/R WRITE_REC_3D_RL/S. |
74 |
|
o tools/genmake2: |
75 |
|
- define variable MAKE within Makefile and use it in place of 'make'; |
76 |
|
- update AD_CONFIG.h (if needed) before building any of the executable |
77 |
|
(forward, adjoint or tangent-lin); this involves a 2nd invocation of make; |
78 |
|
and add the usual #ifndef/#define AD_CONFIG_H in AD_CONFIG.h; |
79 |
|
- always print usual warning comment 'this file is automatically generated' |
80 |
|
from script convert_cpp_cmd2defines (+ remove this warning from genmake2). |
81 |
|
o pkg/cheapaml: |
82 |
|
- updated to correspond to the code used in accepted paper (Nico Wienders). |
83 |
|
o pkg/exf: |
84 |
|
added run time switch useAtmWind to replace ALLOW_ATM_WIND cpp switch. |
85 |
|
ALLOW_ATM_WIND now just sets the useAtmWind default (see exf_readparms.F) |
86 |
|
and force defines ALLOW_BULKFORMULAE (EXF_OPTIONS.h). |
87 |
|
o pkg/exf, autodiff, ctrl, ecco and seaice: |
88 |
|
remove ALLOW_ATM_WIND brackets, or replace them with useAtmWind ones. |
89 |
|
o pkg/ctrl, ecco: |
90 |
|
allow to compile both ALLOW_U/VSTRESS_CONTROL and ALLOW_U/VWIND_CONTROL. |
91 |
|
Depending on useAtmWind, one is inactive, and the other is active (see |
92 |
|
exf_getffields.F/exf_getsurfacefluxes.F). |
93 |
|
o tools/genmake2: |
94 |
|
- improve error msg when failing in 2nd test of check_for_broken_Ff |
95 |
|
- fix option '-makefile' short-name (-mf according to genmake2 -help) |
96 |
|
- source local config file "genmake_local" just after processing the genmake2 |
97 |
|
command arguments (previously done before processing arg). |
98 |
|
o pkg/grdchk: |
99 |
|
- add a call to TURNOFF_MODEL_IO for Tangent-Linear run (in this case, call |
100 |
|
to this routine from cost_final has been dropped in g_cost_final) |
101 |
|
- improve printed information (more explicit msg, no longer using "print *," |
102 |
|
fix fcpertminus printed value). |
103 |
|
o model/src: |
104 |
|
- move call to COST_INIT_VARIA out of packages_init_variables.F directly |
105 |
|
into initialise_varia.F (just after calling PACKAGES_INIT_VARIABLES): |
106 |
|
this prevents getting cost-funct reset in adinitialise_varia recomputations. |
107 |
|
o pkg/dic: |
108 |
|
- move initialisation of "freefe" array from from dic_biotic_forcing.F to |
109 |
|
fe_chem.F: this prevents TAF from dropping this initialisation in TLM code. |
110 |
|
o pkg/grdchk: |
111 |
|
- grdchk_main.F : added CALL GLOBAL_SUM_INT( ierr , myThid ) |
112 |
|
- grdchk_getadxx.F etc. : omit I/O if ierr.EQ.0 |
113 |
|
o pkg/autodiff/ctrl/grdchk : |
114 |
|
- attempt to sort out what works and what does not, |
115 |
|
with regard to I/O, and to warn/stop accordingly. |
116 |
|
o pkg/grdchk: |
117 |
|
- attempt to fix grdchk in the case of useSingleCpuIO. |
118 |
|
- "if ( myProcId .EQ. grdchkwhichproc .AND. ierr .EQ. 0 )" |
119 |
|
statements were moved from grdchk_main.F and into |
120 |
|
grdchk_getadxx.F grdchk_getxx.F grdchk_setxx.F. |
121 |
|
- a global sum is applied to record numbers icvrec/layer |
122 |
|
out of grdchk_loc so that they be passed to I/O routines. |
123 |
|
o pkg/smooth: |
124 |
|
- fix recomputation that appeared with nlfs : use smooth_recip_hFacC, |
125 |
|
smooth_hFacW, smooth_hFacS (copied at init_fixed) in 3d case. |
126 |
|
o verification/testreport: |
127 |
|
- add option '-tlm' for Tangent-Linear test (-adm,-oad,-tlm are all exclusive); |
128 |
|
- can also use compressed (gzip) reference output file; |
129 |
|
- change format (in pkg/grdchk) of TLM output (+ add forward gradient) |
130 |
|
to be easier to collect by testreport. |
131 |
|
- update existing TLM output (half out-of-date by more than 3 yrs). |
132 |
|
- report NETCDF & LAPACK settings (from genmake2) in output dir. |
133 |
|
- report run-time in each individual summary (previously only for AD test); |
134 |
|
for TLM test, add also TAF version. |
135 |
|
- add daily TLM test on (old) aces cluster + weekly test on baudelaire. |
136 |
|
|
137 |
|
checkpoint63r (2012/08/15) |
138 |
|
o tools/genmake2: |
139 |
|
- fix Makefile for target ftlall (+ update files to clean after make ftlall) |
140 |
|
o pkg/ecco/ecco_cost_final.F : |
141 |
|
- fix fc print statements (to stdout and costfunction0000) so |
142 |
|
that the printed value is always after the global sum. |
143 |
|
o pkg/seaice/seaice_dynsolver.F : |
144 |
|
- fix ice strength assymptote at SEAICE_area_max<1 |
145 |
|
(no change for the standard case of SEAICE_area_max=1) |
146 |
|
o some cleaning: |
147 |
|
- pkg source files: ensure that all *.F files from each pkg included the |
148 |
|
corresponding ${PKG}_OPTIONS.h file (except stand-alone src file which |
149 |
|
only includes CPP_EEOPTIONS.h); fix S/R CTRL_SMOOTH ; update AD experiment |
150 |
|
code_ad/*.F src files; add new option-file in pkg/admtlm + corresponding |
151 |
|
includes; |
152 |
|
- model/src: add PACKAGES_CONFIG.h wherever ALLOW_AUTODIFF[_TAMC] is used. |
153 |
|
- ALLOW_DIFFKR_CONTROL: add a stop in S/R CTRL_CHECK in case ALLOW_3D_DIFFKR |
154 |
|
is undef; also define /DYNVARS_DIFFKR/ common block in DYNVARS.h when |
155 |
|
ALLOW_DIFFKR_CONTROL is defined, to allow to compile and reach this stop. |
156 |
|
- update option-file CPP_OPTIONS.h of all AD experiments: |
157 |
|
* no longer include PACKAGES_CONFIG.h ; |
158 |
|
* includes ECCO_CPPOPTIONS.h if PACKAGES_CONFIG.h has been included ; |
159 |
|
* def/undef ALLOW_3D_DIFFKR independently of ALLOW_DIFFKR_CONTROL (before |
160 |
|
including ECCO_CPPOPTIONS.h). |
161 |
o pkg/cost, pkg/ctrl, pkg/ecco option-file: |
o pkg/cost, pkg/ctrl, pkg/ecco option-file: |
162 |
- clean-up and split content of old pkg/ecco/ECCO_CPPOPTIONS.h file into |
- clean-up and split content of old pkg/ecco/ECCO_CPPOPTIONS.h file into |
163 |
separated pkg option-file (done according to old doc from ECCO_CPPOPTIONS.h, |
separated pkg option-file (done according to old doc from ECCO_CPPOPTIONS.h, |