Ticket #30267: patch-include-netcdf.h.diff

File patch-include-netcdf.h.diff, 906 bytes (added by johntfosterjr@…, 13 years ago)

patch for netcdf.h to allow for exodusii largefile dataset

  • include/netcdf.h

    old new  
    198198 * applications and utilities.  However, nothing is statically allocated to
    199199 * these sizes internally.
    200200 */
    201 #define NC_MAX_DIMS     1024    /* max dimensions per file */
     201#define NC_MAX_DIMS     65536    /* max dimensions per file */
    202202#define NC_MAX_ATTRS    8192     /* max global or per variable attributes */
    203 #define NC_MAX_VARS     8192    /* max variables per file */
     203#define NC_MAX_VARS     524288    /* max variables per file */
    204204#define NC_MAX_NAME     256      /* max length of a name */
    205205/* As a rule, NC_MAX_VAR_DIMS <= NC_MAX_DIMS*/
    206 #define NC_MAX_VAR_DIMS 1024 /* max per variable dimensions */
     206#define NC_MAX_VAR_DIMS 8    /* max per variable dimensions */
    207207
    208208/* This is the max size of an SD dataset name in HDF4. */
    209209#define NC_MAX_HDF4_NAME 64 /* From HDF4 documentation. */