4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/obcs: |
8 |
|
- change default setting of OBCS_UVICE_OLD from defined to undef; |
9 |
|
- use new parameter OB_indexNone for null index value (instead of hard-coded 0) |
10 |
|
in all pkg/obcs code and in other pkgs; remove k loop in obcs_check_depths.F; |
11 |
|
- pass OB_indexNone as (new) argument to S/R CTRL_MASK_SET_[X,Y]Z; |
12 |
|
- change OB null index value (OB_indexNone) to -99 ; this fix the problem |
13 |
|
with Southern & Western OB at a tile edge (at least in a simple set-up). |
14 |
|
o pkg/obcs: |
15 |
|
- change settings of OB index in case OB coincides with tile edge (shared by |
16 |
|
2 tiles), so that common OB location is registered by both tiles (instead of |
17 |
|
only 1). However, for Southern and Western OB, index value = 0 is not |
18 |
|
recognized as valid OB index (=default null value) and needs to be fixed. |
19 |
|
- modify accordingly OBCS_BALANCE_FLOW and OBCS_MONITOR (avoid double counting) |
20 |
|
- new parameter "OB_indexNone" for null index value (for now, still zero) |
21 |
|
to replace hard-coded null index value of zero. |
22 |
|
o pkg/exch2: |
23 |
|
- improve W2_USE_E2_SAFEMODE (faster) and W2_E2_DEBUG_ON: |
24 |
|
always check buffer-size (but outside the loop); move checking for valid |
25 |
|
index from W2_USE_E2_SAFEMODE to W2_E2_DEBUG_ON; in W2_E2_DEBUG_ON, |
26 |
|
print each tile and point connection only if |W2_printMsg|>= 2 and 3. |
27 |
|
o pkg/ctrl (pack & unpack): |
28 |
|
- in ctrl_pack.F & ctrl_unpack.F, use the same local file-name variable |
29 |
|
(locally defined) for different variables (+ remove the variable-specific |
30 |
|
file name in CTRL_GENARR.h). For now, only implemented for GENARR2/3D_CONTROL |
31 |
|
(to be extended to other local file names in ctrl.h). |
32 |
|
o pkg/flt: |
33 |
|
- add a FLT_Iter0 option (similar to PTRACERS_Iter0). |
34 |
|
o pkg/mdsio: |
35 |
|
- fix missing STOP in mdsio_readvec_loc.F (case ioUnit=0) when file is missing |
36 |
|
o tools/genmake2: |
37 |
|
- add similar dependences for target EXE_AD & EXE_FTL as we have for EXECUTABLE |
38 |
|
(added by Alistair in version 1.51 for building without make depend); |
39 |
|
- remove Header files list (H_SRC_FILES) from the dependence of targets |
40 |
|
ad_input_code.f & ftl_input_code.f (not clear why it was added in the first |
41 |
|
place in version 1.23): this save going through staf when unrelated header |
42 |
|
file has been modified. |
43 |
|
Note: for an intermediate target (e.g., ad_input_code.f or adtaf) without |
44 |
|
"make depend" step, still need to do "make links" before "make adtaf". |
45 |
|
o eesupp/src (+ few pkg src files) & genmake2: |
46 |
|
- finish to remove ALWAYS_USE_MPI in source code that TAF does not see; |
47 |
|
- no longer set ALWAYS_USE_MPI in Makefile (was done by genmake2). |
48 |
|
- improve genmake2 checking for ALLOW_${PKG} in CPP_OPTIONS.h files (distinguish |
49 |
|
upper/lower case ; account for space between "#" and undef/define) |
50 |
|
o pkg/flt (with exch2): |
51 |
|
- cleaning: fix so that it compiles; move remaining MPI calls out of flt_exch2.F; |
52 |
|
- simplify threads synchronisation; fix (many issues) multi-threaded with MPI. |
53 |
|
|
54 |
|
checkpoint63s (2012/09/05) |
55 |
|
o pkg/ecco: |
56 |
|
- remove #ifdef ALLOW_SMOOTH_CORREL3D brackets. |
57 |
|
- add more relevant #ifdef ALLOW_SMOOTH ones. |
58 |
|
- sort out useAtmWind, useSMOOTH, ctrlSmoothCorrel2D. |
59 |
|
o pkg/ctrl: |
60 |
|
- CTRL_OPTIONS.h : document CPPs related to smoothing; ALLOW_SMOOTH_CORREL2D/3D, |
61 |
|
ALLOW_CTRL_SMOOTH, ALLOW_SMOOTH_CTRL2D, ALLOW_SMOOTH_CTRL3D. |
62 |
|
- ctrl.h : document run time params doInitXX, doMainPack, doMainUnpack, doPackDiag, |
63 |
|
doSinglePrecTapelev (audodiff param!), ctrlSmoothCorrel2D (new) and |
64 |
|
ctrlSmoothCorrel3D (new). |
65 |
|
The added ctrlSmoothCorrel2D/3D replace the old ALLOW_SMOOTH_CORREL2D/3D CPP. |
66 |
|
- ctrl_readparms.F : initialise ctrlSmoothCorrel2D/3D and read from namelist. |
67 |
|
- ctrl_init.F ctrl_pack.F ctrl_unpack.F : switch off ustress/vstress |
68 |
|
controls when useAtmWind, and vice versa. |
69 |
|
- ctrl_map_ini_ecco.F : UVEL0, VVEL0, edtaux, edtauy cannot be smoothed as tracers. |
70 |
|
- ctrl_get_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL2D with |
71 |
|
#ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel2D, IF useSMOOTH. |
72 |
|
- ctrl_map_ini_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL3D with |
73 |
|
#ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel3D, IF useSMOOTH. |
74 |
|
- ctrl_set_pack_xy[z].F, ctrl_set_unpack_xy[z].F: |
75 |
|
replace ALLOW_SMOOTH_CORREL2D/3D brackets with ctrlSmoothCorrel2D/3D. |
76 |
|
o pkg/smooth: |
77 |
|
- remove un-necessary includes. |
78 |
|
- remove ALLOW_SMOOTH*D and ALLOW_SMOOTH_CORREL*D brakets. |
79 |
|
Those CPP options were never defined, and not necessary. |
80 |
|
o model/src: |
81 |
|
- fix CPP brackets in ini_mixing.F (GM_background_K belongs to gmredi). |
82 |
|
- standard treatment of useSMOOTH. |
83 |
|
o pkg/autodiff: |
84 |
|
- add LOGICAL useGGL90inAdMode, useGGL90inFwdMode, useSALT_PLUMEinAdMode, |
85 |
|
useSALT_PLUMEInFwdMode allowing to switch off ggl90 and salt_plume adjoint. |
86 |
o pkg/exch2: |
o pkg/exch2: |
87 |
- add "if usingMPI" where it was missing (in exch2_rx?_cube*.template) |
- add "if usingMPI" where it was missing (in exch2_rx?_cube*.template) |
88 |
+ to remove ALWAYS_USE_MPI in source code that TAF does not see. |
+ start to remove ALWAYS_USE_MPI in source code that TAF does not see. |
89 |
- make new S/R W2_MAP_PROCS out of w2_eeboot.F to setup exch2 CommonFlag |
- make new S/R W2_MAP_PROCS out of w2_eeboot.F to setup exch2 CommonFlag |
90 |
and tiles to process mapping. |
and tiles to process mapping. |
91 |
- re-arrange 3 header files (W2_EXCH2_PARAMS.h, _BUFFER.h & _TOPOLOGY.h) |
- re-arrange 3 header files (W2_EXCH2_PARAMS.h, _BUFFER.h & _TOPOLOGY.h) |