4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o tools/genmake2: |
8 |
|
- define variable MAKE within Makefile and use it in place of 'make'; |
9 |
|
- update AD_CONFIG.h (if needed) before building any of the executable |
10 |
|
(forward, adjoint or tangent-lin); this involves a 2nd invocation of make; |
11 |
|
and add the usual #ifndef/#define AD_CONFIG_H in AD_CONFIG.h; |
12 |
|
- always print usual warning comment 'this file is automatically generated' |
13 |
|
from script convert_cpp_cmd2defines (+ remove this warning from genmake2). |
14 |
|
o pkg/exf: |
15 |
|
added run time switch useAtmWind to replace ALLOW_ATM_WIND cpp switch. |
16 |
|
ALLOW_ATM_WIND now just sets the useAtmWind default (see exf_readparms.F) |
17 |
|
and force defines ALLOW_BULKFORMULAE (EXF_OPTIONS.h). |
18 |
|
o pkg/exf, autodiff, ctrl, ecco and seaice: |
19 |
|
remove ALLOW_ATM_WIND brackets, or replace them with useAtmWind ones. |
20 |
|
o pkg/ctrl, ecco: |
21 |
|
allow to compile both ALLOW_U/VSTRESS_CONTROL and ALLOW_U/VWIND_CONTROL. |
22 |
|
Depending on useAtmWind, one is inactive, and the other is active (see |
23 |
|
exf_getffields.F/exf_getsurfacefluxes.F). |
24 |
|
o tools/genmake2: |
25 |
|
- improve error msg when failing in 2nd test of check_for_broken_Ff |
26 |
|
- fix option '-makefile' short-name (-mf according to genmake2 -help) |
27 |
|
- source local config file "genmake_local" just after processing the genmake2 |
28 |
|
command arguments (previously done before processing arg). |
29 |
|
o pkg/grdchk: |
30 |
|
- add a call to TURNOFF_MODEL_IO for Tangent-Linear run (in this case, call |
31 |
|
to this routine from cost_final has been dropped in g_cost_final) |
32 |
|
- improve printed information (more explicit msg, no longer using "print *," |
33 |
|
fix fcpertminus printed value). |
34 |
|
o model/src: |
35 |
|
- move call to COST_INIT_VARIA out of packages_init_variables.F directly |
36 |
|
into initialise_varia.F (just after calling PACKAGES_INIT_VARIABLES): |
37 |
|
this prevents getting cost-funct reset in adinitialise_varia recomputations. |
38 |
|
o pkg/dic: |
39 |
|
- move initialisation of "freefe" array from from dic_biotic_forcing.F to |
40 |
|
fe_chem.F: this prevents TAF from dropping this initialisation in TLM code. |
41 |
|
o pkg/grdchk: |
42 |
|
- grdchk_main.F : added CALL GLOBAL_SUM_INT( ierr , myThid ) |
43 |
|
- grdchk_getadxx.F etc. : omit I/O if ierr.EQ.0 |
44 |
|
o pkg/autodiff/ctrl/grdchk : |
45 |
|
- attempt to sort out what works and what does not, |
46 |
|
with regard to I/O, and to warn/stop accordingly. |
47 |
|
o pkg/grdchk: |
48 |
|
- attempt to fix grdchk in the case of useSingleCpuIO. |
49 |
|
- "if ( myProcId .EQ. grdchkwhichproc .AND. ierr .EQ. 0 )" |
50 |
|
statements were moved from grdchk_main.F and into |
51 |
|
grdchk_getadxx.F grdchk_getxx.F grdchk_setxx.F. |
52 |
|
- a global sum is applied to record numbers icvrec/layer |
53 |
|
out of grdchk_loc so that they be passed to I/O routines. |
54 |
|
o pkg/smooth: |
55 |
|
- fix recomputation that appeared with nlfs : use smooth_recip_hFacC, |
56 |
|
smooth_hFacW, smooth_hFacS (copied at init_fixed) in 3d case. |
57 |
o verification/testreport: |
o verification/testreport: |
58 |
- add option '-tlm' for Tangent-Linear test (-adm,-oad,-tlm are all exclusive); |
- add option '-tlm' for Tangent-Linear test (-adm,-oad,-tlm are all exclusive); |
59 |
- can also use compressed (gzip) reference output file; |
- can also use compressed (gzip) reference output file; |