/[MITgcm]/MITgcm/pkg/mdsio/MDSIO_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/pkg/mdsio/MDSIO_OPTIONS.h

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


Revision 1.9 - (show annotations) (download)
Fri Jan 21 22:02:33 2011 UTC (13 years, 3 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62s, checkpoint62r, checkpoint62w, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint63g, checkpoint63, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63a, checkpoint63b, checkpoint63c
Changes since 1.8: +2 -1 lines
File MIME type: text/plain
- 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/mdsio/MDSIO_OPTIONS.h,v 1.8 2010/09/24 18:39:35 gforget Exp $
2 C $Name: $
3
4 #ifndef MDSIO_OPTIONS_H
5 #define MDSIO_OPTIONS_H
6 #include "PACKAGES_CONFIG.h"
7 #ifdef ALLOW_MDSIO
8
9 #include "CPP_OPTIONS.h"
10
11 C Defining SAFE_IO stops the model from overwriting its own files
12 #undef SAFE_IO
13
14 #ifdef SAFE_IO
15 #define _NEW_STATUS 'new'
16 #else
17 #define _NEW_STATUS 'unknown'
18 #endif
19
20 #ifdef ALLOW_AUTODIFF_TAMC
21 #define ALLOW_BROKEN_MDSIO_GL
22 #define _OLD_STATUS 'unknown'
23 #else
24 #undef ALLOW_BROKEN_MDSIO_GL
25 #define _OLD_STATUS 'old'
26 #endif
27
28 C I/O that includes tile halos in the files
29 #undef ALLOW_WHIO
30 #ifdef ALLOW_AUTODIFF_TAMC
31 # define ALLOW_WHIO
32 # define ALLOW_WHIO_3D
33 #endif
34
35 #endif /* ALLOW_MDSIO */
36 #endif /* MDSIO_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22