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: |
58 |
|
- add option '-tlm' for Tangent-Linear test (-adm,-oad,-tlm are all exclusive); |
59 |
|
- can also use compressed (gzip) reference output file; |
60 |
|
- change format (in pkg/grdchk) of TLM output (+ add forward gradient) |
61 |
|
to be easier to collect by testreport. |
62 |
|
- update existing TLM output (half out-of-date by more than 3 yrs). |
63 |
|
- report NETCDF & LAPACK settings (from genmake2) in output dir. |
64 |
|
- report run-time in each individual summary (previously only for AD test); |
65 |
|
for TLM test, add also TAF version. |
66 |
|
- add daily TLM test on (old) aces cluster + weekly test on baudelaire. |
67 |
|
|
68 |
|
checkpoint63r (2012/08/15) |
69 |
|
o tools/genmake2: |
70 |
|
- fix Makefile for target ftlall (+ update files to clean after make ftlall) |
71 |
|
o pkg/ecco/ecco_cost_final.F : |
72 |
|
- fix fc print statements (to stdout and costfunction0000) so |
73 |
|
that the printed value is always after the global sum. |
74 |
|
o pkg/seaice/seaice_dynsolver.F : |
75 |
|
- fix ice strength assymptote at SEAICE_area_max<1 |
76 |
|
(no change for the standard case of SEAICE_area_max=1) |
77 |
|
o some cleaning: |
78 |
|
- pkg source files: ensure that all *.F files from each pkg included the |
79 |
|
corresponding ${PKG}_OPTIONS.h file (except stand-alone src file which |
80 |
|
only includes CPP_EEOPTIONS.h); fix S/R CTRL_SMOOTH ; update AD experiment |
81 |
|
code_ad/*.F src files; add new option-file in pkg/admtlm + corresponding |
82 |
|
includes; |
83 |
|
- model/src: add PACKAGES_CONFIG.h wherever ALLOW_AUTODIFF[_TAMC] is used. |
84 |
|
- ALLOW_DIFFKR_CONTROL: add a stop in S/R CTRL_CHECK in case ALLOW_3D_DIFFKR |
85 |
|
is undef; also define /DYNVARS_DIFFKR/ common block in DYNVARS.h when |
86 |
|
ALLOW_DIFFKR_CONTROL is defined, to allow to compile and reach this stop. |
87 |
|
- update option-file CPP_OPTIONS.h of all AD experiments: |
88 |
|
* no longer include PACKAGES_CONFIG.h ; |
89 |
|
* includes ECCO_CPPOPTIONS.h if PACKAGES_CONFIG.h has been included ; |
90 |
|
* def/undef ALLOW_3D_DIFFKR independently of ALLOW_DIFFKR_CONTROL (before |
91 |
|
including ECCO_CPPOPTIONS.h). |
92 |
o pkg/cost, pkg/ctrl, pkg/ecco option-file: |
o pkg/cost, pkg/ctrl, pkg/ecco option-file: |
93 |
- 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 |
94 |
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, |