4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
o pkg/exf/exf_bulk_largeyeager04.F: rewrite for better vectorization, changes |
o pkg/ggl90: minor changes |
8 |
|
- GGL90diffKrS was removed --> always use GGL90diffKr |
9 |
|
- GGL90viscAr was removed --> replaced with GGL90viscArU, GGL90viscArV |
10 |
|
- hack of mxlMaxFlag=2 --> ensure mixing between first and second level (commented out for now) |
11 |
|
- change in max/min operations to ensure that smoothing is ok |
12 |
|
- smoothing of GGL90viscAr was moved to ggl90_calc.F (as done for GGL90diffKr) |
13 |
|
- always use diffKrNrT as background profile (i.e. never use diffKr field) |
14 |
|
o pkg/cfc: bug fix, AREA(i,j,1,bi,bj) -> AREA(i,j,bi,bj) |
15 |
|
o pkg/dic: |
16 |
|
- model/src/impldiff.F: if TARGET_NEC_SX, extend loop ranges for better |
17 |
|
vectorization |
18 |
|
- small bug fix in insol for the unlikely case of a cartesian grid |
19 |
|
- towards vectorizing the dic package: bio_export.F, car_flux.F, phos_flux.F |
20 |
|
+ now vectorize, which also removes adjoint recomputations; |
21 |
|
+ replace integer maksp1 by _RL maskp1 |
22 |
|
+ replace a**x by exp(x*log(a)) in phos_flux.F for speed |
23 |
|
|
24 |
|
checkpoint62i (2010/07/21) |
25 |
|
o pkg/flt: |
26 |
|
- with OBCS: stop floats which enter the OB region |
27 |
|
o model/src: |
28 |
|
- use tempVertAdvScheme & saltVertAdvScheme (instead of horizontal ones) |
29 |
|
for implicit vertical advection. |
30 |
|
o pkg/seaice: |
31 |
|
- account for melting in seaice age evolution. |
32 |
|
- remove double counting of seaice ridging effect on seaice age. |
33 |
|
|
34 |
|
checkpoint62h (2010/06/18) |
35 |
|
o pkg/exch2: |
36 |
|
- remove exch2_*xy_rx files: call was replaced with exch2_*3d_rx(myNz=1). |
37 |
|
o tools/genmake2 |
38 |
|
- remove "-pdefault" option: redundant with the use of "packages.conf"; |
39 |
|
- remove file pkg/pkg_default : set the default as a pkg group |
40 |
|
("default_pkg_list") defined in pkg/pkg_groups; |
41 |
|
- fix for case pkg/pkg_depend is missing (was hanging before); |
42 |
|
- add option "-pgroups" to specify a different pkg_groups than the default. |
43 |
|
o verification/adjustment.cs-32x32x1: |
44 |
|
add a "minimal" set-up test (code_min & input_min) which only compiles |
45 |
|
eesupp/src and the 2 pkgs (exch2 & debug) which don't need model/src & inc. |
46 |
|
o tools/genmake2 |
47 |
|
- extend pkg_depend rules to model & eesupp (e.g., if model depend on [pkg])) |
48 |
|
- fix details of checking for mnc & profile pkg when NetCDF is unavailable. |
49 |
|
o pkg/exf: merge exf_bulk_largeyeager04 into exf_bulkformulae because these |
50 |
|
files are nearly the same anyway. |
51 |
|
Step 1: make exf_bulkformulae look like exf_bulk_largeyeager04: |
52 |
|
- redefinition of tau(i,i) (by a factor of ustar) |
53 |
|
- 1./exf(Const/T) -> exf(-Const/T) (big change in the results) |
54 |
|
- replace rhonil by rhoConstFresh in computation of evap (bug fix) |
55 |
|
- replace u/vstress=tau*rd*ws*cw by tau*rd*u/vwind (changes results) |
56 |
|
- replace |
57 |
|
rd(i,j)= rdn(i,j)/(exf_one - rdn(i,j)/karman*psimh ) |
58 |
|
shn = sh(i,j,bi,bj)*rd(i,j)/rdn(i,j) |
59 |
|
by |
60 |
|
shn = sh(i,j,bi,bj)/(exf_one - rdn(i,j)/karman*psimh ) |
61 |
|
(changes results) |
62 |
|
-> exf_bulkformulae v1.22, |
63 |
|
update verification experiments lab_sea, offline_exf_seaice, seaice_obcs |
64 |
|
(lab_sea: output.hb87.txt 1.11, output.lsr.txt 1.25, output.salt_plume.txt 1.13, |
65 |
|
output.txt 1.63 |
66 |
|
offline_exf_seaice: output.seaicetd.txt 1.7 |
67 |
|
seaice_obcs: output.txt 1.10) |
68 |
|
Step 2: do the actual merge and remove exf_bulk_largeyeager04.F |
69 |
|
-> exf_bulkformulae v1.23, |
70 |
|
unfortunately requires updating lab_sea.salt_plume (6 matching digits), |
71 |
|
and global_ocean.cs32x15.icedyn (only 11 matching digits) |
72 |
|
Also update output_adm of exp. lab_sea (all 4) and offline_exf_seaice. |
73 |
|
o adjoint of exch-1: |
74 |
|
- pass high-level EXCH S/R through TAF (eesupp/src/exch_ad_diff.list) |
75 |
|
(note: was already like this when using EXCH-2) and remove flow dir |
76 |
|
and hand-written AD version of high-level EXCH S/R (pkg/autodiff); |
77 |
|
- provide flow-dir for low-level exch1 S/R (eesupp/src/exch1_ad.flow); |
78 |
|
- update pkg/exch2 diff list. |
79 |
|
|
80 |
|
checkpoint62g (2010/05/19) |
81 |
|
o eesupp/src (exch-1): |
82 |
|
- split exch_rx.F into Forward S/R (exch1_rx.F) and Adjoint S/R (exch1_rx_ad.F) |
83 |
|
and remove argument "simulationMode"; same thing for all exch_*rx_cube.F |
84 |
|
(renamed to exch1_*rx_cube.F). |
85 |
|
- change accordingly exch_*_rx.template and AD version in pkg/autodiff |
86 |
|
to call new exch1 S/R ; update Makefile and .cvsignore. |
87 |
|
- replace call to exch2_xy_rx S/R with exch2_*3d_rx(myNz=1) (will remove |
88 |
|
exch2_xy_rx later) |
89 |
|
Note: after updating your code, need to run "make clean" in eesupp/src |
90 |
|
o test experiment bottom_ctrl_5x5: |
91 |
|
new output_adm.txt with fewer grdchk & less monitor output. |
92 |
|
o model/src: |
93 |
|
remove the call to ini_cori in initialise_varia.F (just keep the usual one |
94 |
|
in initialise_fixed.F). More consistent with coriolis & horizontal grid |
95 |
|
beeing treated in the same way (ini_grid is not called a 2nd time). |
96 |
|
o pkg/exf: |
97 |
|
- rewrite exf_bulk_largeyeager04.F for better vectorization, changes |
98 |
global_ocean.cs32x15/input.icedyn (11 digits of agreement), updated |
global_ocean.cs32x15/input.icedyn (11 digits of agreement), updated |
99 |
|
- fix adjoint (used worked for ALLOW_ATM_WIND defined, works for this now) |
100 |
|
- cosmetic changes to exf_bulkformulae.F to make it look more like |
101 |
|
exf_bulk_largeyeager04.F |
102 |
o eesupp/src (exch-1): |
o eesupp/src (exch-1): |
103 |
- Fix AD EXCH code for 2-D domain special cases (Nx=1 or Ny=1). |
- Fix AD EXCH code for 2-D domain special cases (Nx=1 or Ny=1). |
104 |
- Separate buffer filling and MPI sending: allow EXCH-1 to work for local |
- Separate buffer filling and MPI sending: allow EXCH-1 to work for local |
107 |
- Message mode: move RecvAck setting (indicator of buffer being ready) |
- Message mode: move RecvAck setting (indicator of buffer being ready) |
108 |
from send_put to recv_get S/R (was useless before, but not sure if |
from send_put to recv_get S/R (was useless before, but not sure if |
109 |
it's much more useful now); |
it's much more useful now); |
110 |
- switch the order of sync: MPI-proc 1rst and then threads; |
- Switch the order of sync: MPI-proc 1rst and then threads; |
111 |
- take out spin-waiting code (#undef EXCH_USE_SPINNING), use BARRIER instead. |
- take out spin-waiting code (#undef EXCH_USE_SPINNING), use BARRIER instead. |
112 |
|
- fix AD code for communication mode ='get' (but not used). |
113 |
o model/src: |
o model/src: |
114 |
initialise dPhiHydX,dPhiHydY inside calc_grad_phi_hyd.F (so that TAF does |
initialise dPhiHydX,dPhiHydY inside calc_grad_phi_hyd.F (so that TAF does |
115 |
not drop it in S/R mddynamics, producing NaN in hs94.1x64x5 AD-test exp). |
not drop it in S/R mddynamics, producing NaN in hs94.1x64x5 AD-test exp). |