[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #RQG-223910]: MMAP and 64bit offset netcdf format

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #RQG-223910]: MMAP and 64bit offset netcdf format
  • Date: Sun, 10 Feb 2013 15:15:56 -0700

I have never tried, but I think it uses
off_t and size_t where needed.

If you want to try it, edit the source file
libsrc/mmapio.c
At about line 170, change
  if(sizeof(void*) < 8 && fIsSet(ioflags,NC_64BIT_OFFSET))
to
  if(sizeof(void*) < 8)

Rebuild and see if it works for you.
Let me know.
=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: RQG-223910
Department: Support netCDF
Priority: Normal
Status: Closed