source: XIOS3/trunk/src/io/netcdf_version.hpp @ 2507

Last change on this file since 2507 was 685, checked in by rlacroix, 9 years ago

Merge "output" and "input" folders into one "io" folder.

Some files were used for both output and input so the separation was not valid anymore.

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 577 bytes
Line 
1#ifndef __XIOS_NETCDF_VERSION_HPP__
2#define __XIOS_NETCDF_VERSION_HPP__
3
4#if defined(NC_DISKLESS) && defined (NC_MMAP)
5
6#  define NETCDF_VERSION 4211
7
8#elif defined(NC_ETRANSLATION)
9
10# define NETCDF_VERSION 4130
11
12#elif defined(NC_EURL) && defined(NC_ECONSTRAINT)
13
14#  define NETCDF_VERSION 4120
15
16#elif defined (NC_PNETCDF)
17
18#  define NETCDF_VERSION 4110
19
20#elif defined(NC_CHUNKED) && defined(NC_CONTIGUOUS)
21
22# define NETCDF_VERSION 4010
23
24#elif defined(NC_NETCDF4)
25
26# define NETCDF_VERSION 4000
27
28#else
29
30#  error "netcdf version prior 4.0 incompatible with XIOS"
31 
32#endif
33
34#endif
Note: See TracBrowser for help on using the repository browser.