| 4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
| 5 |
============================== |
============================== |
| 6 |
|
|
| 7 |
o write_utils : change WRITE_1D_R8 to WRITE_1D_RL |
o pkg/seaice: |
| 8 |
and add 3 other S/R for other types (R4,R8,RS). |
- clean up the 3-time levels of UICE,VICE,HEFF,AREA in three steps: |
| 9 |
|
1. introduce fields for time step (N-1) |
| 10 |
|
2. do not use levels 2 and 3 anymore (but keep them) |
| 11 |
|
3. replace 3D versions of UICE,VICE,HEFF,AREA by 2D versions. This |
| 12 |
|
includes changes to pkg/thsice/thsice_get_velocity.F, |
| 13 |
|
model/src/external_forcing_surf.F, pkg/obcs/obcs_apply_seaice.F, and |
| 14 |
|
pkg/obcs/obcs_apply_uvice.F. |
| 15 |
|
- completely remove code for leap-frog time stepping for second order |
| 16 |
|
advection |
| 17 |
|
- adjusted adjoint accordingly; |
| 18 |
|
gradient checks have improved by an order of magnitude! |
| 19 |
|
|
| 20 |
|
checkpoint61q |
| 21 |
|
o pkg/seaice: fix bug in free slip boundary conditons for LSOR solver |
| 22 |
|
- the boundary conditions along open boundaries are unclear, because the |
| 23 |
|
associated masks are set to zero and are thus treated as closed when |
| 24 |
|
applying the slip-boundary conditions. |
| 25 |
|
- move initialisation of grid variables from seaice_init_varia to _fixed |
| 26 |
|
o adding doc/diags_changes.txt |
| 27 |
|
o model/src: |
| 28 |
|
do_the_model_io: rename few pkg S/R which are called from do_the_model_io, |
| 29 |
|
to avoid "_diags" naming if no relation to pkg/diagnostics. |
| 30 |
|
ini_theta,ini_salt: fix (at least compile the code) reading from NetCDF |
| 31 |
|
file and only call PLOT_FIELD_XYZ if debugMode=T. |
| 32 |
|
remove few PLOT_FIELD_XY calls outside initialisation. |
| 33 |
|
remove few unnecessary BARRIER. |
| 34 |
|
o pkg/salt_plume: add SaltPlumeSouthernOcean to allow disabling |
| 35 |
|
of salt_plume package in Southern Ocean |
| 36 |
|
o pkg/thsice: |
| 37 |
|
- fix hOceMxL in overlap (needed for sea-ice advection); |
| 38 |
|
update output of experiment global_ocean.cs32x15.icedyn. |
| 39 |
|
o pkg/seaice: |
| 40 |
|
- make the (placeholder-)tracer IceAge a little more meaningful |
| 41 |
|
by avoiding ridging of age due to convergent ice flow |
| 42 |
|
- add diagnostics for surface temperature, atmospheric and oceanic |
| 43 |
|
heat flux, and atmospheric and oceanic ice growth |
| 44 |
|
|
| 45 |
|
checkpoint61p |
| 46 |
|
o eesupp (global_max & global_sum): |
| 47 |
|
- add one more element to buffer (start at index 0) for GL_MAX/SUM output; |
| 48 |
|
- remove starting & endding barrier (no longer needed) |
| 49 |
|
o pkg/mdsio, writelocal: |
| 50 |
|
works also in multi-threaded when LOCBIN_IO_THREAD_SAFE is undefined |
| 51 |
|
(remove the STOP): uses shared buffer IO to store data from all threads |
| 52 |
|
and then let master-thread write nThreads tiles. |
| 53 |
|
o pkg/mdsio (read/write field): |
| 54 |
|
- tiled IO done in 1 piece (all levels at a time); |
| 55 |
|
- new header file "MDSIO_BUFF_3D.h" with 3-D buffers. |
| 56 |
|
- multi-threaded: allow to read/write local (non-shared) array |
| 57 |
|
(was already working with singleCpuIO ; now works also without); |
| 58 |
|
=> no longer needs barrier call after reading a file (added inside |
| 59 |
|
mds_read/write field). |
| 60 |
|
- move barrier calls outside gather/scatter_2d to mds_read/write_field |
| 61 |
|
o pkg/obcs/exf |
| 62 |
|
- exf_getffieldrec.F: add a few ". _d 0" and |
| 63 |
|
add code to catch the case fldperiod = 0. |
| 64 |
|
- obcs_precribe_read.F: change if statements so that they match |
| 65 |
|
the variable type (_RL) |
| 66 |
|
- add a separate exf_iprec_obcs to exf_set_obcs (by default equal to |
| 67 |
|
exf_iprec) as part of namelist EXF_NML_01 |
| 68 |
|
o pkg/mdsio: |
| 69 |
|
- read/write tiled (local) files: read/write 1-level tile chunk at a time |
| 70 |
|
(instead of segment of length sNx); expected to speed up tiled IO. |
| 71 |
|
o pkg/exch2: |
| 72 |
|
- take buffer copy from/to array out of S/R exch2_send/recv into new |
| 73 |
|
S/R exch2_put/get ; Exch of local variable now works with MPI+MTH |
| 74 |
|
(tested by removing commom block statement in SOLVE_FOR_PRESSURE.h). |
| 75 |
|
- ad version of send/recv no longer needed (but needs exch2_ad_put/ad_get) |
| 76 |
|
- simplify argument list of S/R exch2_get_uv_bounds and exch2_get_scal_bounds |
| 77 |
|
(which replaces exch2_get_recv_bounds & exch2_get_send_bounds) by |
| 78 |
|
including Topology header file (and common blocks). |
| 79 |
|
- implement EXCH_IGNORE_CORNERS in scalar exchange (rx1); |
| 80 |
|
remove 2nd exch call in exch2_s3d_rx (no longer needed). |
| 81 |
|
- document S/R arg. list (+ update some comments) |
| 82 |
|
o pkg/seaice: |
| 83 |
|
- added SEAICE_CLIM_AIR code, which permits modulation of surface air |
| 84 |
|
temperature and humidity over sea ice based on climatological values. |
| 85 |
|
- clean up computation of Hibler+Bryan (1987) stress coupling for the case |
| 86 |
|
of LSR (this change is expected to change the results slightly because now |
| 87 |
|
it uses slightly difference moduli from the second last LSR solution, but |
| 88 |
|
that is more consistent with the stress computations; this part of the code |
| 89 |
|
is not tested in the verification experiments) |
| 90 |
|
- fix diagnostics for flux of ice in case of B-grid |
| 91 |
|
- turn strain rates eij and press into global fields within global |
| 92 |
|
common block in SEAICE.h for more straighforward diagnostics |
| 93 |
|
- fix diagnostics for principal stress components, press, zeta, eta |
| 94 |
|
to give something meaning full |
| 95 |
|
o change tiling of global_ocean.cs32x15 (12 tiles, 32x16) and generate |
| 96 |
|
new output (all 4 tests) using default rotationPeriod. |
| 97 |
|
o pkg KPP: |
| 98 |
|
- add flag (LimitHblStable) to avoid limiting BL depth under stable conditions |
| 99 |
|
- fix vertical indices in RI_IWMIX (match between KPP grid from 0 to Nr+1 |
| 100 |
|
and normal grid from 1 to Nr) |
| 101 |
|
o Fix computations of L4rdt in mom_calc_visc.F |
| 102 |
|
o eesupp: |
| 103 |
|
new S/R ALL_PROC_DIE (like EEDIE, without irrelevant threads err msg): |
| 104 |
|
should be called before a "stop" if we know that all process are going |
| 105 |
|
to stop; if one Proc does call this S/R, will hang in MPI_FINALISE. |
| 106 |
|
|
| 107 |
|
checkpoint61o |
| 108 |
|
o pkg/exch2: change check_depths to issue just a warning (instead of error+stop) |
| 109 |
|
o model/src/ini_curvilinear_grid.F: |
| 110 |
|
compute angleSin/CosC when they are not read from a file |
| 111 |
|
o pkg/seaice: |
| 112 |
|
add pseudo time stepping for LSOR |
| 113 |
|
o pkg/exch2: |
| 114 |
|
temporary fix for exch2_s3d_rx; update results of exp. hs94.cs-32x32x5.impIGW |
| 115 |
|
o pkg/seaice: |
| 116 |
|
Adding separate sea ice albedo, drag coefficients, and HO in Southern |
| 117 |
|
Ocean from those in Arctic Ocean. See *_south in SEAICE_PARAMS.h |
| 118 |
|
o SingleCpuIO: |
| 119 |
|
fix bug put before chkp61n (May 11), when more than 2 MPI cpu are used. |
| 120 |
|
o pkg/seaice: |
| 121 |
|
put exchanged variable in (local) common block for MPI+Multi-Threads |
| 122 |
|
to work (necessary with exch1, and for now with exch2 too). |
| 123 |
|
o verification: to get more experiments tested with mpi, mth and mpi+mth, |
| 124 |
|
change tiling of: |
| 125 |
|
aim.5l_Equatorial_Channel, aim.5l_LatLon, dome, exp4, global_ocean.90x40x15, |
| 126 |
|
hs94.cs-32x32x5, MLAdjust, offline_exf_seaice & tutorial_plume_on_slope |
| 127 |
|
update output of exp: |
| 128 |
|
exp4, global_ocean.90x40x15(+.dwslp), MLAdjust(all 5), |
| 129 |
|
tutorial_plume_on_slope and hs94.cs-32x32x5 (use default rotationPeriod) |
| 130 |
|
+ ideal_2D_ocean: use default rotation period + test Global_Sum_SINGLECPU |
| 131 |
|
(note: output.txt generated on faulks using only 1 tile) |
| 132 |
|
o eesupp & mdsio (SingleCpuIO): |
| 133 |
|
- remove MISSING_TILE_IO (from MDSIO_OPTIONS.h), replaced by run-time |
| 134 |
|
parameter "W2_useE2ioLayOut" (read from file "data.exch2"). |
| 135 |
|
Note: was not effective for globalFile & useSingleCpuIO=F; now fixed. |
| 136 |
|
- move MDSIO_SCPU.h (pkg/mdsio) to EEBUFF_SCPU.h (eesupp/inc). |
| 137 |
|
- fix GLOBAL_SUM_SINGLECPU when using Exch2; re-use same buffers and same |
| 138 |
|
gather/scatter S/R as with SingleCpuIO (=> 1 less 2D global RL array). |
| 139 |
|
o pkg/exch2: |
| 140 |
|
- new code to set-up W2-Exch2 topology (replace matlab-topology-generator): |
| 141 |
|
read parameter file "data.exch2" if it exists; otherwise try default regular |
| 142 |
|
cube without blank-tile; new header file "W2_EXCH2_SIZE.h"; |
| 143 |
|
- update matlab-topology-generator (exch2_setup_cs6_print.m) to be compatible |
| 144 |
|
with new code (not to be used, just as a backup solution). |
| 145 |
|
- add examples (e.g., for lat-lon-cap_120) of parameter file "data.exch2" |
| 146 |
|
in utils/exch2/input. |
| 147 |
|
|
| 148 |
|
checkpoint61n |
| 149 |
|
o eesupp & mdsio (SingleCpuIO): |
| 150 |
|
- move mapping to global io-buffer inside gather_2d/scater_2d: this save |
| 151 |
|
memory (1 less 2D global RL array); skip 1 buffer copy; and only send/ |
| 152 |
|
receive real*4 array (instead of real*8) to read/write 32.bit files. |
| 153 |
|
(new template for gather_2d/scater_2d, new set of S/R MDS_PASS_R4,8toRL,S |
| 154 |
|
and remove new mapping S/R) |
| 155 |
|
o pkg/mdsio: in preparation for topology-generator within pkg/exch2: |
| 156 |
|
- Change declaration of SingleCpuIO buffer, reduced to only 1 dim.: |
| 157 |
|
xyBuffer_size, which is set to W2_ioBufferSize from W2_EXCH2_PARAMS.h |
| 158 |
|
when using exch2. Add S/R to map global io-buffer to global model array. |
| 159 |
|
- uses exch2_global_Nx,y instead of exch2_domain_nxt,nyt. |
| 160 |
|
|
| 161 |
|
checkpoint61m |
| 162 |
|
o write_utils : change WRITE_1D_R8 to WRITE_1D_RL |
| 163 |
|
and add 3 other S/R for other types (R4,R8,RS). |
| 164 |
Change calls to WRITE_0D/1D_R[4,8,S,L] to match the type of argument. |
Change calls to WRITE_0D/1D_R[4,8,S,L] to match the type of argument. |
| 165 |
o eesupp/inc/CPP_EEMACROS.h (EXCH & GLOBAL_SUM/MAX macros): |
o eesupp/inc/CPP_EEMACROS.h (EXCH & GLOBAL_SUM/MAX macros): |
| 166 |
- ensure suffix (_R4,_R8,_RS,_RL) correspondance between macro and S/R ; |
- ensure suffix (_R4,_R8,_RS,_RL) correspondance between macro and S/R ; |
| 167 |
- reduce number of macro definitions (keep only those which are used); |
- reduce number of macro definitions (keep only those which are used); |
| 168 |
can always call directly the corrresponding S/R if needed. |
can always call directly the corrresponding S/R if needed. |
| 169 |
- everywhere in the code: change macros (EXCH & GLOBAL_SUM/MAX) suffix |
- everywhere in the code: change macros (EXCH & GLOBAL_SUM/MAX) suffix |
| 170 |
_R4/_R8 to _RS/_RL when applied to _RS/_RL variable. |
_R4/_R8 to _RS/_RL when applied to _RS/_RL variable. |
| 171 |
Fixed wrong type of arg in: |
Fixed wrong type of arg in: |
| 172 |
atm2d/put_ocnvars.F cheapaml/cheapaml.F ocn_compon_interf/ocn_apply_import.F |
atm2d/put_ocnvars.F cheapaml/cheapaml.F ocn_compon_interf/ocn_apply_import.F |
| 173 |
ctrl/ctrl_map_ini_ecco.F seaice/seaice_do_diags.F seaice/seaice_model.F |
ctrl/ctrl_map_ini_ecco.F seaice/seaice_do_diags.F seaice/seaice_model.F |
| 174 |
To fix: global_sum of var in common block is wrong (multi-threaded) in: |
To fix: global_sum of var in common block is wrong (multi-threaded) in: |
| 175 |
dic/dic_atmos.F ebm/ebm_area_t.F ebm/ebm_zonalmean.F sbo/sbo_calc.F |
dic/dic_atmos.F ebm/ebm_area_t.F ebm/ebm_zonalmean.F sbo/sbo_calc.F |
| 176 |
To fix: aim_v23/aim_do_co2.F (BARRIER & GLOBAL_SUM within bi,bj loops) |
To fix: aim_v23/aim_do_co2.F (BARRIER & GLOBAL_SUM within bi,bj loops) |
| 177 |
o adjustment.cs-32x32x1: test "blank tiles" when compiling with mpi |
o adjustment.cs-32x32x1: test "blank tiles" when compiling with mpi; 2nd |
| 178 |
|
"nlfs" mpi test is going to stop when checking for unconnected tile egdes. |
| 179 |
o eesupp/src: new S/R to stop everyone when 1 (or more) Proc. find an error |
o eesupp/src: new S/R to stop everyone when 1 (or more) Proc. find an error |
| 180 |
o pkg/exch2: new S/R EXCH2_CHECK_DEPTHS to check that unconnected tile |
o pkg/exch2: new S/R EXCH2_CHECK_DEPTHS to check that unconnected tile |
| 181 |
edges are closed (zero depth); might happen with "blank tiles"; |
edges are closed (zero depth); might happen with "blank tiles"; |
| 182 |
for now, disable if using OBCS. |
for now, disabled if using OBCS. |
| 183 |
o tools/gemake2: delete modifs from March 27-29 2009 (with option "-mpi": |
o tools/gemake2: delete modifs from March 27-29 2009 (with option "-mpi": |
| 184 |
link *_mpi files from "MODS" dir) to return to a strait-forward behavior. |
link *_mpi files from "MODS" dir) to return to a strait-forward behavior. |
| 185 |
o move read_write.F to write_utils.F ; new parameter (maxLengthPrt1D) |
o move read_write.F to write_utils.F ; new parameter (maxLengthPrt1D) |