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

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

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


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

Revision 1.21 - (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: branch-exfmods-tag, branch-netcdf, branchpoint-genmake2, checkpint57u_post, checkpoint41, checkpoint42, checkpoint43, checkpoint43a-release1mods, checkpoint44, checkpoint44b_post, checkpoint44b_pre, checkpoint44e_post, checkpoint44e_pre, checkpoint44f_post, checkpoint44f_pre, checkpoint44g_post, checkpoint44h_post, checkpoint44h_pre, checkpoint45, checkpoint45a_post, 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, checkpoint46n_post, checkpoint47, checkpoint47a_post, checkpoint47b_post, checkpoint47c_post, checkpoint47d_post, checkpoint47d_pre, checkpoint47e_post, checkpoint47f_post, checkpoint47g_post, checkpoint47h_post, checkpoint47i_post, checkpoint47j_post, checkpoint48, checkpoint48a_post, checkpoint48b_post, checkpoint48c_post, checkpoint48c_pre, checkpoint48d_post, checkpoint48d_pre, checkpoint48e_post, checkpoint48f_post, checkpoint48g_post, checkpoint48h_post, checkpoint48i_post, checkpoint49, checkpoint50, checkpoint50a_post, checkpoint50b_post, checkpoint50b_pre, checkpoint50c_post, checkpoint50c_pre, checkpoint50d_post, checkpoint50d_pre, checkpoint50e_post, checkpoint50e_pre, checkpoint50f_post, checkpoint50f_pre, checkpoint50g_post, checkpoint50h_post, checkpoint50i_post, checkpoint51, checkpoint51a_post, checkpoint51b_post, checkpoint51b_pre, checkpoint51c_post, checkpoint51d_post, checkpoint51e_post, checkpoint51f_post, checkpoint51f_pre, checkpoint51g_post, checkpoint51h_pre, checkpoint51i_post, checkpoint51i_pre, checkpoint51j_post, checkpoint51k_post, checkpoint51l_post, checkpoint51l_pre, checkpoint51m_post, checkpoint51n_post, checkpoint51n_pre, checkpoint51o_post, checkpoint51o_pre, checkpoint51p_post, checkpoint51q_post, checkpoint51r_post, checkpoint51s_post, checkpoint51t_post, checkpoint51u_post, checkpoint52, checkpoint52a_post, checkpoint52a_pre, checkpoint52b_post, checkpoint52b_pre, checkpoint52c_post, checkpoint52d_post, checkpoint52d_pre, checkpoint52e_post, checkpoint52e_pre, checkpoint52f_post, checkpoint52f_pre, checkpoint52h_pre, checkpoint52i_post, checkpoint52i_pre, checkpoint52j_post, checkpoint52j_pre, checkpoint52k_post, checkpoint52l_post, checkpoint52l_pre, checkpoint52m_post, checkpoint52n_post, checkpoint53, checkpoint53a_post, checkpoint53b_post, checkpoint53b_pre, checkpoint53c_post, checkpoint53d_post, checkpoint53d_pre, checkpoint53f_post, checkpoint53g_post, checkpoint54, checkpoint54a_post, checkpoint54a_pre, checkpoint54b_post, checkpoint54c_post, checkpoint54d_post, checkpoint54e_post, checkpoint54f_post, checkpoint55, checkpoint55a_post, checkpoint55b_post, checkpoint55c_post, checkpoint55d_post, checkpoint55d_pre, checkpoint55e_post, checkpoint55f_post, checkpoint55g_post, checkpoint55h_post, checkpoint55i_post, checkpoint55j_post, checkpoint56, checkpoint56a_post, checkpoint56b_post, checkpoint56c_post, checkpoint57, checkpoint57a_post, checkpoint57a_pre, checkpoint57b_post, checkpoint57c_post, checkpoint57c_pre, checkpoint57d_post, checkpoint57e_post, checkpoint57f_post, checkpoint57f_pre, checkpoint57g_post, checkpoint57g_pre, checkpoint57h_done, checkpoint57h_post, checkpoint57h_pre, checkpoint57i_post, checkpoint57j_post, checkpoint57k_post, checkpoint57l_post, checkpoint57m_post, checkpoint57n_post, checkpoint57o_post, checkpoint57p_post, checkpoint57q_post, checkpoint57r_post, checkpoint57s_post, checkpoint57t_post, checkpoint57v_post, checkpoint57w_post, checkpoint57x_post, checkpoint57y_post, checkpoint57y_pre, checkpoint57z_post, checkpoint58, checkpoint58a_post, checkpoint58b_post, checkpoint58c_post, checkpoint58d_post, checkpoint58e_post, checkpoint58f_post, checkpoint58g_post, checkpoint58h_post, checkpoint58i_post, checkpoint58j_post, checkpoint58k_post, checkpoint58l_post, checkpoint58m_post, checkpoint58n_post, checkpoint58o_post, checkpoint58p_post, checkpoint58q_post, checkpoint58r_post, checkpoint58s_post, checkpoint58t_post, checkpoint58u_post, checkpoint58v_post, checkpoint58w_post, checkpoint58x_post, checkpoint58y_post, checkpoint59, checkpoint59a, chkpt44a_post, chkpt44a_pre, chkpt44c_post, chkpt44c_pre, chkpt44d_post, ecco-branch-mod1, ecco-branch-mod2, ecco-branch-mod3, ecco-branch-mod4, ecco-branch-mod5, ecco_c44_e16, ecco_c44_e17, ecco_c44_e18, ecco_c44_e19, ecco_c44_e20, ecco_c44_e21, ecco_c44_e22, ecco_c44_e23, ecco_c44_e24, ecco_c44_e25, ecco_c44_e26, ecco_c44_e27, ecco_c50_e28, ecco_c50_e29, ecco_c50_e30, ecco_c50_e31, ecco_c50_e32, ecco_c50_e33, ecco_c50_e33a, ecco_c51_e34, ecco_c51_e34a, ecco_c51_e34b, ecco_c51_e34c, ecco_c51_e34d, ecco_c51_e34e, ecco_c51_e34f, ecco_c51_e34g, ecco_c52_e35, ecco_ice1, ecco_ice2, eckpoint57e_pre, hrcube4, hrcube5, hrcube_1, hrcube_2, hrcube_3, icebear2, icebear3, icebear4, icebear5, mitgcm_mapl_00, release1-branch-end, release1-branch_branchpoint, release1-branch_tutorials, release1_b1, release1_beta1, release1_chkpt44d_post, release1_final_v1, release1_p1, release1_p10, release1_p11, release1_p12, release1_p12_pre, release1_p13, release1_p13_pre, release1_p14, release1_p15, release1_p16, release1_p17, release1_p2, release1_p3, release1_p4, release1_p5, release1_p6, release1_p7, release1_p8, release1_p9
Branch point for: branch-exfmods-curt, branch-genmake2, branch-nonh, c24_e25_ice, checkpoint51n_branch, ecco-branch, icebear, netcdf-sm0, release1, release1-branch, release1_50yr, release1_coupled, release1_final, tg2-branch
Changes since 1.20: +166 -102 lines
Diff to previous 1.20
Bringing comments up to data and formatting for document extraction.


Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Feb 4 16:46:44 2001 UTC (23 years, 3 months ago) by cnh
Branch: MAIN
CVS Tags: c37_adj, checkpoint35, checkpoint36, checkpoint37, checkpoint38, checkpoint39, checkpoint40, checkpoint40pre1, checkpoint40pre2, checkpoint40pre3, checkpoint40pre4, checkpoint40pre5, checkpoint40pre6, checkpoint40pre7, checkpoint40pre8, checkpoint40pre9, pre38-close, pre38tag1
Branch point for: pre38
Changes since 1.19: +149 -4 lines
Diff to previous 1.19
o Added printing of key grid variables in config_summary.F
  and removed write(0,*) output of these variables in ini_spherical_polar_grid.F
o Added two new routines to do consistently formatted output of
  lines of constant X or Y for an XY variable. New routines are in
  read_write.F


Revision 1.19 - (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.18: +2 -1 lines
Diff to previous 1.18
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.18 - (view) (download) (annotate) - [select for diffs]
Fri Jun 9 02:45:04 2000 UTC (23 years, 11 months ago) by heimbach
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, checkpoint28, checkpoint29, checkpoint30, checkpoint31, checkpoint32, checkpoint33, checkpoint34
Branch point for: branch-atmos-merge
Changes since 1.17: +152 -10 lines
Diff to previous 1.17
Modifications to include TAMC directives, tape key computations
and initialisations to make code TAMC compatible.
Routines the_model_main.F and initialise_fixed.F
are left unchanged for the moment. (P.H.)


Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed May 5 18:32:35 1999 UTC (25 years ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint21, checkpoint22, checkpoint23, checkpoint24, checkpoint25, checkpoint26, checkpoint27
Changes since 1.16: +2 -1527 lines
Diff to previous 1.16
Implemented new I/O package (mdsio.F). This package does parallel
I/O in much the same way as dfile.F used to except it uses "direct
access" rather than (f77) unformatted sequential access.

Problems with dfile.F package included:
  o unnecessary memory use (each process had two global sized buffers)
  o inability to read the files it had written without post-processing
  o "tiled" files were tiled by process/thread rather than actual tiles
  o created huge numbers of files with no alternatives

Features of the mdsio.F package:
  o direct-access binary writes
  o no excessive memory use
  o ability to read/write from multiple record files
  o "tiled" files are based on "WRAPPER" tiles so that the number
    and content of files is independent of the number of threads
    and/or processes
  o option to create single "global" files rather than "tiled" files
  o ability to read both "global" and "tiled" files
    [Caveat: the tiling of files must match the model tiles]
  o checkpoints now use a single file per model section
    ie.  one file for the hydrostatic model core, one file
    for the non-hydrostatic extensions and one file for the C-D
    extensions
  o the mid-level I/O routines now is broken into more source files
    read_write_fld.F supplies basic I/O routines with the same interface
                     as the original I/O package
    read_write_rec.F supplies I/O routines which allow multiple records
    write_state.F    writes the model state
    checkpoint.F     supplies the read/write checkpoint routines

All the example input data has had to be modified to be direct-access.
Otherwise only routines that used I/O have been affected and not
all of those have been due to the continuity of arguments in
the read_write_fld.F routines.

What needs to be done?  We have to create a suite of conversion
utilities for users with old-style data. Also supply the option
for using old-style I/O, not just for die-hards but for reading
data too extensive to be converted. And more...


Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Mar 22 15:54:04 1999 UTC (25 years, 2 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint20
Changes since 1.15: +49 -7 lines
Diff to previous 1.15
Modifications for non-hydrostatic ability + updates for open-boundaries.


Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Tue Dec 15 00:20:35 1998 UTC (25 years, 5 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint19
Changes since 1.14: +17 -9 lines
Diff to previous 1.14
 o Added "natural BCs" as alternative to "virtual salt flux"
 o Re-difined precFloat32 and precFloat64 to be 32 and 64
   so that their values can be meaningfuly set in the data file
 o Modified read_write.F to create an exception if readBinaryPrec
   is not set
 o Replaced CPP control of viscous BCs with run-time control
 o Tidied up input-data precision (ie. ini_depths cnh_dbg...)
 o ini_forcing.F now initialises *all* forcing arrays to zero
 o Definitively tested verification experiments 0,1,2 and 4
   (3 is atmospheric set-up which is in a state of flux)


Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Wed Dec 9 16:11:53 1998 UTC (25 years, 5 months ago) by adcroft
Branch: MAIN
Changes since 1.13: +13 -1 lines
Diff to previous 1.13
Added IMPLICIT NONE in a lot of subroutines.
Also corrected the recip_Rhonil bug: we didn't set it in ini_parms.F


Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Fri Nov 6 22:44:48 1998 UTC (25 years, 6 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint18
Changes since 1.12: +4 -4 lines
Diff to previous 1.12
Changes to allow for atmospheric integration builds of the code


Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Oct 28 03:11:38 1998 UTC (25 years, 6 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint16, checkpoint17
Changes since 1.11: +103 -52 lines
Diff to previous 1.11
Changes to support
 - g77 compilation under Linux
 - LR(1) form of 64-bit is D or E for constants
 - Modified adjoint of exch with adjoint variables
   acuumulated.


Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Aug 22 17:51:09 1998 UTC (25 years, 9 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint14, checkpoint15
Changes since 1.10: +19 -19 lines
Diff to previous 1.10
Isomorphism consistency changes


Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Jun 30 17:21:11 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
CVS Tags: branch-point-rdot, checkpoint10, checkpoint11, checkpoint12, checkpoint13
Branch point for: branch-rdot
Changes since 1.9: +16 -2 lines
Diff to previous 1.9
Changes to make checkpointing work again!


Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Jun 29 14:04:32 1998 UTC (25 years, 10 months ago) by cnh
Branch: MAIN
Changes since 1.8: +6 -2 lines
Diff to previous 1.8
Corrections to stop meta file open when reading files.
Input files do not have to have meta files as they cover
the global domain.


Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Jun 22 16:24:51 1998 UTC (25 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint9
Changes since 1.7: +28 -24 lines
Diff to previous 1.7
o General tidy-up.
o MPI fix. Filename changes (meta/data). salbin*y stuff.
o SST.bin SSS.bin added to verification/exp2


Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Jun 22 15:26:26 1998 UTC (25 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint8
Changes since 1.6: +11 -5 lines
Diff to previous 1.6
Various changes including time-dependant forcing:
 o logic for controlling external forcing fields now allows
   for time-dependant forcing: load_external_fields.F
 o genmake.dec needed a special line for the above file.
 o theta* and salt* time-stepping algorithm were re-implemented.
The 4x4 global configuration has been "double-checked" against
CNH's version. However, we do not assume any responsibility for
the correctness of this code ...  8-)


Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Wed Jun 10 17:05:59 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint7
Branch point for: checkpoint7-4degree-ref
Changes since 1.5: +70 -26 lines
Diff to previous 1.5
Minor changes to correct bugs with multi-process mode
of operation


Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Wed Jun 10 01:44:03 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
Changes since 1.4: +9 -4 lines
Diff to previous 1.4
Fixed problems with _RS -> REAL*4 and with reading in
intial hydrography


Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Tue Jun 9 16:48:03 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
Changes since 1.3: +324 -8 lines
Diff to previous 1.3
Changes to support topography, hydrography and
forcing from files


Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Tue Jun 9 15:58:36 1998 UTC (25 years, 11 months ago) by adcroft
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2
Various corrections:
 o do_gterm_blocking..() is fixed to work with new time-stepping
 o CPP_OPTIONS.h now contains #define ALLOW_CD


Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Mon Jun 8 21:43:01 1998 UTC (25 years, 11 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint6
Changes since 1.1: +20 -1 lines
Diff to previous 1.1
Merge of GM Redi and spherical polar and inplicit diffusion
and CD. Everything for a global run is now included, however,
still some discrepancies with GM Redi.


Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Thu May 21 18:25:49 1998 UTC (26 years ago) by cnh
Branch: MAIN
CVS Tags: checkpoint2, checkpoint3, checkpoint4, checkpoint5
Added support for binary IO of model fields for restart and/or
postprocessing


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