/[MITgcm]/MITgcm/model/src/the_main_loop.F
ViewVC logotype

Log of /MITgcm/model/src/the_main_loop.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (annotate)
Links to checkpoint58b_post: (view) (download) (annotate)
Sticky Tag:

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Thu Dec 22 01:08:57 2005 UTC (18 years, 4 months ago) by ce107
Branch: MAIN
CVS Tags: checkpoint57z_post, checkpoint58, checkpoint58a_post, checkpoint58b_post, checkpoint58c_post
Changes since 1.66: +55 -1 lines
Diff to previous 1.66
Updated code to provide timing information per timestep to include cases
where there is no pressure solve by moving the code to the main loop.
Modified the timing in the pressure solver for the case where TAF needs
to be fooled. Added support for PAPI summary MFlop/s information per
timestep along side the simple (user/system/wallclock) timing. To use
PAPI one currently needs to have declared PAPIINC and PAPILIB in the
optfile for the include and library linking stings.


Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Thu Dec 8 15:44:34 2005 UTC (18 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57y_post
Changes since 1.65: +8 -3 lines
Diff to previous 1.65
First step for a NLFS adjoint
o initially suppress rStar (new flag DISABLE_RSTAR_CODE)
o new init. routines for calc_r_star, calc_surf_dr
o still need to deal with ini_masks_etc
o testreport seemed happy


Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Wed Nov 9 19:54:23 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57x_post, checkpoint57y_pre
Changes since 1.64: +1 -4 lines
Diff to previous 1.64
remove the include CG3D.h (not needed)


Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Fri Nov 4 01:19:24 2005 UTC (18 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.63: +4 -2 lines
Diff to previous 1.63
remove unused variables (reduces number of compiler warning)


Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Wed Aug 10 03:34:48 2005 UTC (18 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpint57u_post, checkpoint57q_post, checkpoint57r_post, checkpoint57s_post, checkpoint57t_post, checkpoint57v_post, checkpoint57w_post
Changes since 1.62: +29 -9 lines
Diff to previous 1.62
Implement 4-level checkpointing.
Needed for high-res. runs with large global files to be able to
limit tapelev size (otherwise a potential show-stopper).


Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Tue May 31 18:24:28 2005 UTC (18 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint57i_post, checkpoint57j_post, checkpoint57k_post, checkpoint57l_post, checkpoint57m_post, checkpoint57n_post, checkpoint57o_post, checkpoint57p_post
Changes since 1.61: +13 -1 lines
Diff to previous 1.61
New package for controlling termination of the model based on the wall clock:
This is handy for those of us who keep losing 5000 cpuhours because the model
took 5 minutes longer than it did the day before.

To use:
 In package.conf, add   runclock
 In data.pkg, add       useRunClock=.TRUE.
 Add data.runclock to read
    &RUNCLOCK
    RC_maxtime_hr=2,
    RC_maxtime_mi=30,
    RC_maxtime_sc=0,
    &

The package also write the delta Wall Clock between each model step.
Who can explain a 30% slow down after 60 iterations? Who even knew about it?
Now you can find out lots of dark secrets about the EM EYE TEE GEE SEE EM...


Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Wed Apr 6 18:29:53 2005 UTC (19 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint57f_post, checkpoint57g_post, checkpoint57g_pre, checkpoint57h_done, checkpoint57h_post, checkpoint57h_pre
Changes since 1.60: +3 -3 lines
Diff to previous 1.60
use baseTime as time origin ; DIFF_BASE_MULTIPLE replaces DIFFERENT_MULTIPLE


Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sun Apr 3 11:38:44 2005 UTC (19 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57f_pre
Changes since 1.59: +3 -1 lines
Diff to previous 1.59
Adding calls to AUTODIFF_INADMODE_SET/UNSET


Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Thu Feb 10 05:39:29 2005 UTC (19 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint57d_post, checkpoint57e_post, eckpoint57e_pre
Changes since 1.58: +10 -3 lines
Diff to previous 1.58
Add hooks for inAdExact.


Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Fri Dec 3 00:40:40 2004 UTC (19 years, 5 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint56c_post, checkpoint57, checkpoint57a_post, checkpoint57a_pre, checkpoint57b_post, checkpoint57c_post, checkpoint57c_pre
Changes since 1.57: +8 -2 lines
Diff to previous 1.57
include GMREDI_OPTIONS.h and SEAICE_OPTIONS.h


Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Thu Oct 14 05:22:21 2004 UTC (19 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint55g_post, checkpoint55h_post, checkpoint55i_post, checkpoint55j_post, checkpoint56, checkpoint56a_post, checkpoint56b_post
Changes since 1.56: +2 -1 lines
Diff to previous 1.56
o Fixing directives for non-ECCO forward_step, after ECCO directives
  have been fixed to avoid recomp. of do_oceanic_phys
o Works well for global_ocean.90x40x15,
  but recomp. issue remains for carbon


Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Fri Oct 8 17:25:37 2004 UTC (19 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint55d_post, checkpoint55d_pre, checkpoint55e_post, checkpoint55f_post
Changes since 1.55: +21 -25 lines
Diff to previous 1.55
switch btw. 2-level and 3-level checkpointing


Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Mon Sep 27 18:00:19 2004 UTC (19 years, 7 months ago) by heimbach
Branch: MAIN
Changes since 1.54: +1 -10 lines
Diff to previous 1.54
extend simple cost functions to treat time mean quantities
o cost_tile called from forward_step
o cost_accumulate_state called from cost_tile


Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Fri Sep 17 23:02:00 2004 UTC (19 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint55, checkpoint55a_post, checkpoint55b_post, checkpoint55c_post
Changes since 1.53: +1 -4 lines
Diff to previous 1.53
o bringing adjoint up to date for sheduled c55


Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Wed Sep 1 16:25:06 2004 UTC (19 years, 8 months ago) by stephd
Branch: MAIN
CVS Tags: checkpoint54e_post, checkpoint54f_post
Changes since 1.52: +9 -1 lines
Diff to previous 1.52
o adding offline package


Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Tue Jul 13 16:48:48 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint54c_post, checkpoint54d_post
Changes since 1.51: +3 -5 lines
Diff to previous 1.51
max number of passive tracers is now defined in PTRACERS_SIZE.h


Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Fri May 21 21:45:35 2004 UTC (19 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint53c_post, checkpoint53d_post, checkpoint53d_pre, checkpoint53f_post, checkpoint53g_post, checkpoint54, checkpoint54a_post, checkpoint54a_pre, checkpoint54b_post
Changes since 1.50: +5 -1 lines
Diff to previous 1.50
o Adjoint for EBM package (needs further testing)
o bug fix for parallel EBM in ebm_zonalmean.F


Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Mon Mar 1 19:13:58 2004 UTC (20 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint52l_post, checkpoint52l_pre, checkpoint52m_post, checkpoint52n_post, checkpoint53, checkpoint53a_post, checkpoint53b_post, checkpoint53b_pre, hrcube5
Changes since 1.49: +4 -1 lines
Diff to previous 1.49
o couple of small AD fixes


Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Wed Feb 18 22:30:40 2004 UTC (20 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint52j_post, checkpoint52k_post
Changes since 1.48: +3 -3 lines
Diff to previous 1.48
Really weird thing!
call do_the_model_io from the_main_loop with parameters
starttime, niter0 instead of mytime, myiter screws up the adjoint:
TAF places a faulty re-call of initialise_varia
after cost call which shouldn't be there!


Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Tue Nov 25 23:29:30 2003 UTC (20 years, 5 months ago) by heimbach
Branch: MAIN
CVS Tags: branch-netcdf, checkpoint52c_post, checkpoint52d_post, checkpoint52d_pre, checkpoint52e_post, checkpoint52e_pre, checkpoint52f_post, checkpoint52f_pre, checkpoint52h_pre, checkpoint52i_post, checkpoint52i_pre, checkpoint52j_pre, hrcube4, hrcube_1, hrcube_2, hrcube_3
Branch point for: netcdf-sm0
Changes since 1.47: +3 -3 lines
Diff to previous 1.47
For some unknown reason calls to MONITOR and DO_THE_MODEL_IO
now change the ADTHE_MAIN_LOOP parameter list.
Weird!
This fixes it.


Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Thu Nov 20 03:41:20 2003 UTC (20 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint52b_post, checkpoint52b_pre
Changes since 1.46: +10 -10 lines
Diff to previous 1.46
call DO_THE_MODEL_IO (replaces "call WRITE_STATE") just before starting


Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Thu Nov 20 02:26:18 2003 UTC (20 years, 6 months ago) by heimbach
Branch: MAIN
Changes since 1.45: +4 -1 lines
Diff to previous 1.45
o sort out interplay between tamc.h and PTRACERS_OPTIONS.h
  (need info on NUMBER_OF_PTRACERS)
o missing PTRACERS headers in some routines
o default tamc.h in pkg/autodiff supposed to crash
  to ensure proper customization


Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Thu Nov 6 22:01:43 2003 UTC (20 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint51u_post, checkpoint52, checkpoint52a_post, checkpoint52a_pre, ecco_c52_e35
Changes since 1.44: +12 -8 lines
Diff to previous 1.44
o merging from ecco-branch
o minor CPP options update


Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Tue Nov 4 18:40:58 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51s_post, checkpoint51t_post
Changes since 1.43: +7 -7 lines
Diff to previous 1.43
 o cleanup: convert '#ifndef DISABLE_DEBUGMODE"' to '#ifdef ALLOW_DEBUG"'


Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Nov 3 22:40:22 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42
 o convert all the '#ifndef "EXCLUDE_MONITOR"'-isms to the now-standard
   '#ifdef "ALLOW_MONITOR"' format as is done with all the other packages
   - note that this also means removal of the monitor package from the
     packages.conf list for the AD examples


Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat Nov 1 04:50:02 2003 UTC (20 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51r_post
Branch point for: branch-nonh
Changes since 1.41: +3 -3 lines
Diff to previous 1.41
 o convert all "INCLUDE_EXTERNAL_FORCING_PACKAGE" defines to the
   more consistent ALLOW_EXF
 o passed all the basic verification tests on shelley


Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Thu Oct 30 18:44:26 2003 UTC (20 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint51q_post
Changes since 1.40: +4 -1 lines
Diff to previous 1.40
modified pkg/cd_code
o moved cd_scheme.F -> cd_code_scheme.F
o separate read_checkpoint from cd_code_ini_vars.F
o separated cd_code part from write_checkpoint
o updated AD_SOURCE, generated .flow
o added CD_CODE_VARS.h to the_main_loop


Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Thu Oct 9 04:19:18 2003 UTC (20 years, 7 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint51i_post, checkpoint51k_post, checkpoint51l_post, checkpoint51l_pre, checkpoint51m_post, checkpoint51n_post, checkpoint51n_pre, checkpoint51o_post, checkpoint51o_pre, checkpoint51p_post
Branch point for: checkpoint51n_branch, tg2-branch
Changes since 1.39: +4 -1 lines
Diff to previous 1.39
 o first check-in for the "branch-genmake2" merge
 o verification suite as run on shelley (gcc 3.2.2):

Wed Oct  8 23:42:29 EDT 2003
                T           S           U           V
G D M    c        m  s        m  s        m  s        m  s
E p a R  g  m  m  e  .  m  m  e  .  m  m  e  .  m  m  e  .
N n k u  2  i  a  a  d  i  a  a  d  i  a  a  d  i  a  a  d
2 d e n  d  n  x  n  .  n  x  n  .  n  x  n  .  n  x  n  .

OPTFILE=NONE

Y Y Y Y 13 16 16 16  0 16 16 16 16 16 16 16 16 13 12  0  0 pass  adjustment.128x64x1
Y Y Y Y 16 16 16 16  0 16 16 16 16 16 16  0  0 16 16  0  0 pass  adjustment.cs-32x32x1
Y Y Y Y 16 16 16 16  0 16 16 16 16 16 16 22  0 16 16 22  0 pass  adjust_nlfs.cs-32x32x1
Y Y Y Y -- 13 13 16 16 13 13 13 13 16 16 16 16 16 16 16 16 N/O   advect_cs
Y Y Y Y -- 22 16 16 16 16 16 16 13 16 16 16 16 16 16 16 16 N/O   advect_xy
Y Y Y Y -- 13 16 13 16 16 16 16 16 16 16 22 16 16 16 16 16 N/O   advect_xz
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  aim.5l_cs
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 16 16 16 16 13 16 pass  aim.5l_Equatorial_Channel
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 13 16 16 13 13 16 pass  aim.5l_LatLon
Y Y Y Y 13 16 16 16 16 16 16 16 16 16 13 12 13 13 16 13 16 pass  exp0
Y Y Y Y 14 16 16 16 16 16 16 16 22 16 16 16 13 16 16 22 16 pass  exp1
Y Y Y Y 13 13 16 13 16 16 16 16 16 13 13 16 16 13 13 13 13 pass  exp2
Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass  exp4
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 22 16 16 16 22 16 pass  exp5
Y Y Y Y 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 pass  front_relax
Y Y Y Y 14 16 16 13 13 16 16 13 13 16 13 13 16 12 13 13 16 pass  global_ocean.90x40x15
Y Y Y Y 10 16 16 13 13 16 13 16 16 13 13 13 13 16 16 13 16 FAIL  global_ocean.cs32x15
Y Y Y Y  6 11 12 13 13 12 13 16 13  9  9  9  9 10  9  9 11 FAIL  global_ocean_pressure
Y Y Y Y 14 16 16 13 16 16 16 13 13 13 13 13 16 12 16 13 16 pass  global_with_exf
Y Y Y Y 14 16 16 16 16 16 16 16 16 11 13 22 13 16 16  9 16 pass  hs94.128x64x5
Y Y Y Y 13 16 16 16 16 16 16 16 16 11 16 16 16 13 16 22 13 pass  hs94.1x64x5
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 16 13 13 16 16 22 13 pass  hs94.cs-32x32x5
Y Y Y Y 10 10 16 13 13 16 16 16 22 16 13 13 13 13 13 22 13 FAIL  ideal_2D_oce
Y Y Y Y  8 16 16 16 16 16 16 16 16 13 13  8 16 16 16 16 16 FAIL  internal_wave
Y Y Y Y 14 16 16 16 16 16 16 16 16 13 13 22 13 13 13 22 16 pass  inverted_barometer
Y Y Y Y 12 16 16 16 16 16 16 16 16 16 13 12 13 13 13 13 13 FAIL  lab_sea
Y Y Y Y 11 16 16 16 16 16 16 16 13 13 13 12 13 16 13 12 13 FAIL  natl_box
Y Y Y Y 16 16 16 16 16 16 16 16 22 16 16 16 16 16 16 16 16 pass  plume_on_slope
Y Y Y Y 13 16 16 16 16 13 16 16 16 16 16 16 16 13 16 16 16 pass  solid-body.cs-32x32x1


Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 03:01:59 2003 UTC (20 years, 7 months ago) by dimitri
Branch: MAIN
CVS Tags: branchpoint-genmake2, checkpoint51f_post, checkpoint51g_post, checkpoint51h_pre, checkpoint51i_pre, checkpoint51j_post
Branch point for: branch-genmake2
Changes since 1.38: +1 -4 lines
Diff to previous 1.38
o Mods and bug fixes to pkg/cal, pkg/exf, etc., needed for computation
  of tracer Green's fucntions for ocean inversion project.


Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Fri Jun 27 01:51:10 2003 UTC (20 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint51b_post, checkpoint51c_post, checkpoint51d_post, checkpoint51e_post, checkpoint51f_pre
Changes since 1.37: +11 -1 lines
Diff to previous 1.37
o disentangled ALLOW_PTRACERS using new ALLOW_GCHEM


Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Tue May 13 17:42:00 2003 UTC (21 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint50e_post, checkpoint50e_pre, checkpoint50f_post, checkpoint50f_pre, checkpoint50g_post, checkpoint50h_post, checkpoint50i_post, checkpoint51, checkpoint51a_post, checkpoint51b_pre
Changes since 1.36: +22 -1 lines
Diff to previous 1.36
Extended pkg/debug and instrumented main code to help track down fatal
errors.


Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri Mar 7 23:48:41 2003 UTC (21 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint50, checkpoint50a_post, checkpoint50b_post, checkpoint50b_pre, checkpoint50c_post, checkpoint50c_pre, checkpoint50d_post, checkpoint50d_pre
Changes since 1.35: +7 -6 lines
Diff to previous 1.35
cleanup.


Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Mar 5 23:39:53 2003 UTC (21 years, 2 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint49
Changes since 1.34: +29 -6 lines
Diff to previous 1.34
Modif.s for correct DIVA handling:
  Modif.s in
  - ecco_the_main_loop.F
  - ecco_the_model_main.F
  and added cost_final_restore.F cost_final_store.F
  o With these changes, it is possible to fully separate
    the first forward run to compute the cost function (mdthe_main_loop)
    and adjoint runs over individual DIVA intervals (adthe_main_loop)
    into separate model executions.
    This enables better tuning of DIVA to given queue sizes.
  o Loss of cost function value in consecutive DIVA runs is
    fixed by storing to 'costfinal' file.
  o Appropriate call of ctrl_unpack/_pack,grdchk_main at
    beginning/end of adjoint integration is accounted for.
  The current changes apply to TAF-1.4.26.
  TAF has one remaining bug, requiring one manual change
  (see MITgcm manual).


Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Tue Feb 18 05:33:54 2003 UTC (21 years, 3 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint48f_post, checkpoint48g_post, checkpoint48h_post, checkpoint48i_post
Changes since 1.33: +1 -3 lines
Diff to previous 1.33
Merging from release1_p12:
o Modifications for using pkg/exf with pkg/seaice
  - improved description of the various forcing configurations
  - added basic radiation bulk formulae to pkg/exf
  - units/sign fix for evap computation in exf_getffields.F
  - updated verification/global_with_exf/results/output.txt
o Added pkg/sbo for computing IERS Special Bureau for the Oceans
  (SBO) core products, including oceanic mass, center-of-mass,
  angular, and bottom pressure (see pkg/sbo/README.sbo).
o Lower bound for viscosity/diffusivity in pkg/kpp/kpp_routines.F
  to avoid negative values in shallow regions.
  - updated verification/natl_box/results/output.txt
  - updated verification/lab_sea/results/output.txt
o MPI gather, scatter: eesupp/src/gather_2d.F and scatter_2d.F
o Added useSingleCpuIO option (see PARAMS.h).
o Updated useSingleCpuIO option in mdsio_writefield.F to
  work with multi-field files, e.g., for single-file pickup.
o pkg/seaice:
  - bug fix in growth.F: QNET for no shortwave case
  - added HeffFile for specifying initial sea-ice thickness
  - changed SEAICE_EXTERNAL_FLUXES wind stress implementation
o Added missing /* */ to CPP comments in pkg/seaice, pkg/exf,
  kpp_transport_t.F, forward_step.F, and the_main_loop.F
o pkg/seaice:
  - adjoint-friendly modifications
  - added a SEAICE_WRITE_PICKUP at end of the_model_main.F


Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Thu Feb 6 22:42:11 2003 UTC (21 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint48c_post, checkpoint48d_post, checkpoint48d_pre, checkpoint48e_post
Changes since 1.32: +1 -6 lines
Diff to previous 1.32
Modifications in treatment of initial flux forcing controls
to avoid extra storing of flux fields.


Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Fri Jan 10 23:41:15 2003 UTC (21 years, 4 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint47h_post, checkpoint47i_post, checkpoint47j_post, checkpoint48, checkpoint48a_post, checkpoint48b_post, checkpoint48c_pre
Changes since 1.31: +2 -1 lines
Diff to previous 1.31
o few modif.'s to get latest version adjointed
  (mainly kick out code in ini_linear_phisurf)
o modif's to run adjoint with exactConserv
o case GM_BOLUS_ADVEC should be cleaned
  S/R gmredi_slope_psi should be cleaned
o verification/carbon now has exactConserv=.TRUE.


Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Dec 28 10:11:10 2002 UTC (21 years, 4 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint47f_post, checkpoint47g_post
Changes since 1.30: +10 -1 lines
Diff to previous 1.30
checkpoint47f_post
Merging from release1_p10:
o modifications for using pkg/exf with pkg/seaice
  - pkg/seaice CPP options SEAICE_EXTERNAL_FORCING
    and SEAICE_EXTERNAL_FLUXES
  - pkg/exf CPP options EXF_READ_EVAP and
    EXF_NO_BULK_COMPUTATIONS
  - usage examples are Experiments 8 and 9 in
    verification/lab_sea/README
  - verification/lab_sea default experiment now uses
    pkg/gmredi, pkg/kpp, pkg/seaice, and pkg/exf


Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Thu Nov 21 19:11:42 2002 UTC (21 years, 5 months ago) by cheisey
Branch: MAIN
CVS Tags: branch-exfmods-tag, checkpoint47a_post, checkpoint47b_post, checkpoint47c_post, checkpoint47d_post, checkpoint47d_pre, checkpoint47e_post
Branch point for: branch-exfmods-curt
Changes since 1.29: +3 -3 lines
Diff to previous 1.29
Two packages:  bulk_force (Bulk forcing)
and therm_seaice (thermodynamic_seaice) - adopted from LANL CICE.v2.0.2
Earlier integration from Stephaine Dutkiewicz
and Patrick Heimbach.

Two ifdef statements for compile time,
ALLOW_THERM_SEAICE and ALLOW_BULK_FORCE

Two switches in data.pkg to turn on at run-time:

cat data.pkg
# Packages
 &PACKAGES
 useBulkForce=.TRUE.,
 useThermSeaIce=.TRUE.,
 &

WARNING:  useSEAICE and useThermSEAICE are mutually exclusive.

The bulk package requires an additional parameter file
with two namelists, data.ice and data.blk.

c ADAPTED FROM:
c LANL CICE.v2.0.2
c-----------------------------------------------------------------------
c.. thermodynamics (vertical physics) based on M. Winton 3-layer model
c.. See Bitz, C. M. and W. H. Lipscomb, 1999:  "An energy-conserving
c..       thermodynamic sea ice model for climate study."  J. Geophys.
c..       Res., 104, 15669 - 15677.
c..     Winton, M., 1999:  "A reformulated three-layer sea ice model."
c..       Submitted to J. Atmos. Ocean. Technol.

c.. authors Elizabeth C. Hunke and William Lipscomb
c..         Fluid Dynamics Group, Los Alamos National Laboratory
c-----------------------------------------------------------------------


Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Fri Nov 15 03:01:21 2002 UTC (21 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint47
Changes since 1.28: +2 -2 lines
Diff to previous 1.28
differentiable version of checkpoint46n_post
o external_fields_load now part of differentiation list
o pressure needs multiple storing;
  would be nice to have store_pressure at beginning or
  end of forward_step, e.g. by having phiHyd global (5-dim.)
  (NB: pressure is needed for certain cases in find_rho,
  which is also invoked through convective_adjustment).
o recomputations in find_rho for cases
 'JMD95'/'UNESCO' or 'MDJWF' are OK.
o #define ATMOSPHERIC_LOADING should be differentiable
o ini_forcing shifted to begining of initialise_varia


Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Tue Nov 12 20:42:24 2002 UTC (21 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint46n_post
Changes since 1.27: +15 -3 lines
Diff to previous 1.27
Merging from release1_p8 branch:
o GAD:
  - generated new common blocks to account for call of
    same gad routines with differing traceridentities
    (needed to modify tracerIdentity indices in GAD.h)
  - generated separate common blocks for case useCubedSphereExchange
    (Department of Futurology)
  - parameter lists to gmredi_?transport: added tracerIdentity
  - added new key indices to tamc.h


Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Thu May 30 02:29:19 2002 UTC (21 years, 11 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint45b_post, checkpoint45c_post, checkpoint45d_post, checkpoint46, checkpoint46a_post, checkpoint46a_pre, checkpoint46b_post, checkpoint46b_pre, checkpoint46c_post, checkpoint46c_pre, checkpoint46d_post, checkpoint46d_pre, checkpoint46e_post, checkpoint46e_pre, checkpoint46f_post, checkpoint46g_post, checkpoint46g_pre, checkpoint46h_post, checkpoint46h_pre, checkpoint46i_post, checkpoint46j_post, checkpoint46j_pre, checkpoint46k_post, checkpoint46l_post, checkpoint46l_pre, checkpoint46m_post
Changes since 1.26: +2 -1 lines
Diff to previous 1.26
Moved call to packages_init_varia before call convective_adjustment_ini.
Corresponding adjustment of tape init. for TAF.


Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Thu Feb 7 20:00:09 2002 UTC (22 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint44b_post, checkpoint44e_post, checkpoint44e_pre, checkpoint44f_post, checkpoint44f_pre, checkpoint44g_post, checkpoint44h_post, checkpoint44h_pre, checkpoint45, checkpoint45a_post, chkpt44c_post, chkpt44c_pre, chkpt44d_post, release1_final_v1
Branch point for: release1_final
Changes since 1.25: +7 -1 lines
Diff to previous 1.25
o merge of relevant stuff from the ecco-branch:
  - genmake: removed $S64 overwrite for case SunOS
  - pkg/exf: update and corrections for field swapping and obcs
  - pkg/ecco: parameter lists for the_model_main, the_main_loop
              harmonized between ECCO and MITgcm
  - pkg/autodiff: added flow directives for obcs, mdsio_gl_slice
                  updated checkpointing_lev... lists for obcs
  - model/src: minor changes in forward_step, plot_field
               added directive for divided adjoint in the_main_loop
  - pkg/mdsio: added mdsio_gl_slice


Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Thu Jan 17 16:58:53 2002 UTC (22 years, 4 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint44, checkpoint44b_pre, chkpt44a_post, chkpt44a_pre
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
* Updated adjoint/makefile
  o removed "_ecco" from names
  o added/modified forward mode options
  o added dependent vector option
  o tried SVD matrix computation (doesn't work;
    too much memory use by TAF)
* Updated flow directives related to FTL
* removed global_sum__g.F (not necessary)
* initialise forward mode anomalies in ctrl_unpack.F
  (so far "crude" initialization only).
* Added flag ALLOW_TANGENTLINEAR_RUN complememting
  ALLOW_ADJOINT_RUN
* driver routine the_model_main.F needs separate call
  to FTL routine G_THE_MAIN_LOOP with parameter list
  identical to THE_MAIN_LOOP (TAF doesn't remove arguments).
* added template file tangentlinear_model.F
  for forward mode.


Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Jan 11 19:00:43 2002 UTC (22 years, 4 months ago) by heimbach
Branch: MAIN
Changes since 1.23: +7 -59 lines
Diff to previous 1.23
Transfering major checkpoint store directive blocks to
separate header files.
Files are included in the_main_loop (lev3, lev2)
and forward_step (lev1).


Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Tue Nov 20 21:14:41 2001 UTC (22 years, 6 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint43a-release1mods, release1-branch-end, release1-branch_branchpoint, release1-branch_tutorials
Branch point for: release1-branch
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
#ifdef ALLOW_COST_TRACER replaced by ALLOW_PASSIVE_TRACER (required)


Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Thu Nov 8 20:57:51 2001 UTC (22 years, 6 months ago) by heimbach
Branch: MAIN
Changes since 1.21: +14 -3 lines
Diff to previous 1.21
Preparing adjoint of Held-Suarez:
- bugfix for storing in absence of CD code
- adding EXACT_CONSERV to AD list
- new routine ini_autodiff to add TAMC-specific initialisations
- adding Shapiro filter to AD list


Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Fri Sep 28 02:26:57 2001 UTC (22 years, 7 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint43, ecco-branch-mod1, release1_b1, release1_beta1
Branch point for: ecco-branch, release1, release1_coupled
Changes since 1.20: +4 -3 lines
Diff to previous 1.20
Switched sense of CPP macro for controlling multi-dimensional advection:
 o DISABLE_MULTIDIM_ADVECTION is set in GAD_OPTIONS.h
 o automatically set if differentiating code
   (comments around call to gad_advection point out how to re-enable it)
 o this avoids needing to add the former macro to CPP_OPTIONS.h
   - reason for this is there's no point in any of the new schemes without it.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Sep 27 20:12:10 2001 UTC (22 years, 7 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint42
Changes since 1.19: +11 -4 lines
Diff to previous 1.19
Fixed AD-related problems:
o Store directives up-to-date with re-arranged Adams-Bashforth
  (mainly thermodynamics.F)
o New store directives for multi-dim. advection schemes
  * new CPP flag ALLOW_MULTI_DIM_ADVECTION
  * new common block and key passkey
  (mainly gad_advection.F)
o Modified store directives for split of dynamics/thermodynamics
  for the case ALLOW_KPP
o Cleaned argument list for timestep_tracer.F


Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Thu Sep 27 18:15:58 2001 UTC (22 years, 7 months ago) by adcroft
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
Deleted single apostrophy (').


Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Wed Sep 26 18:09:16 2001 UTC (22 years, 7 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint41
Changes since 1.17: +42 -44 lines
Diff to previous 1.17
Bringing comments up to data and formatting for document extraction.


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Tue Aug 21 16:21:17 2001 UTC (22 years, 8 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40, checkpoint40pre8, checkpoint40pre9
Changes since 1.16: +9 -1 lines
Diff to previous 1.16
o New package pkg/rw/ needed new flow directives for TAMC.
o Replacement of calc_mom_rhs by mom_fluxform and mom_vecinv
  needed update of adjoint/makefile and additional store directives
  in the_main_loop.F to cover all cases.


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Tue Aug 14 00:20:49 2001 UTC (22 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre7
Changes since 1.15: +13 -12 lines
Diff to previous 1.15
Moved TR1.h headers between ifdef ALLOW_PASSIVE_TRACER.


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Mon Aug 13 18:20:36 2001 UTC (22 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre6
Changes since 1.14: +1 -3 lines
Diff to previous 1.14
Cleanup of store directives for TAF.


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Jul 30 20:39:18 2001 UTC (22 years, 9 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre4, checkpoint40pre5
Changes since 1.13: +4 -1 lines
Diff to previous 1.13
Added a few re-initialisations for TAF.


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Fri Jul 13 20:14:08 2001 UTC (22 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre3
Changes since 1.12: +14 -135 lines
Diff to previous 1.12
o Extracted core part of the_main_loop and re-created forward_step
  N.B.: Time-dependent part of cost function should remain in
        the_main_loop (or contributions must be stored)
o Added some parameter recomputations of nIter0


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Fri Jul 13 14:26:57 2001 UTC (22 years, 10 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint40pre2
Changes since 1.11: +34 -28 lines
Diff to previous 1.11
o Added grdchk package handling
o Added passive tracer handling


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Jun 25 20:38:15 2001 UTC (22 years, 10 months ago) by ljmc
Branch: MAIN
CVS Tags: checkpoint40pre1
Changes since 1.10: +3 -2 lines
Diff to previous 1.10
the default is now to call the filter after solve_for_pressure


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Thu Jun 7 16:33:55 2001 UTC (22 years, 11 months ago) by adcroft
Branch: MAIN
Changes since 1.9: +55 -50 lines
Diff to previous 1.9
Corrected all the timer labels (for the non-adjoint sections).


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Jun 4 13:25:35 2001 UTC (22 years, 11 months ago) by adcroft
Branch: MAIN
Changes since 1.8: +6 -1 lines
Diff to previous 1.8
Added Kinetic energy monitoring.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Wed May 30 19:33:18 2001 UTC (22 years, 11 months ago) by adcroft
Branch: MAIN
Changes since 1.7: +6 -1 lines
Diff to previous 1.7
Adding skeleton "monitor" routines. The default is to do it every
time-step. monitorFreq=0 disables.


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon May 14 21:46:18 2001 UTC (23 years ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint39
Changes since 1.6: +13 -8 lines
Diff to previous 1.6
Modifications/fixes to support TAMC differentiability
(mostly missing or wrong directives).


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Tue Apr 10 22:35:25 2001 UTC (23 years, 1 month ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint38
Changes since 1.5: +370 -82 lines
Diff to previous 1.5
See doc/tag-index and doc/notes_c37_adj.txt
Preparation for stand-alone autodifferentiability.


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Mar 6 17:10:29 2001 UTC (23 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: c37_adj, checkpoint37, pre38-close, pre38tag1
Branch point for: pre38
Changes since 1.4: +2 -3 lines
Diff to previous 1.4
remove "include CG2D.h"


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Wed Feb 14 22:50:10 2001 UTC (23 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint36
Changes since 1.3: +7 -10 lines
Diff to previous 1.3
move the IO at the end of a time step


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Thu Feb 8 18:13:37 2001 UTC (23 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint35
Changes since 1.2: +7 -11 lines
Diff to previous 1.2
set initial Time & Iteration counter in the_model_main
 and pass them as argument to the_main_loop


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Feb 4 14:38:48 2001 UTC (23 years, 3 months ago) by cnh
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1
Made sure each .F and .h file had
the CVS keywords Header and Name at its start.
Most had header but very few currently have Name, so
lots of changes!


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Wed Apr 5 19:04:14 2000 UTC (24 years, 1 month ago) by adcroft
Branch: MAIN
CVS Tags: branch-atmos-merge-freeze, branch-atmos-merge-phase1, branch-atmos-merge-phase2, branch-atmos-merge-phase3, branch-atmos-merge-phase4, branch-atmos-merge-phase5, branch-atmos-merge-phase6, branch-atmos-merge-phase7, branch-atmos-merge-shapiro, branch-atmos-merge-start, branch-atmos-merge-zonalfilt, checkpoint27, checkpoint28, checkpoint29, checkpoint30, checkpoint31, checkpoint32, checkpoint33, checkpoint34
Branch point for: branch-atmos-merge
Restructered the calling tree between THE_MODEL_MAIN()
and DYNAMICS(). Two calling levels have been inserted
to better split the "fixed" initialization phase from
the main time-loop for easier connectivity with the adjoint
infrastructure.

The calling tree now looks like:

   the_model_main:
      initialise_fixed()
      the_main_loop()

   the_main_loop:
      initialise_varia()
      do i=1,nIters
         forward_step()
      enddo
      forward_step()

   forward_step:
      load_external_fields()
      dynamics()
      do_the_model_io()
      solve_for_pressure()
      do_gterm_blocking_exchanges()
      write_checkpoint()


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.22