/[MITgcm]/MITgcm/pkg/autodiff/adautodiff_whtapeio_sync.F
ViewVC logotype

Contents of /MITgcm/pkg/autodiff/adautodiff_whtapeio_sync.F

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


Revision 1.2 - (show annotations) (download)
Fri Jan 21 22:02:50 2011 UTC (13 years, 3 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62s, checkpoint62r, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, HEAD
Changes since 1.1: +11 -1 lines
- pkg/mdsio: introducing ALLOW_WHIO_3D (sub-option of ALLOW_WHIO)
  to bufferize the I/O (stack 2D fields up then write 3D field).
- this option is mostly meant to be used when NOT singlecpuio;
  to actually use it with singlecpuio (beware of memory overhead)
  you also need to define INCLUDE_WHIO_GLOBUFF_3D.
- locBufferIO is added to the list of mds_*_whalos.F params, and
  should be set to .TRUE. to exploit the ALLOW_WHIO_3D capability.

- pkg/autodiff: use this approach as the WHTAPEIO default.

1 C $Header: /u/gcmpack/MITgcm/pkg/autodiff/adautodiff_whtapeio_sync.F,v 1.1 2011/01/21 01:19:03 gforget Exp $
2 C $Name: $
3
4 #include "AUTODIFF_OPTIONS.h"
5 #include "MDSIO_OPTIONS.h"
6
7 subroutine adautodiff_whtapeio_sync( myLev, myStep, myThid )
8 IMPLICIT NONE
9 C /==========================================================\
10 C | SUBROUTINE adautodiff_whtapeio_sync |
11 C |==========================================================|
12 C == Global variables ===
13
14 #include "SIZE.h"
15 #include "EEPARAMS.h"
16 #include "PARAMS.h"
17 #include "AUTODIFF.h"
18 #ifdef ALLOW_WHIO_3D
19 # include "MDSIO_BUFF_WH.h"
20 #endif
21
22 C == Routine arguments ==
23 C myThid - Thread number for this instance of the routine.
24 integer myThid
25 integer myLev
26 integer myStep
27
28 #ifdef ALLOW_AUTODIFF_WHTAPEIO
29 tapeFileUnit=0
30 tapeFileCounter=0
31 tapeBufferIO=.FALSE.
32 # ifdef ALLOW_WHIO_3D
33 writeWh=.FALSE.
34 iWh=0
35 jWh=0
36 # endif
37 #endif
38
39 end

  ViewVC Help
Powered by ViewVC 1.1.22