4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/mdsio: |
8 |
|
- fix missing STOP in mdsio_readvec_loc.F (case ioUnit=0) when file is missing |
9 |
|
o tools/genmake2: |
10 |
|
- add similar dependences for target EXE_AD & EXE_FTL as we have for EXECUTABLE |
11 |
|
(added by Alistair in version 1.51 for building without make depend); |
12 |
|
- remove Header files list (H_SRC_FILES) from the dependence of targets |
13 |
|
ad_input_code.f & ftl_input_code.f (not clear why it was added in the first |
14 |
|
place in version 1.23): this save going through staf when unrelated header |
15 |
|
file has been modified. |
16 |
|
Note: for an intermediate target (e.g., ad_input_code.f or adtaf) without |
17 |
|
"make depend" step, still need to do "make links" before "make adtaf". |
18 |
|
o eesupp/src (+ few pkg src files) & genmake2: |
19 |
|
- finish to remove ALWAYS_USE_MPI in source code that TAF does not see; |
20 |
|
- no longer set ALWAYS_USE_MPI in Makefile (was done by genmake2). |
21 |
|
- improve genmake2 checking for ALLOW_${PKG} in CPP_OPTIONS.h files (distinguish |
22 |
|
upper/lower case ; account for space between "#" and undef/define) |
23 |
|
o pkg/flt (with exch2): |
24 |
|
- cleaning: fix so that it compiles; move remaining MPI calls out of flt_exch2.F; |
25 |
|
- simplify threads synchronisation; fix (many issues) multi-threaded with MPI. |
26 |
|
|
27 |
|
checkpoint63s (2012/09/05) |
28 |
|
o pkg/ecco: |
29 |
|
- remove #ifdef ALLOW_SMOOTH_CORREL3D brackets. |
30 |
|
- add more relevant #ifdef ALLOW_SMOOTH ones. |
31 |
|
- sort out useAtmWind, useSMOOTH, ctrlSmoothCorrel2D. |
32 |
|
o pkg/ctrl: |
33 |
|
- CTRL_OPTIONS.h : document CPPs related to smoothing; ALLOW_SMOOTH_CORREL2D/3D, |
34 |
|
ALLOW_CTRL_SMOOTH, ALLOW_SMOOTH_CTRL2D, ALLOW_SMOOTH_CTRL3D. |
35 |
|
- ctrl.h : document run time params doInitXX, doMainPack, doMainUnpack, doPackDiag, |
36 |
|
doSinglePrecTapelev (audodiff param!), ctrlSmoothCorrel2D (new) and |
37 |
|
ctrlSmoothCorrel3D (new). |
38 |
|
The added ctrlSmoothCorrel2D/3D replace the old ALLOW_SMOOTH_CORREL2D/3D CPP. |
39 |
|
- ctrl_readparms.F : initialise ctrlSmoothCorrel2D/3D and read from namelist. |
40 |
|
- ctrl_init.F ctrl_pack.F ctrl_unpack.F : switch off ustress/vstress |
41 |
|
controls when useAtmWind, and vice versa. |
42 |
|
- ctrl_map_ini_ecco.F : UVEL0, VVEL0, edtaux, edtauy cannot be smoothed as tracers. |
43 |
|
- ctrl_get_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL2D with |
44 |
|
#ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel2D, IF useSMOOTH. |
45 |
|
- ctrl_map_ini_gen.F : replace #ifdef ALLOW_SMOOTH_CORREL3D with |
46 |
|
#ifdef ALLOW_SMOOTH, IF ctrlSmoothCorrel3D, IF useSMOOTH. |
47 |
|
- ctrl_set_pack_xy[z].F, ctrl_set_unpack_xy[z].F: |
48 |
|
replace ALLOW_SMOOTH_CORREL2D/3D brackets with ctrlSmoothCorrel2D/3D. |
49 |
|
o pkg/smooth: |
50 |
|
- remove un-necessary includes. |
51 |
|
- remove ALLOW_SMOOTH*D and ALLOW_SMOOTH_CORREL*D brakets. |
52 |
|
Those CPP options were never defined, and not necessary. |
53 |
|
o model/src: |
54 |
|
- fix CPP brackets in ini_mixing.F (GM_background_K belongs to gmredi). |
55 |
|
- standard treatment of useSMOOTH. |
56 |
|
o pkg/autodiff: |
57 |
|
- add LOGICAL useGGL90inAdMode, useGGL90inFwdMode, useSALT_PLUMEinAdMode, |
58 |
|
useSALT_PLUMEInFwdMode allowing to switch off ggl90 and salt_plume adjoint. |
59 |
|
o pkg/exch2: |
60 |
|
- add "if usingMPI" where it was missing (in exch2_rx?_cube*.template) |
61 |
|
+ start to remove ALWAYS_USE_MPI in source code that TAF does not see. |
62 |
|
- make new S/R W2_MAP_PROCS out of w2_eeboot.F to setup exch2 CommonFlag |
63 |
|
and tiles to process mapping. |
64 |
|
- re-arrange 3 header files (W2_EXCH2_PARAMS.h, _BUFFER.h & _TOPOLOGY.h) |
65 |
|
moving /EXCH2_FILLVAL_RX/ & /W2_EXCH2_COMMFLAG/ to W2_EXCH2_TOPOLOGY.h; |
66 |
|
rename "exch2_tProc" to "W2_tileProc" and move seting of e2FillValue_RX |
67 |
|
from w2_eeboot.F to w2_readparms.F. |
68 |
|
o eesupp/src: |
69 |
|
- set exchNeedsMemsync & exchUsesBarrier according to "usingMPI" (instead of |
70 |
|
ALWAYS_USE_MPI) + moved from ini_communication_patterns.F to eeset_parms.F; |
71 |
|
also move setting of exchCollectStatistics from exch_init.F to eeset_parms.F |
72 |
|
- in eedie.F and all_proc_die.F, always call MPI_FINALIZE when ALLOW_USE_MPI |
73 |
|
is defined (remove condition on usingMPI) to match cases where MPI_INIT |
74 |
|
has been called. |
75 |
|
- fix bug I put in previous modif of exch_sm_3d_rx.template (not much used); |
76 |
|
- change default (non-MPI) value of myPid (from 1 to 0) to match MPI settings |
77 |
|
(so that on 1 proc, get same myPid independently of usingMPI) |
78 |
|
- add a stop if multi-procs but usingMPI=F ; stop also if usingMPI=T and |
79 |
|
useCubedSphereExchange with EXCH-1 (safer). |
80 |
|
- add "if usingMPI" where it was missing (+ start to remove ALWAYS_USE_MPI). |
81 |
o pkg/ggl90: |
o pkg/ggl90: |
82 |
- fix bug in filling corner mask array "mskCor" (FILL_CS_CORNER_TR_RL call) |
- fix bug in filling corner mask array "mskCor" (FILL_CS_CORNER_TR_RL call) |
83 |
used in ALLOW_GGL90_SMOOTH code. |
used in ALLOW_GGL90_SMOOTH code. |