C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/pkg/mdsio/MDSIO_OPTIONS.h,v 1.6 2004/06/30 15:27:57 dimitri Exp $ C $Name: checkpoint57c_post $ #ifndef MDSIO_OPTIONS_H #define MDSIO_OPTIONS_H #include "PACKAGES_CONFIG.h" #ifdef ALLOW_MDSIO #include "CPP_OPTIONS.h" C Defining SAFE_IO stops the model from overwriting its own files #undef SAFE_IO #ifdef SAFE_IO #define _NEW_STATUS 'new' #else #define _NEW_STATUS 'unknown' #endif #ifdef ALLOW_AUTODIFF_TAMC #define ALLOW_BROKEN_MDSIO_GL #define _OLD_STATUS 'unknown' #else #undef ALLOW_BROKEN_MDSIO_GL #define _OLD_STATUS 'old' #endif C o By default pkg/mdsio assumes that missing tiles are C present in the input and in the output files. When C MISSING_TILE_IO is defined, the input and output C files do not include the missing tiles. Therefore C the 2-D dimension of input and output files is: C #if defined(ALLOW_EXCH2) && !defined(MISSING_TILE_IO) C x_size = exch2_domain_nxt * sNx = exch2_domain_nxt*exch2_tnx C y_size = exch2_domain_nyt * sNy = exch2_domain_nyt*exch2_tny C #else C x_size = Nx = sNx * nSx * nPx C y_size = Ny = sNy * nSy * nPy C #endif- C Notes: C 1) Pickup files are not compatible between the two formats. C 2) Defining MISSING_TILE_IO with no missing tiles is C equivalent to the old, tile-dependent I/O format. #undef MISSING_TILE_IO #endif /* ALLOW_MDSIO */ #endif /* MDSIO_OPTIONS_H */