4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o verification/adjustment.cs-32x32x1: |
8 |
|
add a "minimal" set-up test (code_min & input_min) which only compiles |
9 |
|
eesupp/src and the 2 pkgs (exch2 & debug) which don't need model/src & inc. |
10 |
|
o tools/genmake2 |
11 |
|
- extend pkg_depend rules to model & eesupp (e.g., if model depend on [pkg])) |
12 |
|
- fix details of checking for mnc & profile pkg when NetCDF is unavailable. |
13 |
|
o pkg/exf: merge exf_bulk_largeyeager04 into exf_bulkformulae because these |
14 |
|
files are nearly the same anyway. |
15 |
|
Step 1: make exf_bulkformulae look like exf_bulk_largeyeager04: |
16 |
|
- redefinition of tau(i,i) (by a factor of ustar) |
17 |
|
- 1./exf(Const/T) -> exf(-Const/T) (big change in the results) |
18 |
|
- replace rhonil by rhoConstFresh in computation of evap (bug fix) |
19 |
|
- replace u/vstress=tau*rd*ws*cw by tau*rd*u/vwind (changes results) |
20 |
|
- replace |
21 |
|
rd(i,j)= rdn(i,j)/(exf_one - rdn(i,j)/karman*psimh ) |
22 |
|
shn = sh(i,j,bi,bj)*rd(i,j)/rdn(i,j) |
23 |
|
by |
24 |
|
shn = sh(i,j,bi,bj)/(exf_one - rdn(i,j)/karman*psimh ) |
25 |
|
(changes results) |
26 |
|
-> exf_bulkformulae v1.22, |
27 |
|
update verification experiments lab_sea, offline_exf_seaice, seaice_obcs |
28 |
|
(lab_sea: output.hb87.txt 1.11, output.lsr.txt 1.25, output.salt_plume.txt 1.13, |
29 |
|
output.txt 1.63 |
30 |
|
offline_exf_seaice: output.seaicetd.txt 1.7 |
31 |
|
seaice_obcs: output.txt 1.10) |
32 |
|
Step 2: do the actual merge and remove exf_bulk_largeyeager04.F |
33 |
|
-> exf_bulkformulae v1.23, |
34 |
|
unfortunately requires updating lab_sea.salt_plume (6 matching digits), |
35 |
|
and global_ocean.cs32x15.icedyn (only 11 matching digits) |
36 |
|
Also update output_adm of exp. lab_sea (all 4) and offline_exf_seaice. |
37 |
|
o adjoint of exch-1: |
38 |
|
- pass high-level EXCH S/R through TAF (eesupp/src/exch_ad_diff.list) |
39 |
|
(note: was already like this when using EXCH-2) and remove flow dir |
40 |
|
and hand-written AD version of high-level EXCH S/R (pkg/autodiff); |
41 |
|
- provide flow-dir for low-level exch1 S/R (eesupp/src/exch1_ad.flow); |
42 |
|
- update pkg/exch2 diff list. |
43 |
|
|
44 |
|
checkpoint62g (2010/05/19) |
45 |
|
o eesupp/src (exch-1): |
46 |
|
- split exch_rx.F into Forward S/R (exch1_rx.F) and Adjoint S/R (exch1_rx_ad.F) |
47 |
|
and remove argument "simulationMode"; same thing for all exch_*rx_cube.F |
48 |
|
(renamed to exch1_*rx_cube.F). |
49 |
|
- change accordingly exch_*_rx.template and AD version in pkg/autodiff |
50 |
|
to call new exch1 S/R ; update Makefile and .cvsignore. |
51 |
|
- replace call to exch2_xy_rx S/R with exch2_*3d_rx(myNz=1) (will remove |
52 |
|
exch2_xy_rx later) |
53 |
|
Note: after updating your code, need to run "make clean" in eesupp/src |
54 |
|
o test experiment bottom_ctrl_5x5: |
55 |
|
new output_adm.txt with fewer grdchk & less monitor output. |
56 |
|
o model/src: |
57 |
|
remove the call to ini_cori in initialise_varia.F (just keep the usual one |
58 |
|
in initialise_fixed.F). More consistent with coriolis & horizontal grid |
59 |
|
beeing treated in the same way (ini_grid is not called a 2nd time). |
60 |
|
o pkg/exf: |
61 |
|
- rewrite exf_bulk_largeyeager04.F for better vectorization, changes |
62 |
|
global_ocean.cs32x15/input.icedyn (11 digits of agreement), updated |
63 |
|
- fix adjoint (used worked for ALLOW_ATM_WIND defined, works for this now) |
64 |
|
- cosmetic changes to exf_bulkformulae.F to make it look more like |
65 |
|
exf_bulk_largeyeager04.F |
66 |
|
o eesupp/src (exch-1): |
67 |
|
- Fix AD EXCH code for 2-D domain special cases (Nx=1 or Ny=1). |
68 |
|
- Separate buffer filling and MPI sending: allow EXCH-1 to work for local |
69 |
|
array (non-shared) when using MPI+MTH. Also reduces number of BARRIER |
70 |
|
(even without using MPI). |
71 |
|
- Message mode: move RecvAck setting (indicator of buffer being ready) |
72 |
|
from send_put to recv_get S/R (was useless before, but not sure if |
73 |
|
it's much more useful now); |
74 |
|
- Switch the order of sync: MPI-proc 1rst and then threads; |
75 |
|
- take out spin-waiting code (#undef EXCH_USE_SPINNING), use BARRIER instead. |
76 |
|
- fix AD code for communication mode ='get' (but not used). |
77 |
|
o model/src: |
78 |
|
initialise dPhiHydX,dPhiHydY inside calc_grad_phi_hyd.F (so that TAF does |
79 |
|
not drop it in S/R mddynamics, producing NaN in hs94.1x64x5 AD-test exp). |
80 |
|
o utils/matlab/rdmnc.m: adapt to be able to use the generic matlab netcdf API |
81 |
o pkg/ctrl: require a specific set of control variables and exf-flags for |
o pkg/ctrl: require a specific set of control variables and exf-flags for |
82 |
adjoint of seaice (stop in ctrl_check.F if conditions are not satisfied) |
adjoint of seaice (stop in ctrl_check.F if conditions are not satisfied) |
83 |
o model/src: |
o model/src: |